Claude Agent SDK
Build production AI agents with Claude Code as a library
Claude Agent SDK is Anthropic's Python and TypeScript SDK for building autonomous AI agents using the same tools, agent loop, and context management that power Claude Code.

Recent stories
Anthropic paused a same-day policy change that would have moved Claude Agent SDK, claude -p, and third-party SDK apps onto separate monthly credits. Existing subscription-backed workflows continue unchanged for now, but teams should watch for the redesigned billing plan.
CopilotKit shipped an AG-UI integration that streams Claude Agent SDK agents into web and mobile frontends with generative UI and approval checkpoints. The adapter lets teams embed terminal-first Claude agents in React, Vue, Angular, and React Native without rewriting transport or state plumbing.
A day after developers flagged Anthropic’s SDK credit split, Claude Code users said -p work had become metered, slower, and harder to run headlessly. Anthropic reset 5-hour and weekly limits, and Claude Code 2.1.143 added projected context-cost estimates.
Users reported cancellations, pricing math, and harness-specific workarounds after Anthropic said Claude Agent SDK usage would move to monthly credits on June 15. The change shifts third-party Claude agent economics and is already pushing some users toward other runtimes and tools.
Anthropic will move Claude Agent SDK, claude -p, GitHub Actions, and third-party agent apps onto separate monthly credits on June 15. Watch the new bucket closely, since it changes the cost model for autonomous runs and subscription-backed harnesses.