Claude Agent SDK

Developer tool

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

TypeDeveloper tool
RoleStandalone tool
AvailabilitySold
DeploymentSelf-hosted
Intended forDeveloper
SecurityVendor-asserted
CertificationsSOC 2 Type I, SOC 2 Type II, ISO/IEC 27001, ISO/IEC 42001, GDPR DPA
Trains on customer dataNo
Zero data retentionAvailable
Data residencyNot recorded
Security featuresNot recorded
StatusActive
Sold withinSold on its own
PricingOpen source, Usage-based

What it does

Features 7

code.claude.com

Sources

Pricing

Official documentation · 2 Sep 2026

Free library; billed through normal API token usage.

Description

Official documentation · 2 Sep 2026

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

Self-reported · 8 Sep 2026

'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

Open Anthropic in the directory

Something wrong here? Send a correction — quote this product id: anthropic-agent-sdk.