Claude Agent SDK

Anthropic's Python and TypeScript SDK exposing the Claude Code agent engine as a library.

Open Source
0.0 (0)

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

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.

Open SourceSelf Hosted
Intermediate

Super-agent harness orchestrating sub-agents, memory, and sandboxes for research and automation.

Open SourceSelf Hosted
Intermediate

TypeScript agentic operating system with plugins, memory, and connectors for major messaging platforms.

Open SourceSelf Hosted
Intermediate

Code-first, model-agnostic toolkit for building, evaluating, and deploying AI agents.

Open SourceSelf Hosted
Intermediate

Autonomous agent that plans queries, searches the web and local files, and writes cited reports.

Open SourceSelf Hosted
Easy

Platform for building and running autonomous agents that execute complete workflows from goals.

Open SourceSelf Hosted
Intermediate
Browse all AI Agents & Orchestration tools