What is the Claude Agent SDK?
Anthropic's library for building agents on the same harness that powers Claude Code, in Python and TypeScript. It includes file, search and shell tools, subagents, hooks, MCP support and permission controls.
[ AI tools · Frameworks and platforms ]
The Claude Agent SDK is the agent loop behind Claude Code, as a library. We use it to build agents that read files, run commands and use your tools, with permissions that keep every action in bounds.
Example run. Rules decide what the agent may do alone, what needs a person and what is never allowed.
Anthropic’s Claude Agent SDK gives your product the same loop that powers Claude Code, in Python or TypeScript. Six drawers hold what it ships with; open one.
Read the files, search the folders and query the tools that matter for the task.
The SDK suits agents whose job looks like a skilled person working at a computer, not a chatbot answering one question.
These are set before the agent touches real data.
The agent runs in a container with only the files and network access it needs.
Per tool and per argument, so reading is free but deleting never happens.
Every tool call logged with inputs and results, and risky ones blocked in code.
Each MCP connection uses its own least-privilege account.
Writes to systems of record wait for a person in your app or in Slack.
Limits on turns, time and tokens per run, with alerts when a run gets close.

One Claude Agent SDK agent with tools, permissions and audit logging, for one job.
$4,000 to $6,000
1 to 2 weeks
DetailsA senior engineer who builds and runs Claude agents in your team.
$3,000 to $5,000/mo
1 month
DetailsSeveral agents with subagents, MCP connections, sandboxes and evaluations.
From $8,000
Typically six to ten weeks
Scope itPackages from $1,500; custom projects from $8,000. Model usage billed by Anthropic or your cloud.
Anthropic's library for building agents on the same harness that powers Claude Code, in Python and TypeScript. It includes file, search and shell tools, subagents, hooks, MCP support and permission controls.
It is built for agents that do work: reading and writing files, running commands, calling tools and checking results over many steps, rather than answering one message at a time.
Only inside limits. We run agents in sandboxed containers with allow, ask and deny rules per tool, hooks that log and block risky calls and scoped credentials for every system.
Yes. The SDK can call Claude models through Amazon Bedrock, Google Cloud or Microsoft Foundry, so traffic and billing stay in your cloud.
Both are good. The Claude Agent SDK is strongest when the agent works with files, code and commands. The OpenAI Agents SDK is lighter for handoffs between chat specialists. We pick based on the job and test both when it is close.
You pay for Claude model usage through the Claude API or your cloud provider. The SDK itself is free. We estimate cost per run during the first build.
Book a free strategy call and leave with a clear plan and estimate. No commitment.