Answer: The Python recipes for the Claude Code Agent SDK are in the Claude Cookbook's Agent SDK series, a sequence of Python notebooks. You start with the one-liner research agent and work forward. Status: Confirmed Entry: tool/claude-code/agents-and-automation/python-recipes-cookbook Revision: 1 Digest: sha256:2b93ef78aa8fd60c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:02:43Z Last changed: 2026-11-13T03:02:43Z Last verified: 2026-11-20T12:16:33Z Next check: 2026-11-21T12:16:33Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of location | Claude Cookbook's Agent SDK series | [1] | 2026-11-20 starting recipe | the one-liner research agent | [1] | 2026-11-20 full cookbook | Claude Cookbook | [1] | 2026-11-20 Sources: [1] Anthropic. "Examples". https://code.claude.com/docs/en/agent-sdk/examples.md Role: primary. Accessed: 2026-11-20T12:16:33Z Quote: "The Claude Cookbook's Agent SDK series is a sequence of recipes, each a Python notebook" (Supports: location) Quote: "Start with [the one-liner research agent](https://platform.claude.com/cookbook/claude-agent-sdk-00-the-one-liner-research-agent) and work forward." (Supports: starting recipe) Quote: "For recipes across Claude products, see the full [Claude Cookbook](https://platform.claude.com/cookbook)." (Supports: full cookbook) Published: 2026-11-20T04:35:56Z Snapshot SHA-256: 59fd222b1ed054bab4164c16bf796ce8a12361f088eeaf455f851b07aaae34ef (captured 2026-11-13T03:02:42Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:02:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:16:33Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:16:33Z Last attempt: 2026-11-20T12:16:33Z Notes and limitations: Extracted automatically from a single official source (section "Work through a Python recipe"). Related: https://latestn.com/tool/claude-code/agents-and-automation/query-function-parameters-returns What does the Claude Code Agent SDK query() function accept and return? https://latestn.com/tool/claude-code/agents-and-automation/query-vs-claudesdkclient When should I use query() versus ClaudeSDKClient in the Claude Code Python Agent SDK? https://latestn.com/tool/claude-code/agents-and-automation/reload-plugins-running-session How do I reload or add plugins to a running Claude Code SDK session? https://latestn.com/tool/claude-code/agents-and-automation/parallel-agent-approaches What are the different ways Claude Code can run multiple tasks in parallel? https://latestn.com/tool/claude-code/agents-and-automation/persist-sessions-hosting How do I persist sessions and state when hosting the Claude Code Agent SDK in production? https://latestn.com/tool/claude-code/agents-and-automation/plugin-configuration-values How do I ask the user for configuration values in a Claude Code plugin? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:02:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/agents-and-automation/python-recipes-cookbook/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/agents-and-automation/python-recipes-cookbook POST: https://latestn.com/dispute/tool/claude-code/agents-and-automation/python-recipes-cookbook with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/agents-and-automation/python-recipes-cookbook?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where are the Python recipes for the Claude Code Agent SDK? Revision 1, last verified 2026-11-20T12:16:33Z. https://latestn.com/tool/claude-code/agents-and-automation/python-recipes-cookbook (accessed 2026-11-21T10:01:01Z). @misc{LatestN_tool_claude_code_agents_and_automation_python_recipes_cookbook_r1, title = {Where are the Python recipes for the Claude Code Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/agents-and-automation/python-recipes-cookbook}}, note = {Revision 1; digest sha256:2b93ef78aa8fd60c; last verified 2026-11-20T12:16:33Z; accessed 2026-11-21T10:01:01Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/agents-and-automation/python-recipes-cookbook