Claude Agent SDK
Python and TypeScript library that runs the same agent loop, tools and context management that power Claude Code, so developers can embed the loop in their own process rather than calling the API directly.
Find alternatives to Claude Agent SDK
What it does
- Agentic coding
- Agent orchestration
- Code generation
Features 7
- Built-in toolsAgents can read, write and edit files, run commands and search the web.
- HooksRun custom code at key points in the agent lifecycle.
- SubagentsSpawn specialized agents for focused subtasks.
- MCP supportConnect external tools and data sources via the Model Context Protocol.
- PermissionsControl which tools run automatically and which need approval.
- SessionsMaintain context across exchanges and resume or fork sessions later.
- PluginsPackage skills, agents, hooks and MCP servers and load them by local path.
Sources
- Pricing
-
Official documentation · 2 Sep 2026
Free library; billed through normal API token usage.
- Description
- Constraints
-
Official documentation · 2 Oct 2026
Derived from the security facts on this page, from the same source.
- Security
-
Official documentation · 2 Oct 2026
Commercial/API products only: the privacy-centre pages say they describe commercial products (Claude for Work, Anthropic API); consumer-plan products (Claude Code, Cowork, Chrome, Design etc.) differ by tier and are left out. ZDR is by approval for Claude Platform (API) customers. hipaa-baa omitted: BAA covers only eligible HIPAA-ready API features, not stated for these two products. Features/residency not stated for API products on fetched pages; trust.anthropic.com is script-only.
- Sold within
-
Official documentation · 30 Sep 2026
"Install the Agent SDK package for your language:" — published as @anthropic-ai/claude-agent-sdk (npm) and claude-agent-sdk (Python); the quickstart then says to set an API key from the Claude Console. No SDK-specific price is stated.
- Interfaces
-
Official documentation · 28 Sep 2026
Page describes the Agent SDK as a library programmable in Python and TypeScript, with a quickstart to install the SDK and build an agent.
- Intended for
-
'Build production AI agents with Claude Code as a library', a Python/TypeScript SDK for developers; branding guidelines address 'third party developers'.
Also from Anthropic
-
Claude API Model API
Hosted API for the Claude models, billed per token; also lets Claude see and operate a browser or desktop to automate work in applications that have no API.
-
Claude Science Application
Desktop application for scientific research that runs analyses, searches scientific databases and traces work from data wrangling through to publication; also writes up results with Markdown and LaTeX previews.
-
Claude Security Application
Application that scans codebases for high-severity vulnerabilities, validates findings by adversarial verification and recommends patches for review, with a companion Claude Code plugin.
-
Claude Cowork AI agent
Agentic task app in which Claude works asynchronously across a user's files and tools toward a stated goal, checked in on from desktop, web or phone.
-
Claude Managed Agents Agent platform
Hosted API offering a pre-built configurable agent harness with managed sandboxes and persistent sessions for long-running asynchronous agent tasks, billed separately from token usage.
-
Claude Application
Assistant for chat, document analysis and coding, used in the browser and in desktop and mobile apps; also hands back finished docs, slides and sheets.
-
Claude Code AI agent
Coding agent that works on a codebase from the terminal, an IDE extension and a desktop app.
-
Claude for Microsoft 365 Application
Claude working inside Excel, PowerPoint, Word and Outlook with context carried across the documents — preserving templates and house styles and showing every edit as tracked changes, highlighted cells or draft emails; also updates assumptions without breaking formulas and builds models from scratch.
-
Claude Tag Application
Claude Tag (@Claude, formerly Claude for Slack): claude tagged as @Claude inside Slack threads and channels: it reads thread context and replies in real time, analyses conversations, pulls data, drafts content, monitors channels, triages alerts and runs standing instructions without leaving Slack.
-
Claude in Chrome AI agent
Browser extension that lets Claude act inside Chrome on the user's behalf — reading pages, clicking, typing and filling forms to work through multi-step web tasks without approving each step, with the user keeping control of what it may do; also hands back Excel models, decks and reports.
-
Claude Design Application
Lets users collaborate with Claude to create on-brand visual work (decks, prototypes, wireframes, marketing collateral) with design-system import and Claude Code integration via /design-sync; also exports to PDF and PowerPoint.
-
Claude for Government Application
Anthropic's FedRAMP High-authorized edition of Claude for US federal, state and local agencies and their contractors, run in the Claude Desktop app (chat and Claude Code) against a dedicated government environment and sold as prepaid usage with no per-seat fee.
-
Claude Docs Application
Document editor inside Claude in which you, Claude and teammates write and revise a living rich-text document together, with sharing by link and export to Word, PDF, Markdown or Google Docs.
-
Claude Slides Application
Presentation maker inside Claude that builds a deck from your notes, reports or the work already in a chat; you edit any slide directly, present without leaving Claude, and export to PowerPoint, Google Slides or PDF.
-
Claude Dashboards Application
Connects to a data platform such as BigQuery, Databricks or Snowflake, or a CRM such as Salesforce, and builds a dashboard from a plain-language question, keeping it current as the data changes.
-
Claude Motion Application
Builds an animation from a prompt by writing code that animates your text, charts, shapes and images; it plays like a short video and downloads as an MP4 file, without using a video generation model.
Open Anthropic in the directory
Something wrong here? Send a correction — quote this product id: anthropic-agent-sdk.