Agent SDK
Lessons in this group, roughly in build order:
- claude-agent-sdk-overview — The Agent SDK exposes the exact agent loop, built-in tools, and context management that power the Claude…
- typescript-sdk — The @anthropic-ai/claude-agent-sdk package exposes a single async-generator query() function plus helpers…
- python-sdk — The claude-agent-sdk package gives Python an async query() for one-shot runs and a ClaudeSDKClient context…
- programmatic-sessions-streaming — The SDK streams typed messages as the agent works and lets you keep, resume, or fork the underlying…
- custom-tools-mcp-in-the-sdk — The SDK lets you define tools as plain in-process functions and bundle them into an in-memory MCP server,…
- building-headless-agents — A headless agent runs the SDK with no human in the loop, so permissions, turn limits, and budgets must be…