cookbook-notebooks
Cookbook Notebooks (deep-dive on exam-relevant recipes)
URL: https://github.com/anthropics/anthropic-cookbook Publisher: Anthropic Cookbook Retrieved: 2026-07-08
Summary
A deeper Stage-1 pass over the specific, exam-relevant notebooks in the Anthropic Cookbook (beyond the README catalogue). Covers the tool-use request/response loop (tool_use/customer_service_agent.ipynb, tool_use/calculator_tool.ipynb), sub-agent orchestration with Opus + Haiku (multimodal/using_sub_agents.ipynb), structured output / "JSON mode" via prefill and XML tags (misc/how_to_enable_json_mode.ipynb), prompt caching with cache_control: {"type": "ephemeral"} (misc/prompt_caching.ipynb), the Message Batches API (misc/batch_processing.ipynb — confirmed to exist), and automated evaluations with code / model / human grading (misc/building_evals.ipynb). Captures exact SDK method paths, JSON keys, and model ids used in each recipe.