Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

Claude Agent SDK by Anthropic

Anthropic's SDK that exposes the agent loop, tools and context management behind Claude Code, for building custom agents in Python and TypeScript.

Agent frameworks and SDKs Vendor agent SDKOpen source · MIT (Python SDK)Free to startUp Live status

Use it in: API / SDK Works with: MCP Multi-agent

Price
Free (OSS)
free and open source
Popularity
#4 in Frameworks
Gid Score 64 / 100 · #4 of 50 ranked frameworks and SDKs
Trend
Growing fast
downloads up 37.6% over 30 days · up 5.9% last week
Development
Actively updated
latest 0.2.185, yesterday
Community
8,588 GitHub stars
29.3M package downloads a week

Usage data: latest readings Nov 17 to Nov 19, 2026, last checked Nov 19, 06:26 UTC. Date of each number

What Claude Agent SDK does

Claude Agent SDK is a vendor agent SDK from Anthropic. You use it through a Python library and a TypeScript library. Its documentation covers MCP servers and subagents or parallel agents. It can run models from Anthropic, Amazon Bedrock, Google and Azure. It is used from Python and TypeScript. It is free and open source (MIT (Python SDK)); you pay only for the models it calls.

Teams use it for: DevOps and CI, Incident response. See examples.

Key facts

MakerAnthropic
TypeVendor agent SDK
LicenseMIT (Python SDK)
InterfacesPython library, TypeScript library
Main languagePython
Open issues and PRs669

Pricing

The SDK is free to install; usage is billed through the Claude API or a Claude subscription.

Checked Nov 5, 2026. Prices change often; confirm before you buy.

Compare prices of all agents

Quick answers

  • Free to start?Yes
  • Open source?Yes (MIT (Python SDK))
  • Where you use itPython library, TypeScript library
  • Supports MCP?Yes
  • Model providersanthropic, amazon, google, azure
  • Subagents / multi-agent?Yes
  • Feature comparisonAll agents
  • Closest alternativeLangChain · all alternatives

What's new in Claude Agent SDK: November 2026 so far

Full monthly summary

November brought incremental updates to the Claude Agent SDK with bug fixes and improved hook handling. The bundled Claude CLI was updated to maintain compatibility with the latest tools.

  • Added on_failure option for HookMatcher to control callback failure behavior
  • Fixed intermittent test failures on Windows by supporting both Bash and PowerShell in shell-dependent tests
  • Updated bundled Claude CLI to version 2.1.318

9 releases this month · summarised from the official release notes · all months

How teams use Claude Agent SDK

All Claude Agent SDK use cases · All use cases

AgentGid articles about Claude Agent SDK

All guides

Get started with Claude Agent SDK

npmnpm install @anthropic-ai/claude-agent-sdk
PyPIpip install claude-agent-sdk

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

What Claude Agent SDK users report right now

All 1 reports, questions and fixes →

Open Users report that Python SDK releases up to 0.2.157 bundled a Claude Code CLI older than 2.1.280, so setting the model to claude-opus-5-5 failed with a 400 error on every turn unless a newer CLI path was given.

Workaround: Upgrade to SDK 0.2.158 or later, which bundles Claude CLI 2.1.280.

Reported on GitHub · 10 👍

The most discussed problems in its GitHub repository, checked Nov 17, 2026. Written by AgentGid in its own words; statuses and fix versions come from the project's own pages. Reports are users' accounts, not AgentGid tests.

Add-ons for Claude Agent SDK: save tokens, add memory and tools

All agent tooling

Listed because each tool documents support for Claude Agent SDK or for agent frameworks in general. Savings and results depend on your workload.

Compare Claude Agent SDK with another agent

vs
# Agent Gid Score Downloads 7d 7d 30d Stars Latest release Price
1
LangChainLangChain
79 41.1M up 5.7% down 2.7% 150K+76/day 1.5.22d ago Free (OSS)
2
LangGraphLangChain
75 20.1M up 5.5% up 29.2% 45.1K+48/day 1.2.23yesterday Free (OSS)
3
AI SDKVercel
68 47.2M up 3.9% up 38.4% 28.1K+30/day 7.0.1772d ago Free (OSS)
5
MastraMastra
63 3.7M up 14.9% up 49.9% 29.6K+23/day 1.84.02d ago Free (OSS)
6 62 7.2M up 4.8% up 38.9% 30.8K+21/day 0.25.02d ago Free (OSS)
7
Deep AgentsLangChain
59 3.1M up 4.9% up 51.3% 31.4K+29/day 0.2.112d ago Free (OSS)

Head to head: Claude Agent SDK vs LangChain · Claude Agent SDK vs LangGraph · Claude Agent SDK vs AI SDK · Claude Agent SDK vs Mastra · Claude Agent SDK vs OpenAI Agents SDK · Claude Agent SDK vs Strands Agents

Tools used with Claude Agent SDK

All tools

What 1,216 public GitHub projects that depend on Claude Agent SDK use with it, from their dependency files.

  1. TypeScript71.5%
  2. Zod49.8%
  3. React45.6%
  4. ESLint38.3%
  5. tsx33.0%
  6. Tailwind CSS32.7%
  7. dotenv29.9%
  8. Vitest28.7%
  9. Model Context Protocol SDK (JavaScript)27.1%
  10. Lucide React25.7%

Used far more often here than in AI-built projects overall: what sets Claude Agent SDK projects apart.

  1. diff10.4% · 12.1×
  2. Electron8.8% · 8.1×
  3. OpenTelemetry10.4% · 7.1×
  4. ws20.0% · 6.1×
  5. undici10.2% · 6.1×
  6. chokidar9.5% · 5.5×
  7. qrcode (JavaScript)10.4% · 5.4×
  8. OpenAI24.4% · 5.3×

Ratings from people who use Claude Agent SDK

No ratings yet. Used Claude Agent SDK? Rate it and say what it is good and bad at.

Claude Agent SDK news

All AI agent news

  1. Incident Status page

    Claude Agent SDK: Elevated errors for Claude Mythos 5.2 and Claude Fable 5.2

    Major impact; resolved after 22 min.

  2. Release GitHub Releases

    Claude Agent SDK 0.2.185 released

    bash pip install claude-agent-sdk==0.2.185

  3. Release GitHub Releases

    Claude Agent SDK 0.2.184 released

    bash pip install claude-agent-sdk==0.2.184

  4. Incident Status page

    Claude Agent SDK: Elevated errors for Claude Sonnet 5.5 and Claude Fable 5.2

    Major impact; resolved after 1 h 14 min.

  5. Incident Status page

    Claude Agent SDK: Elevated errors on claude.ai, the Claude API, and Claude Code

    Major impact; resolved after 2 h 28 min.

  6. Incident Status page

    Claude Agent SDK: Degraded performance for Claude Fable 5.1

    Minor impact; resolved after 26 min.

What changed: recent Claude Agent SDK releases

41 stable releases in the last 90 days · Monthly summary · Full changelog

0.2.185
  • bash pip install claude-agent-sdk==0.2.185
0.2.184
  • bash pip install claude-agent-sdk==0.2.184
Earlier releases
0.2.183
  • bash pip install claude-agent-sdk==0.2.183
0.2.182
  • bash pip install claude-agent-sdk==0.2.182
0.2.181
  • bash pip install claude-agent-sdk==0.2.181
0.2.180
  • bash pip install claude-agent-sdk==0.2.180

Claude Agent SDK prices over time

Token prices of Anthropic modelsnewest Anthropic model in each family, output price per 1M tokens
Anthropic OpusAnthropic SonnetAnthropic Haiku

Claude Agent SDK popularity and usage data

Claude Agent SDK was downloaded 29.3M times from npm and PyPI in the week ending Nov 17, 2026, up 5.9% on the week before and up 37.6% over the last 30 days compared with the 30 before. The GitHub repository has 8,588 stars, 299 of them added in the last 30 days. The latest stable release is 0.2.185, published Nov 19, 2026; there were 16 stable releases in the past 30 days. It was mentioned in 8 Hacker News posts and comments over the last 30 days.

Downloads per daynpm and PyPI, 7-day average 4.2M/day
GitHub starsrunning total 8,588
Hacker News mentionsposts and comments, rolling 7-day total 1 this week

Download the raw daily series: claude-agent-sdk.csv

Gid Score breakdown

Adoption100
Community39
Attention7
Momentum69

Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.

How fresh these numbers are

NumberLatest readingLast checked
Package downloadsNov 17, 2026Nov 19, 06:24 UTC
GitHub starsNov 19, 2026Nov 19, 06:26 UTC
Hacker News mentionsNov 18, 2026Nov 19, 06:26 UTC

We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.

Reliability

From the vendor's public status page · now: All systems operational

12 incidents reported in the last 30 days, 10 of them major or critical, 10.1 hours in total from report to resolution.

Incidents per monthfrom the official status page

Each bar is one month; the last one is the month so far. Vendors post even short slowdowns, so read this as how often something was reported, not as downtime. Compare with other agents →

Nov 19, 2026, 09:10 UTCElevated errors for Claude Mythos 5.2 and Claude Fable 5.2 · major
Nov 16, 2026, 07:49 UTCElevated errors for Claude Sonnet 5.5 and Claude Fable 5.2 · major
Nov 13, 2026, 13:09 UTCElevated errors on claude.ai, the Claude API, and Claude Code · major
Nov 8, 2026, 08:28 UTCDegraded performance for Claude Fable 5.1 · minor
Oct 27, 2026, 15:09 UTCElevated errors for Claude Sonnet 5.5 · major
Oct 27, 2026, 09:14 UTCElevated errors for Claude Sonnet 5.5 · major

Claude Agent SDK FAQ

How much does Claude Agent SDK cost?

The SDK is free to install; usage is billed through the Claude API or a Claude subscription.

Is Claude Agent SDK open source?

Yes. Claude Agent SDK is open source, released under the MIT (Python SDK) license.

How popular is Claude Agent SDK?

Claude Agent SDK was downloaded 29.3M times from npm and PyPI in the week ending Nov 17, 2026, up 5.9% on the week before and up 37.6% over the last 30 days compared with the 30 before. The GitHub repository has 8,588 stars, 299 of them added in the last 30 days. The latest stable release is 0.2.185, published Nov 19, 2026; there were 16 stable releases in the past 30 days.

What is the latest version of Claude Agent SDK?

The latest stable release we track is 0.2.185, published on Nov 19, 2026.

What are the alternatives to Claude Agent SDK?

The closest alternatives in the same category by Gid Score are LangChain, LangGraph, AI SDK, Mastra.

For the makers of Claude Agent SDK badges, corrections

Add a live badge to your README or site:

AgentGid: #4 in Frameworks Gid Score: 64/100 downloads: 29.3M/week ▲38% 30d status: operational

[![AgentGid: #4 in Frameworks](https://agentgid.com/badges/claude-agent-sdk-rank.svg)](https://agentgid.com/agents/claude-agent-sdk/)
[![Gid Score: 64/100](https://agentgid.com/badges/claude-agent-sdk-score.svg)](https://agentgid.com/agents/claude-agent-sdk/)
[![downloads: 29.3M/week ▲38% 30d](https://agentgid.com/badges/claude-agent-sdk-downloads.svg)](https://agentgid.com/agents/claude-agent-sdk/)
[![status: operational](https://agentgid.com/badges/claude-agent-sdk-status.svg)](https://agentgid.com/agents/claude-agent-sdk/)

Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.

Where these numbers come from

npm: @anthropic-ai/claude-agent-sdk. PyPI: claude-agent-sdk. GitHub: anthropics/claude-agent-sdk-python. See data sources for how each one is collected.