Document Anthropic advisor rosters and pinned inference regions - #71464
Merged
Conversation
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 11, 2026 19:58
efab84d to
47be353
Compare
kaxil
marked this pull request as ready for review
August 11, 2026 19:59
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 11, 2026 21:03
47be353 to
75fe6c2
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 11, 2026 21:33
75fe6c2 to
0bf7ca0
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
2 times, most recently
from
August 12, 2026 06:38
4e9cf5d to
7952eb3
Compare
Lee-W
reviewed
Aug 12, 2026
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 12, 2026 08:38
7952eb3 to
d53221d
Compare
Lee-W
approved these changes
Aug 12, 2026
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 12, 2026 11:07
d53221d to
687ae11
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 12, 2026 13:10
687ae11 to
65ed722
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 12, 2026 13:46
65ed722 to
5adb81a
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 08:41
5adb81a to
79c460d
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 09:45
79c460d to
989268f
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 12:05
989268f to
087b040
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 12:05
087b040 to
c558b5f
Compare
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 12:20
c558b5f to
08156f5
Compare
Anthropic SDK 0.121.0 adds two agent-level settings: an ``advisor`` entry for a coordinator's multiagent roster, and ``inference_geo`` on the model config for pinning which region serves inference. Both reach the API through ``AnthropicHook.create_agent``'s existing keyword passthrough, so they need no provider code -- only documentation, since nothing in the guide says they are available. Both payload shapes are verified against the live API rather than read off the SDK types. That mattered: the first attempt omitted ``multiagent.type: "coordinator"`` and was rejected with ``multiagent.type: Field required``, so documenting from the type definitions alone would have shipped a payload that 400s. Also records the roster constraints the API enforces (1-20 distinct entries, at most one advisor, referenced agents may not themselves set ``multiagent``) and that ``model`` is whole-object replacement on update, so omitting ``inference_geo`` clears it instead of preserving it. The measured budget-overshoot range in the session-budget warning widens to $0.32-$0.61 across four runs, now that the deferrable end-to-end run has added a fourth data point.
kaxil
force-pushed
the
anthropic-agent-config-docs
branch
from
August 13, 2026 13:45
08156f5 to
51a2fda
Compare
dabla
pushed a commit
to dabla/airflow
that referenced
this pull request
Aug 14, 2026
…he#71464) Anthropic SDK 0.121.0 adds two agent-level settings: an ``advisor`` entry for a coordinator's multiagent roster, and ``inference_geo`` on the model config for pinning which region serves inference. Both reach the API through ``AnthropicHook.create_agent``'s existing keyword passthrough, so they need no provider code -- only documentation, since nothing in the guide says they are available. Both payload shapes are verified against the live API rather than read off the SDK types. That mattered: the first attempt omitted ``multiagent.type: "coordinator"`` and was rejected with ``multiagent.type: Field required``, so documenting from the type definitions alone would have shipped a payload that 400s. Also records the roster constraints the API enforces (1-20 distinct entries, at most one advisor, referenced agents may not themselves set ``multiagent``) and that ``model`` is whole-object replacement on update, so omitting ``inference_geo`` clears it instead of preserving it. The measured budget-overshoot range in the session-budget warning widens to $0.32-$0.61 across four runs, now that the deferrable end-to-end run has added a fourth data point.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Anthropic SDK 0.121.0 adds two agent-level settings: an
advisorentry for a coordinator'smultiagent roster, and
inference_geoon the model config for pinning which region servesinference. Both reach the API through
AnthropicHook.create_agent's existing keywordpassthrough, so they need no provider support -- only documentation, since nothing in the
guide says they are available.
Pinning the inference region, which is what a data-residency requirement usually comes down
to:
Adding an advisor the coordinator may consult mid-turn:
Why the shapes are verified rather than read off the types
Both payloads were exercised against the live API. That mattered: the first attempt omitted
multiagent.type: "coordinator"and was rejected withmultiagent.type: Field required, sodocumenting from the SDK type definitions alone would have shipped a payload that 400s.
The guide also records the constraints the API enforces (1 to 20 distinct roster entries, at
most one advisor, referenced agents may not themselves set
multiagent) and thatmodeliswhole-object replacement on update, so omitting
inference_geoclears it rather thanpreserving it.
One code change
create_agent'smodelannotation widens fromstr | Noneto accept a mapping. It alreadyworked at runtime, but a user type-checking their Dag would have got an error on the exact
snippet the guide tells them to write.