Claude Agent SDK
Anthropic's Python and TypeScript SDK exposing the Claude Code agent engine as a library.
About
Rather than reimplementing an agent loop, developers can pull in the exact engine that powers Claude Code: Anthropic packages it as the Claude Agent SDK for Python and TypeScript, MIT licensed on GitHub. A simple async query interface streams messages from a running agent, while a client class holds bidirectional interactive sessions. Tools defined as plain decorated functions become in-process MCP servers with no separate process to manage, and these mix freely with external MCP servers. Hooks intercept the loop at points like PreToolUse for validation or policy enforcement, and permission controls pre-approve, block, or gate individual tools. Subagents, working directory control, and file tools such as Read, Write, Edit, and Bash carry over from Claude Code, whose CLI ships bundled with the package, so pip install claude-agent-sdk is the only setup beyond Python 3.10 or newer. The Python repository stands at about 8,000 stars, and the SDK has become the default route for teams building custom autonomous agents on Anthropic models, from CI bots to internal operations agents.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- AI Agents & Orchestration
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- MIT
- Added
- Aug 24, 2026
Related Tools
Multi-agent framework for building and studying societies of communicating LLM agents at scale.
Super-agent harness orchestrating sub-agents, memory, and sandboxes for research and automation.
TypeScript agentic operating system with plugins, memory, and connectors for major messaging platforms.
Code-first, model-agnostic toolkit for building, evaluating, and deploying AI agents.
Autonomous agent that plans queries, searches the web and local files, and writes cited reports.
Platform for building and running autonomous agents that execute complete workflows from goals.