Anthropic's SDK for building agents on the same tools, agent loop, and context management that power Claude Code. Python and TypeScript. Subagents, hooks, MCP, and permissions.
The Claude Agent SDK gives you the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript. Built-in tools read, write, and edit files and run commands; hooks run your own code at key points in the agent lifecycle; subagents take focused subtasks; MCP connects external tools and data; permissions control which tools run automatically and which need approval; and sessions can be resumed or forked. It also loads skills, commands, and memory from a project's .claude/ directory, just like Claude Code. It competes with OpenAI's Agents SDK and LangChain. I use it when building Python-based agents that need reliability and structured workflows.
Last verified
npm install @anthropic-ai/claude-agent-sdkpip install claude-agent-sdkuv add claude-agent-sdkSources: Agent SDK overview, Agent SDK quickstart, Model configuration, TypeScript SDK CHANGELOG
Most popular LLM framework. 100K+ GitHub stars. Chains, RAG, vector stores, tool use. LangGraph adds stateful multi-agent workflows with cycles and persistence.
Python and TypeScript framework for multi-agent workflows. Agent handoffs, tool use, guardrails, sessions, tracing. Provider-agnostic, supporting the OpenAI Responses and Chat Completions APIs plus 100+ other LLMs.
Multi-agent orchestration framework. Define agents with roles, goals, and tools, then assign them tasks in a crew. Python-based. Great for complex workflows.
Multi-agent orchestration framework built on the OpenAI Agents SDK. Define agent roles, typed tools, and directional communication flows. Production-focused, open-source.
Anthropic's SDK for building agents on the same tools, agent loop, and context management that power Claude Code. Python and TypeScript. Subagents, hooks, MCP, and permissions.
Try Claude Agent SDKHonest takes on AI dev tools, frameworks, and infrastructure - delivered to your inbox.
Subscribe FreeThe TypeScript toolkit for building AI apps. Unified API across OpenAI, Anthropic, Google. Streaming, tool calling, structured output, multi-step agents. 27K+ GitHub stars.
Frontend stack for agent-native apps. React hooks, prebuilt copilot UI, AG-UI runtime, frontend tools, shared state, and human-in-the-loop flows.
Most popular LLM framework. 100K+ GitHub stars. Chains, RAG, vector stores, tool use. LangGraph adds stateful multi-agent workflows with cycles and persistence.
Deep comparison of the top AI agent frameworks - LangGraph, CrewAI, Mastra, CopilotKit, AutoGen, and Claude Code.
AI AgentsConfigure Claude Code for maximum productivity -- CLAUDE.md, sub-agents, MCP servers, and autonomous workflows.
AI AgentsWhat MCP servers are, how AI clients like Claude Code call their tools, how to add one through .mcp.json, and how to build your own in TypeScript.
AI Agents
Anthropic Python SDK 1.0 swaps httpx for httpx2, requires Python 3.10+, and drops temperature and Text Completions. Veri...

Claude Code Projects is open to waitlisted Pro and Max users. How the coordinator and cloud threads work, what they cost...

Which cheap model belongs under your orchestrator? Haiku 5.5 vs GPT-6 Luna as a subagent or worker: routing by prompt le...

AI session portability compared across OpenAI, Anthropic, and Gemini: storage defaults, encrypted reasoning, compaction,...

Buzz is Block's open-source Nostr relay workspace where humans and AI agents share rooms. Agent-first CLI, git as channe...

Claude Fable 5 found a counterexample to the 87-year-old Jacobian conjecture, and Terence Tao worked through the math. H...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.