
AI AGENTS
by Anthropic
SDK for building production agents with Claude Code capabilities for codebases, tools, files, and terminal workflows.
Claude Agent SDK is Anthropic’s SDK for building production agents using Claude Code’s agent capabilities. It supports workflows involving codebases, tools, files, and terminals. Official Python documentation covers installation of the claude-agent-sdk package, query(), ClaudeSDKClient, custom tools, sessions, hooks, permissions, and MCP support. Anthropic’s Agent SDK cookbook also includes recipes for MCP integration, subagent orchestration, deployment, session handling, and production workflows.
Build an agent that needs to work with a codebase files tools or terminal workflows. Use Claude Code agent capabilities programmatically in a production-oriented application. Add MCP integrations custom tools hooks session handling or subagent orchestration to an agent workflow.
Last updated Sep 7, 2026