Claude Agent SDK
Use case: Multi-agent
Anthropic's Python and TypeScript library that runs Claude Code's agent loop, built-in tools, permissions, sessions and hooks inside your own app. The SDK is free; you pay Claude API usage with an API key (Anthropic doesn't allow third-party products to use claude.ai logins unless approved).
Like Claude Agent SDK? Find tools like it on X.
Follow @AgentstackDaily, plus the free Top 25 Agent Tools checklist.
At a glance
- Category
- Multi-agent
- Best for
- Best multi-agent frameworks in 2026 · Multi-agent use cases
- Tags
- anthropic, python, typescript, api-key
- Official site
- code.claude.com
- Link checked
- November 4, 2026
- Data
- JSON
When to use Claude Agent SDK
Consider Claude Agent SDK when your agent work falls under Multi-agent. Our directory summarizes it this way: Anthropic's Python and TypeScript library that runs Claude Code's agent loop, built-in tools, permissions, sessions and hooks inside your own app. The SDK is free; you pay Claude API usage with an API key (Anthropic doesn't allow third-party products to use claude.ai logins unless approved). It is also tagged anthropic, python, typescript and api-key, which can help you judge whether it matches the job in front of you. If you are still choosing, compare it with CrewAI, LangGraph and OpenAI Agents SDK before committing, since they sit in the same category.
How Claude Agent SDK fits an agent workflow
In an agent stack, Claude Agent SDK belongs to the Multi-agent category, which covers the orchestration layer, where several agents or roles are coordinated, hand work to one another and share state. You will also find it in our curated list: Best multi-agent frameworks in 2026. Other Multi-agent entries worth a look alongside it include Google Agent Development Kit (ADK), Agent2Agent (A2A) Protocol and MetaGPT.
Pricing & open source
Our data does not list a price or license for Claude Agent SDK. Check the official site for current pricing and licensing before you build on it.
Claude Agent SDK alternatives
- CrewAI — Define role-based agent crews with tasks and processes
- LangGraph — Model agent workflows as stateful graphs with checkpoints, human-in-the-loop interrupts an
- OpenAI Agents SDK — Lightweight Python SDK with agents, handoffs, guardrails and tracing
- Google Agent Development Kit (ADK) — Code-first toolkit for building, evaluating and deploying hierarchical multi-agent apps on
- Agent2Agent (A2A) Protocol — Open protocol for agents built on different frameworks to discover each other and delegate
- MetaGPT — Assigns software-company roles (PM, architect, engineer) to agents that collaborate via SO
All Multi-agent tools → · Best multi-agent frameworks in 2026
Related tools
- Open Duet
Open-source (Apache-2.0) self-hosted workspace for named AI coworkers: a lead agent delegates to specialists, each with
- CAMEL
Research framework for role-playing communicative agents
- Swarms
Enterprise-oriented orchestration library with many swarm topologies (sequential, hierarchical, mixture-of-agents).
- Anthropic: How we built our multi-agent research system
Engineering write-up on orchestrator/subagent research: parallel subagents, effort scaling and prompt lessons.
- Anthropic: Building effective agents
Canonical guide to workflow patterns (prompt chaining, routing, orchestrator-workers) before reaching for full autonomy.
FAQ
What is the Claude Agent SDK?
It is Anthropic's Python and TypeScript library that gives you the same tools, agent loop and context management that power Claude Code. It includes Claude Code capabilities such as built-in tools, hooks, subagents, MCP, permissions and sessions.
How does the Agent SDK differ from the Client SDK and Managed Agents?
The Agent SDK embeds Claude Code's agent in your own application, in a process you operate. With the Client SDK you call the Claude API directly and write the tool loop yourself, while Managed Agents is a harness hosted by Anthropic.
Can my product let users sign in with claude.ai?
Not unless Anthropic has approved it. The docs say third-party developers may not offer claude.ai login or rate limits in their products, including agents built on the Agent SDK, and should use API key authentication. Use of the SDK is governed by Anthropic's Commercial Terms of Service.
Get new agent tools and tips as they're added
Follow @AgentstackDaily on X for new tools and copy-paste tips. Free.