anthropics/claude-agent-sdk-python
None observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 99
- Release rhythm 87
- Longevity 32
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 448
- days_rel: 7
- days_push: 8
- n_releases_24m: 152
Adoption not part of the score
7981 stars · 1249 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official Python SDK for building agents on top of Claude Code, providing async query APIs, bidirectional conversations, custom tools via in-process MCP servers, hooks, and permission controls. The Claude Code CLI is bundled with the package so no separate installation is required.
Use cases
- build ai agents in python with claude
- programmatically drive claude code from a script
- add custom tools to a claude agent via mcp
- automate coding tasks with an llm agent
- run interactive bidirectional conversations with claude
- control tool permissions for an ai agent
When to choose
- you want to build Python applications or automations powered by Claude Code's agent capabilities
- you need custom in-process tools, hooks, and fine-grained permission control over agent actions
- you prefer an async Python API with a bundled CLI for zero-setup
When to avoid
- you need a provider-agnostic agent framework that works with models other than Claude
- you want a lightweight raw LLM API client rather than an agentic tool-use SDK
- your project cannot use Python 3.10+ or the bundled Node-based Claude Code CLI
Facets
library · maturity active
agent-framework llm-inference sdk chatbot large-language-models developer-tools python cli cross-platform claude anthropic claude-code mcp async anyio tool-use agentic-coding ai-agents
1 source
- readme: https://github.com/anthropics/claude-agent-sdk-python · fetched 2026-08-28 · 5784b4224140
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| anthropics/claude-agent-sdk-python | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="anthropics/claude-agent-sdk-python")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem