# Claude Agent SDK — card for AI agents

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

Maker: Anthropic · category: Agent frameworks and SDKs · open source (MIT (Python SDK))

## Price
- The SDK is free to install; usage is billed through the Claude API or a Claude subscription.
- Free tier: yes
- Checked: 2026-11-05

## Install
- npm: `npm install @anthropic-ai/claude-agent-sdk`
- PyPI: `pip install claude-agent-sdk`

## Facts
- Interfaces: Python library, TypeScript library
- Repository: https://github.com/anthropics/claude-agent-sdk-python
- Status page: https://status.claude.com

## Numbers (AgentGid data)
- Gid Score: 64 (rank #17) (public popularity and activity, not quality)
- Downloads last 7 days: 29,349,928
- GitHub stars: 8,588

## Details (plan limits, live status, safety; from AgentGid's data)
Claude Agent SDK by Anthropic. Category: Agent frameworks and SDKs. Type: vendor agent SDK. Anthropic's SDK that exposes the agent loop, tools and context management behind Claude Code, for building custom agents in Python and TypeScript. Open source (MIT (Python SDK)) Pricing (checked 2026-11-05): The SDK is free to install; usage is billed through the Claude API or a Claude subscription. Free tier: yes. Interfaces: Python library, TypeScript library Supports: mcp, multi_agent Data: Gid Score 64/100, #17 overall; #4 in its category; 8,588.0 GitHub stars; usage +38% over 30 days; latest release 0.2.185 (2026-11-19). Live status now: All systems operational. Incidents in the last 30 days: 12 (10 major). Last incident: Elevated errors for Claude Mythos 5.2 and Claude Fable 5.2 on 2026-11-19.

## Alternatives in the same category
- LangChain: https://agentgid.com/agents/langchain/agent.md
- LangGraph: https://agentgid.com/agents/langgraph/agent.md
- AI SDK: https://agentgid.com/agents/vercel-ai-sdk/agent.md
- Mastra: https://agentgid.com/agents/mastra/agent.md
- OpenAI Agents SDK: https://agentgid.com/agents/openai-agents-sdk/agent.md
- Deep Agents: https://agentgid.com/agents/deepagents/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/claude-agent-sdk/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
