Claude Agent SDK
Claude Agent SDK is Anthropic's programmatic toolkit for building AI agents on Claude. It exposes the same tool-loop, context management, subagent orchestration, hooks, permissions, and MCP integration that power Claude Code — as a Python and TypeScript library where a single `query()` iterator streams messages while Claude reads files, runs commands, and edits code.
Anthropic announced the SDK on September 29, 2025 alongside Claude Sonnet 4.5, as a rename of the earlier Claude Code SDK (migration guide). The rename signalled the harness had grown beyond coding — internally it was already powering deep research, video, and note-taking — and needed a name that did not pin it to one vertical.
Rails for agents: not the model, not the hosted runtime, but the opinionated middle layer that turns a chat endpoint into something that can do work on a computer.
Search Interest
-
Nascent0–7 days
-
Emergent8–30 days
-
Validating31–90 days
-
Rising91–180 days
-
Established ← now180 days +
Why is it emerging now?
The Sep 29, 2025 rename from Claude Code SDK was itself the story: Anthropic standardized on 'agent,' not 'coding,' as the SDK's frame. Six months later, Managed Agents (Apr 8, 2026) gave it a hosted sibling, Apple shipped it in Xcode 26.3, and a 214MB-per-session critique framed the second wave of open-source alternatives.
Outlook
6-month signal projection and commercial timeline.
SDK is the supply side of both Claude Code adoption and the Apr 2026 Managed Agents launch; Apple Xcode locks in a multi-year surface.
Risk · OAuth restriction blocks flat-rate SaaS resale; open-source fork open-agent-sdk-typescript offers a CLI-free escape hatch.
Analogs · LangChain · LlamaIndex · Vercel AI SDK
-
nowFree SDK, paid surfaces
SDK open-source but usage burns API tokens; Xcode, Mem0, container hosts monetize on top.
-
3-6moManaged SDK resellers
Hosted multi-tenant runtimes and 'SDK vs Managed Agents' comparison sites fill SERP gap.
-
6-12moVertical starters win
Open-source forks absorb CLI-skeptics; enterprise vertical SDK starter packs become durable niche.
Competition & Opportunity for term “Claude Agent SDK”
Three heuristic signals derived from the tracked queries, the term's monetization cards, and its cluster neighbors. Directional, not audited.
Ideas for term “Claude Agent SDK”
Buildable pitches — turn this term into an article, site, product, post, newsletter, video, or course. Steal any card and run with it.
HN thread 47669957 shows production teams debating this exact split. A worked comparison of latency, memory, tool loop complexity, and session state ranks on a high-intent query with almost no quality competition.
Anthropic's migration guide is terse. A walkthrough with before/after samples for ClaudeCodeOptions → ClaudeAgentOptions and the `.claude/` convention targets a guaranteed-volume query.
The four-way comparison does not exist in high quality. Frame around tool loop autonomy, context management, MCP support, and hosting story — buyers want the matrix.
Anthropic has three adjacent products and the docs don't diagram them. A single stack diagram plus when-to-use guide wins on 'Claude Code vs Claude Agent SDK' queries.
No neutral directory exists. A site tracking public SDK-based agents (claude-mem, claude-agent-acp, Xcode, demos repo) with filters for use case, language, and license has first-mover SEO advantage.
Anthropic blocks OAuth resale, but bring-your-own-API-key SaaS is fair game. A hosted runtime with session storage, sandboxing, and observability fits the 'Anyone using Claude Agent SDK in production?' crowd.
The Show HN Rust proxy proved the pattern. A dashboard recording tool calls, token spend, and latency across Claude Agent SDK, LangGraph, and Pydantic AI has immediate enterprise pull.
Anthropic's demos repo covers email and research. A vertical starter pack — scaffolding, prompts, skill files, test harness — sells into enterprise teams skipping DIY setup.
On September 29, 2025, Anthropic renamed Claude Code SDK to Claude Agent SDK — the clearest statement yet about where AI tooling is headed.
2,000 lines of tool-execution code, gone. Session management, gone. Context compaction, gone. Also: 214MB per session and 12s latency.
Anthropic now ships four different ways to build on Claude. They overlap. They compete with each other. Here is the map, in the order you should actually learn them.
What People Search
Long-tail queries from Google Suggest + Trends. Volume and competition are heuristics — directional, not audited. Content Type comes from query shape.
SERP of term “Claude Agent SDK”
What searchers see today — organic results on top, paid ads if anyone's bidding. Ad density is a real-time commercial signal.
Related Terms
Other terms in the same space — aliases, subtypes, competitors, and neighbors to explore next.
- Includes Managed Agents Managed Agents is an infrastructure paradigm where cloud platforms host, orchestrate, and operate AI agents as a service. →
- Includes Claude Code Claude Code is Anthropic's official command-line coding agent — a terminal tool that reads your codebase, edits files, runs commands,… →
- Related Agent Harness An agent harness is the middleware between a large language model and the real world — code that runs the agent loop, calls tools,… →
- Related Model Context Protocol Model Context Protocol (MCP) is an open, JSON-RPC-2.0-based standard that defines how AI applications talk to external tools, data, and… →
- Related MCP Server An MCP server is a small, standalone program that exposes one capability — a database, a filesystem, a security scanner, a trading API —… →
- Related Coding Agents Coding Agents is the category name for AI developer tools that act on code autonomously — reading a repo, planning a change, editing… →
- Related AGENTS.md AGENTS.md is an open, vendor-neutral markdown file placed at the root of a repository that tells AI coding agents (Claude Code, Codex… →
- Also known as Claude Code SDK
- Part of Anthropic Messages API
- Competitor LangGraph·Pydantic AI·Vercel AI SDK
Sources
Primary URLs this report cites — open any to verify the claim yourself.
- 01 Agent SDK overview (official Anthropic docs) code.claude.com ↗
- 02 Anthropic engineering: Building agents with the Claude Agent SDK claude.com ↗
- 03 Introducing Claude Sonnet 4.5 (SDK rename announcement, Sep 29 2025) anthropic.com ↗
- 04 anthropics/claude-agent-sdk-python (6.4k stars) github.com ↗
- 05 Hacker News — Claude Agent SDK vs Messages API for production news.ycombinator.com ↗
- 06 Hacker News — Claude Agents SDK: 214MB per session on macOS news.ycombinator.com ↗
- 07 Hacker News — Apple's Xcode now supports the Claude Agent SDK news.ycombinator.com ↗
- 08 Migration guide: Claude Code SDK to Claude Agent SDK platform.claude.com ↗