Open sourcePython · ≈8.6k stars · MIT
Claude Agent SDK
The SDK behind Claude Code, exposed for building your own agents.
anthropics/claude-agent-sdk-python
Maintained by Anthropic
Anthropic's Agent SDK packages the harness that powers Claude Code — the tool-use loop, subagents, context management, MCP support and hooks — so developers can build the same class of coding and task agents on top of Claude models.
What the community says
User reports from Hacker News, Reddit, GitHub and reviews, as of Oct 29, 2026. Not our verdict.
Pros people report
- Less intimidating than expected: a useful agent can be ~30 lines.Reddit (archived snapshot)
- Gives you Claude Code's harness: plan mode, todos, subagents, background tasks.Hacker News
- Handles retries, scheduling, token management, auto-compaction and stable cached prompt prefixes, which are hard to rebuild by hand.Reddit (archived snapshot)
Cons people report
- The subprocess-per-session model, memory floor and session pinning suit local-repo agents, not multi-tenant backends.Reddit (archived snapshot)
- Billing has flip-flopped between subscription limits and API credits, causing backlash and confusion.Hacker News 1Hacker News 2GitHub issue anthropics/claude-agent-sdk-python#559
- Gaps users ask for: temperature control, a Go SDK, Langfuse support; observability needs proxy workarounds.GitHub issue anthropics/claude-agent-sdk-python#273GitHub issue anthropics/claude-agent-sdk-python#498Hacker News
- Release hiccups, e.g. a version shipped only a macOS ARM64 wheel.GitHub issue anthropics/claude-agent-sdk-python#687
- You trade loop control for convenience; some teams keep a hand-rolled loop on the base SDK.Reddit (archived snapshot)
- Best for
- File/shell-heavy agents (coding, ops, research) that benefit from Claude Code's harness out of the box.
- Watch out for
- Claude-only, with changing billing rules and a per-session process model that is awkward for multi-tenant servers.
Adopting an open-source harness? Read the best-practices guide.
Activity
- Last push
- · yesterday
- Latest release
- v0.2.187
· yesterday - Last 90 days
- 20+ releases
- · yesterday
--- PyPI: https://pypi.org/project/claude-agent-sdk/0.2.187/
- · 2d ago
--- PyPI: https://pypi.org/project/claude-agent-sdk/0.2.186/
- · 2d ago
--- PyPI: https://pypi.org/project/claude-agent-sdk/0.2.185/
- · 3d ago
--- PyPI: https://pypi.org/project/claude-agent-sdk/0.2.184/
- · 5d ago
--- PyPI: https://pypi.org/project/claude-agent-sdk/0.2.183/
Checked against GitHub on Nov 21, 2026. Release notes are shortened to plain text.
In the news
Community · Anthropic News · Feb 3, 2026
Apple’s Xcode now supports the Claude Agent SDK
Community · Anthropic Engineering · Nov 26, 2025
We developed a two-fold solution to enable the Claude Agent SDK to work effectively across many context windows: an initializer agent that sets up the environment on the first run, and a coding agent that is tasked with making incremental progress in every session while leavin...
In research (2)
- Automating Feature Flag Cleanup at Scale with Multi-Agent LLM Systems: An Industrial Experience at DoorDashVerdict: Useful
Oct 22, 2026 · Claude Sonnet 4.6 and Opus 4.6 power the orchestrator and removal agents; Anthropic's agent SDK is the natural alternative stack to ADK.
- How Much Does the Harness Matter, and for Whom? A Multi-Model Study of Context in LLM-Driven Vulnerability DiscoveryVerdict: Useful
Oct 20, 2026 · Runner used for the Claude configurations
Neighbours on the workbench
TypeScript · ≈395k stars · MIT
openclaw/openclaw
The viral open-source personal AI assistant that really does things.
Maintained by OpenClaw Foundation
v2026.11.6releasedShell · ≈329k stars · MIT
mattpocock/skills
Small, composable agent skills for real engineering work.
Maintained by Matt Pocock (AI Hero)
MDX · ≈323k stars · MIT
obra/superpowers
An agentic skills framework and software methodology that works.
Maintained by Jesse Vincent (obra)
Connections
Relations from the Harness Hub knowledge graph, as charted in the State of Harness reports.
Maintained by · 1
- AnthropicOrganisation
Built on it · 5
- AutomakerProject
- claude-agent-acpProject
- MeridianProject
- NanoClawProject
- PhantomProject
Similar entries · 2
- devspaceProject
- open-harnessProject
Mentioned in · 4
- Bogota | Claude Workshop | Crea tu primer Agente con la Claude Agent SDKEvent · 2026-11-07
- Code with ClaudeEvent · 2026-10
- Apple’s Xcode now supports the Claude Agent SDKNews · 2026-02-03
- Effective harnesses for long-running agentsNews · 2025-11-26
