Agent SDK reference - Python changedagent-sdk/python
Nearest release: v2.1.293, published 5 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 7 Oct 2026 22:28 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 7 Oct 2026 22:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−0removed
From line
2,520
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits49to this page, all time
The whole hunk
from line 2520, old and new numbered
/
from line 2520
25202520 "prompt": str, # The task for the agent to perform
25212521 "subagent_type": str | None, # The type of specialized agent to use
25222522 "model": "sonnet" | "opus" | "haiku" | "fable" | None, # Model override for this agent
2523 "effort": "low" | "medium" | "high" | "xhigh" | "max" | None, # Reasoning effort for this agent
25232524 "run_in_background": bool | None, # Agents run in the background by default; set to False to run synchronously
25242525 "name": str | None, # Name for the spawned agent
25252526 "team_name": str | None, # Deprecated; ignored
No line in this hunk matches that.