Anthropic Agent SDK - Claude Agent SDK
Basic Information
- Company/Brand: Anthropic
- Country/Region: USA (San Francisco)
- Official Website: https://platform.claude.com/docs/en/agent-sdk/overview
- GitHub: https://github.com/anthropics/claude-agent-sdk-python
- Type: AI Agent Development SDK
- Predecessor: Claude Code SDK (later renamed to Claude Agent SDK)
Product Description
The Claude Agent SDK (formerly Claude Code SDK) is an official development toolkit provided by Anthropic, enabling developers to programmatically build AI agents with Claude Code capabilities. These agents can autonomously understand codebases, edit files, run commands, and execute complex workflows. The SDK supports both Python and TypeScript and introduces advanced features such as Agent Skills, subagents, and session forking.
Core Features/Characteristics
- Programmatic Agent Construction: Create autonomous AI agents through code
- Agent Skills: Skill system launched in October 2025, allowing dynamic loading of instructions, scripts, and resources
- Subagents: Supports inline definition of subagents for task decomposition and parallel execution
- Session Forking: forkSession function supports conversation branching
- Custom Tools: Supports Python functions as custom tools, running via an in-process MCP server
- Hooks: Allows insertion of custom logic during agent execution flow
- File Operations: Agents can read, edit, and create files
- Command Execution: Agents can run system commands
Business Model
- Open Source SDK: The SDK itself is free to use
- API Pay-as-You-Go: Charges based on token usage when calling Claude models via the Anthropic API
- Enterprise Edition: Customized solutions for enterprises
Target Users
- AI agent application developers
- Teams needing to build coding assistants
- Automation workflow developers
- Developers building agents for deep research, content creation, etc.
Competitive Advantages
- Official support from Anthropic, deeply integrated with Claude models
- Powerful Claude Code capabilities as the foundation
- Skills system provides a flexible mechanism for capability extension
- Subagents and session forking support complex workflows
- Dual-language SDK for Python and TypeScript
Market Performance
- Claude Code has become a popular tool in the developer community
- The SDK's release has made Claude's agent capabilities more widely accessible
- The renaming from Claude Code SDK to Agent SDK reflects Anthropic's broader agent strategy
- Leading performance in code generation and complex task execution
Relationship with the OpenClaw Ecosystem
The Anthropic Agent SDK is a core tool for integrating Claude agent capabilities into the OpenClaw platform. Through the Agent SDK, OpenClaw can build personal AI agents based on Claude, extend agent capabilities using the Skills system, and achieve complex task decomposition via subagents. The SDK's file operation and command execution capabilities enable OpenClaw's agents to truly perform tasks in the user's environment.
External References
Learn more from these authoritative sources: