Claude Cookbook

saikatsg1 pts0 comments

Claude Cookbook

Programmatic tool calling (PTC)<br>Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.

Tool search with embeddings<br>Scale Claude applications to thousands of tools using semantic embeddings for dynamic tool discovery.

Automatic context compaction<br>Manage context limits in long-running agentic workflows by automatically compressing conversation history.

Giving Claude a crop tool for better image analysis<br>Give Claude a crop tool to zoom into image regions for detailed analysis of charts, documents, and diagrams.

Prompting for frontend aesthetics<br>Guide to prompting Claude for distinctive, polished frontend designs avoiding generic aesthetics.

Introduction to Claude Skills<br>Create documents, analyze data, automate workflows with Claude's Excel, PowerPoint, PDF skills.

All Cookbooks

All Categories

TitleCategoriesAuthor(s)DateReproduce Claude's agentic search benchmark scores in the Messages APIJun 2026•EvalsTools

Build a Messages API harness that reproduces published DeepSearchQA and BrowseComp scores, using programmatic tool calling, server-side compaction, and task budgets.<br>EvalsTools<br>Mengting Li

Jun 2026Classifier fallback and billing for Claude Fable 5Jun 2026•ResponsesSafeguardsBilling

Detect safety classifier blocks on Fable 5 and fall back to Opus 4.8 with server-side or SDK-based client-side fallback, including streaming behavior and the new billing changes.<br>ResponsesSafeguardsBilling<br>Alexander Bricken<br>Mahesh Murag<br>Mikaela Grace

Jun 2026Async multi-agent orchestrationJun 2026•Agent Patterns

Two async multi-agent patterns — a fixed N-agent team with peer messaging through a shared hub, and dynamically spawned async subagents — reduced to their bare messaging and lifecycle mechanics.<br>Agent Patterns<br>Paul Chen

Jun 2026Hosting your agentMay 2026•Claude Agent SDK

Deploy the research agent from notebook 00 through three tiers of operational maturity (Docker, Modal, Kubernetes) with the same container image and HTTP interface at every tier.<br>Claude Agent SDK<br>Kevin Tang<br>Anav Sharma

May 2026Multiagent: coordinate a specialist teamMay 2026•Claude Managed AgentsTools

Heterogeneous team via the multiagent coordinator config — a coordinator runs three specialists (web-search researcher, file-reading librarian, rules-based pricer) with scoped toolsets to assemble a sales proposal. Covers the multiagent field, the thread_created / thread_message_received event types, and per-role tool scoping.<br>Claude Managed AgentsTools<br>Mark Nowicki

May 2026Outcomes: agents that verify their own workMay 2026•Claude Managed AgentsEvals

Build a grade-and-revise loop with Outcomes: a writer drafts a cited research brief, a stateless grader fetches every URL and checks every quote against a rubric, and feedback drives revisions until the brief passes. Covers user.define_outcome, the span.outcome_evaluation_* events, and how to write a rubric the grader can act on.<br>Claude Managed AgentsEvals<br>Mark Nowicki<br>Gagan Bhat

May 2026Build agents that remember your usersApr 2026•Claude Managed AgentsTools

Give your Claude Managed Agents a Memory store so they learn and remember your users' preferences across multiple interactions.<br>Claude Managed AgentsTools<br>Gagan Bhat

Apr 2026The vulnerability detection agentApr 2026•Claude Agent SDKCybersecurity

Build a vulnerability-discovery agent with the Claude Agent SDK that threat-models a C target, hunts memory-safety bugs with built-in file tools, and triages findings into a structured report.<br>Claude Agent SDKCybersecurity<br>Eugene Yan

Apr 2026Build an SRE incident response agent with Claude Managed AgentsApr 2026•Claude Managed AgentsObservability

Wire Claude into your on-call flow: when an alert fires, the agent reads logs and runbooks, pinpoints the root cause, opens a fix PR, and waits for your approval before merging.<br>Claude Managed AgentsObservability<br>Gagan Bhat

Apr 2026Build a data analyst agent with Claude Managed AgentsApr 2026•Claude Managed AgentsTools

Build an analyst that turns a CSV into a narrative HTML report with interactive charts, using a sandboxed environment and file mounting.<br>Claude Managed AgentsTools<br>Charmaine Lee<br>Jess Yan

Apr 2026Build a Slack data analyst bot with Claude Managed AgentsApr 2026•Claude Managed AgentsIntegrations

Mention the bot with a CSV to get an analysis report in-thread, with multi-turn follow-ups on the same session.<br>Claude Managed AgentsIntegrations<br>Charmaine Lee

Apr 2026Managed Agents tutorial: iterate on a failing test suiteApr 2026•Claude Managed AgentsTools

Entry-point tutorial for the Claude Managed Agents API. Walks through agent / environment / session creation, file mounts, and the streaming event loop by getting an agent to fix three planted bugs in a calc.py package.<br>Claude Managed AgentsTools<br>Paul Yang

Apr 2026Managed Agents tutorial: production setupApr 2026•Claude Managed AgentsIntegrations

End-to-end production story for...

claude managed agent agentstools tool agents

Related Articles