AnthropicCompanyAnthropicAnthropic develops the Claude family of AI models and products for individuals, developers, and organizations.Claude CodeClaudeClaude APIOpen companyAgent Framework
Claude Agent SDK
Anthropic's SDK, formerly the Claude Code SDK, runs the Claude Code binary inside your own service, with built-in tools, subagents, hooks, MCP, permissions, and sessions. It calls Claude models only and is billed at Claude API token prices or against Max and Team plan credits.
The 30-Second Take
Pick the Claude Agent SDK if your agents work in files and a shell under approval, and you are committed to Claude.
It gives your team Claude Code's agent loop, tools, subagents, hooks and permission rules. Thomson Reuters rebuilt CoCounsel Legal around it, and Spotify runs its Honk coding agent on it.
- Best fit
- Agents on Claude models that edit files and run commands under approval, deployed as internal tools or per-task containers.
- Main constraint
- One Claude Code subprocess per session with transcripts on local disk, and Claude models only.
- First move
- Run one internal agent in a container with a SessionStore, a turn limit, and OpenTelemetry export on, and record memory and cost per session.
Why
Watch the hosting: each session runs the Claude Code binary as a subprocess with transcripts on local disk, so that work is yours. On a Claude plan, builders measured SDK runs draining the 5-hour window faster than Claude Code.
21 practitioners, 117 sources reviewed, Updated Oct 30, 2026How this is measured
- Operating stack
- AI Application Platform
Comparisons
How does Claude Agent SDK compare with the alternatives?
Claude Agent SDK vs OpenAI Agents SDK
- Agent Frameworks
The OpenAI Agents SDK is a lightweight loop with handoffs, guardrails, sessions, and tracing built in, aimed at OpenAI models with adapters for others. The Claude Agent SDK ships Claude Code's file and shell tools, subagents, and permission rules, and starts a CLI process per session. Decide on the model you are committed to, and on whether the agent needs a shell.
Claude Agent SDK vs LangGraph
- Agent Frameworks
LangGraph has your code define every step and checkpoints state between them, across model providers. The Claude Agent SDK lets Claude plan the steps with Claude Code's tools and subagents. Pick LangGraph when the path must be explicit and durable, and the SDK when Claude should drive the work.
Claude Agent SDK vs AI SDK
- Agent Frameworks
Vercel's AI SDK is a TypeScript toolkit for model calls, tool loops, and streaming UI across providers, running inside your web stack. The Claude Agent SDK brings a full Claude Code harness with file and shell tools in a separate process. Chat inside a web app starts with the AI SDK, and agents that work on files start with the Claude Agent SDK.
Operator Insights
What are teams learning from building on Claude Agent SDK and running it in production?
Niklas GustavssonChief Architect and VP of EngineeringSpotify
Fleet Management at Spotify. Migrations and maintenance across thousands of components, and tasks engineers hand to Honk in Slack.
Spotify Engineering, published Read the write-up (opens Spotify Engineering in a new tab)
Observation
Spotify runs Honk, its background coding agent, on the Agent SDK inside its own harness, with many sessions scheduled in Kubernetes pods.
- Takeaway
- Wrap the SDK in your own harness and scheduler, and give the agent your CI as a tool so every change it makes is built and checked before a person sees it.
- What happened
- Deterministic migration scripts broke on complex code changes, so Spotify built Honk, a background coding agent. Honk runs Claude through the Agent SDK inside Spotify's own harness, deployed in Kubernetes pods so many sessions run at once. Its trusted tools include builds in Spotify's CI on several operating systems. Fleetshift picks targets and tracks progress while Honk makes the code changes. Spotify reports its latest Java migration across backend services took three days.
“Under the hood, Honk runs Claude using the Agent SDK, wrapped inside our own harness and deployed in Kubernetes pods so we can schedule many sessions concurrently across our cloud environment.”
Spotify Engineering - Public engineering write-up (summary of a Code with Claude 2026 talk)
- Team metric reported
Deployment details
Fleet Management at Spotify. Migrations and maintenance across thousands of components, and tasks engineers hand to Honk in Slack.
- Public engineering write-up (summary of a Code with Claude 2026 talk)
- Team metric reported
- Team
- Spotify engineering, through Fleet Management and Honk in Slack
- Workload
- Fleet-wide code migrations and maintenance pull requests, plus tasks handed off in Slack
- Product version
- Claude through the Agent SDK inside Spotify's own harness, in Kubernetes pods
- Measurement
- The latest Java migration across backend services took three days
In SignalsCounted once, as Spotify Engineering's own post. In the record
Sébastien MorelCTOCrystallize
Claudette, an internal Slack agent for Crystallize engineers. It answers code questions, drafts plans and pull requests, and checks documentation against the code.
Crystallize blog, published Read the write-up (opens Crystallize blog in a new tab)
Observation
Crystallize's internal agent runs one SDK session per Slack request and keeps every credential with the orchestrator, outside the model's reach.
- Takeaway
- Treat the SDK session as untrusted: keep credentials in the orchestrator, enforce read-only access at each provider, and sandbox every shell command at the operating system.
- What happened
- Crystallize built an orchestrator that receives Slack requests, checks who is asking, and launches a Claude Code session through the Claude Agent SDK for each one. Investigations and code changes go to the strongest model and routine readings to a lighter one. Shell commands run in an operating-system sandbox, Seatbelt on macOS and bubblewrap on Linux, and file tools get the same list of forbidden paths. Credentials stay with the orchestrator, which runs privileged calls itself. An early allowlist of safe commands was dropped because one shell line can hide a second command. Crystallize's own attacks on an earlier version found that a git hook planted in the model's copy could run on the host during a push, and that changing the copy's remote could redirect the push; both worked until it closed them. Code arrives only as draft pull requests an engineer must merge.
“In an earlier version, a git hook planted in the model's copy could run on the host during the push, and changing the remote in that copy could redirect the push. Both attacks worked.”
Crystallize engineering - Public engineering write-up (CTO's account)
- No team metrics reported
Deployment details
Claudette, an internal Slack agent for Crystallize engineers. It answers code questions, drafts plans and pull requests, and checks documentation against the code.
- Public engineering write-up (CTO's account)
- No team metrics reported
- Team
- Crystallize engineers, internal use only
- Workload
- Code questions in Slack, support co-pilot, plans, draft pull requests, and documentation checks
- Product version
- Claude Code sessions through the Claude Agent SDK, launched per request by Crystallize's orchestrator on Bun
In SignalsCounted once, as the CTO's own post. In the record
Buying and deployment
What a team building on it should verify before production traffic grows.
Sourced from Anthropic documentation
Signals
What is the current evidence saying about Claude Agent SDK?
Thomson Reuters, Spotify, Crystallize and PostHog run agents on the Claude Agent SDK, and builders praise its harness while reporting subprocess, session and plan-limit trouble. Each finding links to its public source and the words it was coded from.
Practitioner sentiment, teams and leaders
+52 Strong positive net
of 22 sources that take a side, each author counted once. Small sample.
How this figure is madeCurrent sentiment
Positive, mixed and negative sources
The score counts them as 12 positive, 8 mixed and 1 negative votes, one per author.
The 30 team and leadership accounts cover companies such as Spotify, PostHog and Crystallize and consultancies running client agents. Every account that discusses the harness praises it, and 6 report agents in daily use. Of the teams that describe a framework choice, nine kept the SDK, PostHog among them after two harnesses of its own. The CLI subprocess, Claude Code's defaults and plan billing are each raised by 3 sources, then token cost by 2.
Build one pilot agent to measure the glue code and debugging time the framework adds.
Evidence field. All 117 sources, one mark each.
Arrange by
Each mark is one source: positive, mixed, negative, no opinion stated, or documentation (not counted).
| Group | Sources | Positive | Mixed | Negative | No opinion stated and not counted in the score | Documentation, checked and not counted |
|---|---|---|---|---|---|---|
| Positive | 13 | 13 | 0 | 0 | 0 | 0 |
| Mixed | 8 | 0 | 8 | 0 | 0 | 0 |
| Negative | 1 | 0 | 0 | 1 | 0 | 0 |
| Not counted | 8 | 0 | 0 | 0 | 8 | 0 |
| Documentation | 19 | 0 | 0 | 0 | 0 | 19 |
| Outside this group | 68 | 15 | 34 | 5 | 14 | 0 |
| Quarter | Sources |
|---|---|
| Q2 2025 | 1 |
| Q3 2025 | 4 |
| Q4 2025 | 10 |
| Q1 2026 | 26 |
| Q2 2026 | 27 |
| Q3 2026 | 17 |
| Q4 2026 | 13 |
| Documentation, checked | 19 |
By sentiment
19 documentation pages check facts and are not counted; 68 sit outside this group.
Hover a mark for a quick look, click it or press Enter to open its source.Tap a mark to open its source, then step to its neighbors with Previous and Next.
What practitioners praise
Top praise of 2. Each mark is a source on it; filled marks praise it.
Most common concerns
Each mark is a source on it; filled marks raise it.
For teams and technical leaders, no concern reaches 5 sources from 3 authors.
All 117 sources behind these findings
- The same tokens use 1.7 times more of the 5-hour window through the SDKYourAISucks, AI tool tester (self-described: Comparing the same client traffic through the SDK and the Claude Code terminal), Post on X, published Oct 27, 2026
- Agent SDK overviewAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Hosting the Agent SDKAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Persist sessions to external storageAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Work with sessionsAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Observability with OpenTelemetryAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Track cost and usageAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Configure permissionsAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Modifying system promptsAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Agent SDK quickstartAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Migrate to Claude Agent SDKAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Use the Claude Agent SDK with your Claude planAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Monthly API credits for Max and Team plansAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Claude API pricingAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Claude Agent SDK for Python on GitHubAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Claude Agent SDK for TypeScript on GitHubAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- claude-agent-sdk on PyPIAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Agent SDK TypeScript referenceAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Connect to external tools with MCPAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Give Claude custom toolsAnthropic (Official Claude Agent SDK documentation and support pages), Product documentation, checked Oct 25, 2026
- Agent-SDK burns 1.7x faster than Claude Code TUIConsistent-Ad-5116, r/ClaudeCode poster (self-described: Moving between the Claude Desktop app and the Claude Code terminal on a Claude plan), Reddit post, r/ClaudeCode, published Oct 25, 2026
- connect() with an async iterable closes stdin, so the next query() failsm4xkushnir, GitHub user filing an issue (self-described: A ClaudeSDKClient session that opens with an image), GitHub issue, published Oct 25, 2026
- Agent SDK use drains the 5-hour limit faster than Claude CodeTheo (@theo, t3.gg), CEO of T3 Code and T3 Chat (self-described: Running agents through the SDK on a Claude plan), Post on X, published Oct 25, 2026
- Cancelled US$550 of Claude after the 5-hour window kept running outJK (@_junaidkhalid1), builder of Locul and Contextli (self-described: Building the author's own products on a Claude plan), Post on X, published Oct 25, 2026
- Laminar traces the SDK through a small proxy it points the SDK atdinm, Hacker News commenter at Laminar who wrote its post on instrumenting the SDK (self-described: Laminar's tracing for agents built on the SDK), Hacker News comment, published Oct 19, 2026
- Post on X by @gnomologiagnomologia, builder on X (self-described: About ten agents in production, each used through Slack), Post on X, published Oct 17, 2026
- The SDK records the runtime's own interrupt as the user's decisionPavle Lazic (@pavlescalably), builder of an agent runtime on the SDK (self-described: A runtime that compacts context itself on top of the SDK), Post on X, published Oct 15, 2026
- Claude found 4 problems in agent traces marked OKCole Seifert (@colepseifert), production LLM systems engineer at Accenture (self-described: Reviewing agent traces with the SDK and MLflow), Post on X, published Oct 15, 2026
- How We Gave an AI Agent Our Codebase Without Giving It the Keys?Sébastien Morel, CTO of Crystallize (self-described: Claudette, Crystallize's internal Slack agent that investigates issues, writes docs, and drafts pull requests), Company engineering blog, published Oct 13, 2026
- Post on X by @samael_vooltsamael_voolt, builder of OptChat (self-described: Chat app built on the SDK, measured against a model of the prompt cache), Post on X, published Oct 8, 2026
- SDK agents faster and cheaper on Claude Opus 5.5 and Claude Sonnet 5.5Chaitanya Yadav (@believec_me), Staff Software Engineer at ThredUp (self-described: Agents built on the SDK by the author's team), Post on X, published Oct 4, 2026
- A hit 5-hour quota came back as a successful resultArthurain, engineer and product builder (self-described: Jobs run through the SDK on a Claude plan), Post on X, published Oct 1, 2026
- Session store writes and reads derive project_key differently, so a git-worktree session lists and resumes as emptyfeiiiiii5, GitHub user filing an issue (self-described: Sessions started in a git worktree and mirrored to a SessionStore), GitHub issue, published Sep 27, 2026
- Headless claude -p (entrypoint sdk-cli) uses about 1.8x more of the 5-hour window per token than interactive cliqvarker, GitHub user filing an issue for a team on a Max plan (self-described: A team moving the same work from the Claude Code terminal to headless runs on a Max plan), GitHub issue, published Sep 25, 2026
- Provide a public way to omit the injected SDK identity line when the caller supplies its own system promptHaminyG, GitHub user filing an issue (self-described: Team embedding the SDK behind an ACP adapter as its own product surface), GitHub issue, published Sep 22, 2026
- Comment on: Show HN: Share your AI Setup, Learn from othersrmazzolini, Hacker News commenter (self-described: Uses the SDK through a Pi package to reach a Claude subscription), Hacker News comment, published Sep 17, 2026
- Comment on: OpenAI Agents APIBockit, Hacker News commenter (self-described: Runs a personal agent setup evolved since November 2025), Hacker News comment, published Sep 11, 2026
- How to Move Fast When You Can't Afford to Be Wrong, with Rawia Ashraf of Thomson ReutersRawia Ashraf, Head of Product, CoCounsel Transactional and GCOs at Thomson Reuters (self-described: Thomson Reuters' rebuild of CoCounsel on the SDK), Podcast episode, So Many Questions, published Sep 3, 2026
- Subagent calls to in-process MCP tools fail after an SDK updatethradec, GitHub user filing an issue (self-described: Task subagents calling tools on an in-process SDK MCP server), GitHub issue, published Sep 1, 2026
- query() returns is_error with subtype "success" and api_error_status=400; --print succeeds with identical binary and credentialsmattleahy1, GitHub user filing an issue (self-described: SDK agents in containers on a Max plan login), GitHub issue, published Aug 2, 2026
- libc probe calls process.report.getReport() per query(), blocking the event loop on Linuxnija1993, GitHub user filing an issue (self-described: A long-lived server issuing many query() calls in a multi-tenant Linux pod), GitHub issue, published Jul 31, 2026
- Comment on: Claude: Elevated errors across all models, Resolvedteitoklien, Hacker News commenter (self-described: Personal voice agents on the SDK with Pipecat, managing parallel git worktrees), Hacker News comment, published Jul 30, 2026
- ToolSearch from deferred tool loading is not blocked by disallowed_tools, and costs about 10x on single-tool sessionsMarcellZamboHu, GitHub user filing an issue (self-described: A session exposing one in-process MCP tool with the built-in tools denied), GitHub issue, published Jul 25, 2026
- Post on X by @winchxyzwinchxyz, builder on X (self-described: Weeks of building on the SDK), Post on X, published Jul 22, 2026
- A global Fable default and an undefined orchestrator model exhausted a shared Max allocation and stopped an 18-agent fleet; the author closed it as user-side configuration, not an SDK bugJeffMWilson, GitHub user filing an issue for a team's agent fleet (self-described: A Node multi-agent system of 18 processes on one Claude Max login), GitHub issue, published Jul 12, 2026
- Bedrock: thinking display 'summarized' not forwarded, so Opus 4.8 thinking blocks stream emptyMatt Schweers, Quickbase (schweers-qb on GitHub) (self-described: SDK agents on Amazon Bedrock, on macOS and in Linux ECS containers), GitHub issue, published Jul 10, 2026
- [Architecture] The subprocess-based agent loop causes poor performance and memory bottlenecks in server-side, high-concurrency usejunneyang, GitHub user filing an issue (self-described: A load test of the SDK against LangChain's DeepAgent on a 4-core, 8 GB server), GitHub issue, published Jul 9, 2026
- What a harness is and how to build one with Claude Agent SDKClaire Vo, ChatPRD builder and How I AI host (A Sentry bug-debugging harness built for ChatPRD, with a live investigation in the episode), Podcast episode, How I AI, published Jul 8, 2026
- Comment on: The gauge broke: devs felt 20% faster with AI, measured 19% slowerbeaugunderson, Hacker News commenter (self-described: Built a user acceptance testing agent that runs against temporary instances of the team's pull requests), Hacker News comment, published Jul 2, 2026
- Comment on: Claude Tagmogili, Hacker News commenter (self-described: Slack agent built for the commenter's company), Hacker News comment, published Jun 24, 2026
- What if your product built itself?Josh Snyder, PostHog (self-described: PostHog's pipeline that turns product signals into pull requests), Company engineering blog, published Jun 22, 2026
- Claude agent sdk uses quota fasterkhalil_ben_zineb, r/ClaudeCode poster running an own harness on the SDK (self-described: An Opus orchestrator with Sonnet subagents on Claude Max 5x, run from a home PC), Reddit post, r/ClaudeCode, published Jun 16, 2026
- Claude Agent SDK vs OpenAI Agents SDK: I Built the Same Agent in BothElshad Karimov, builds production agents for clients (self-described: Same lead research agent built in the Claude Agent SDK and the OpenAI Agents SDK), Personal newsletter (Substack), published Jun 13, 2026
- Post on X by @Validate_QAvalidate.qa, company account of an AI end-to-end testing product (self-described: Test-run pipeline on the SDK), Post on X, published Jun 13, 2026
- Comment on: Building agents without harness engineeringsidhusmart, Hacker News commenter (self-described: Internal agent rollout at the commenter's employer), Hacker News comment, published Jun 11, 2026
- Coding Is No Longer the Constraint: Scaling Developer Experience to Teams and Agents at SpotifySpotify Engineering, on a Code with Claude 2026 talk by Niklas Gustavsson, Chief Architect and VP of Engineering (Honk, Spotify's background coding agent for fleet-wide migrations, used across the company), Company engineering blog, published Jun 3, 2026
- CI failing, no new package updates, bundled CLI stuck at 2.1.150, so no Opus 4.8twidi, GitHub user filing an issue (self-described: Waiting on a Python SDK release to use a new model), GitHub issue, published May 29, 2026
- Bundled CLI never reads prompt cache in multi-turn headless runs (direct anthropic SDK over the same endpoint caches correctly)raspin-home, GitHub user filing an issue (self-described: Headless Python runs with MCP servers in Docker on the Claude on AWS endpoint), GitHub issue, published May 20, 2026
- Comment on: Show HN: Claude-pee: use Claude -p without the programmatic usage credit poolstingraycharles, Hacker News commenter (self-described: Projects built on the SDK, written before Anthropic paused the June 15, 2026 billing change), Hacker News comment, published May 14, 2026
- What Anthropic's New Claude Billing Means for Zed UsersFranciska Dethlefsen, Zed (self-described: Claude Code in Zed, which reaches Claude through ACP and the Agent SDK), Company engineering blog, published May 14, 2026
- Post on X by @nfarinaNick Farina, co-founder of Denada (self-described: Product chat built on the SDK), Post on X, published May 11, 2026
- Bundled claude binary hangs when stdout is not a TTY (pipe, file, launchd, cron, Docker)pfrank8, GitHub user filing an issue (self-described: Headless SDK scripts under launchd, cron and Docker), GitHub issue, published May 7, 2026
- Claude Agent SDK in production: a studio's playbookSadig Muradov, founder of Autoolize (About 40 triage, extraction, and research agents Autoolize shipped for B2B clients in 2025 and 2026), Company engineering blog, published May 5, 2026
- Comment on: Show HN: Pu.sh, a full coding-agent harness in 400 lines of shellzackham, Hacker News commenter and author of aloop (self-described: Several projects that needed a harness without a single model vendor), Hacker News comment, published May 1, 2026
- OTel telemetry: token counts emitted as input_tokens/output_tokens instead of the GenAI convention gen_ai.usage.*paxmitchell, GitHub user filing an issue (self-described: Exporting the SDK's OpenTelemetry traces to a backend that reads the GenAI conventions), GitHub issue, published Apr 25, 2026
- Linux: musl binary preferred over glibc in v0.2.116 CLI auto-discoverygh-gill, GitHub user filing an issue (self-described: Ubuntu 24.04 with pnpm installing both platform packages), GitHub issue, published Apr 21, 2026
- Comment on: Anthropic says OpenClaw-style Claude CLI usage is allowed againskapadia, Hacker News commenter (self-described: Prototypes agents with Claude Code embedded, on a Claude plan), Hacker News comment, published Apr 21, 2026
- Opus 4.7 + 0.1.58 = thinking.type.enabled errors?beaugunderson, GitHub user filing an issue (self-described: Moving an SDK agent to a new Opus release), GitHub issue, published Apr 16, 2026
- Post on X by @rwdaigleRyan Daigle, VP of Engineering at Glide (self-described: Prototype of the SDK inside a worker runtime), Post on X, published Apr 12, 2026
- outputFormat returns subtype 'success' when structured_output is absentjasonkhaihoang, GitHub user filing an issue (self-described: Structured JSON output from query() with nested schemas), GitHub issue, published Apr 10, 2026
- Comment on: Issue: Claude Code is unusable for complex engineering tasks with Feb updatesbmitc, Hacker News commenter, self-described, Hacker News comment, published Apr 7, 2026
- Ask HN: Claude Agent SDK vs. Messages API for a Production AI Assistant?makeavish, Hacker News poster (self-described: Adding a chat assistant with MCP tools, SSE streaming, and saved history to a B2B developer tool), Ask HN post, published Apr 7, 2026
- Comment on: Ask HN: Claude Agent SDK vs. Messages API for a Production AI Assistant?SerafimKorablev, Hacker News commenter whose team released its agent infrastructure as 21st.dev Agents (self-described: Team that moved a multi-tenant web product from the Vercel AI SDK to the SDK), Hacker News comment, published Apr 7, 2026
- listSessions() spawns full CLI process: 900MB+ memory for metadata querytombelieber, GitHub user filing an issue (self-described: A Node sidecar that lists sessions for a health endpoint), GitHub issue, published Apr 4, 2026
- Am I the only one struggling with invalidated caches?bzj55pnkxy-droid, GitHub user filing an issue (self-described: Multi-turn TypeScript SDK sessions), GitHub issue, published Apr 2, 2026
- Hosting the Claude Agent SDK in Production - What You Need to KnowMichael Ridland, CTO of Team 400 (SDK agents Team 400 hosts for client projects, such as per-invoice extraction containers), Company engineering blog, published Apr 2, 2026
- Comment on: OpenHarness, Composable TypeScript SDK for building powerful agent harnessesMaxGfeller, author of OpenHarness (self-described: Built a separate TypeScript harness on Vercel's AI SDK after trying the Agent SDK, Codex, and OpenCode programmatically), Hacker News comment, published Mar 31, 2026
- Post on X by @gilnotmountainGil, self-described AI and Automations Director (self-described: Optimizing SDK cost with MCP servers), Post on X, published Mar 28, 2026
- [feature] add other model provider support to AgentDefinitionDavidrjx, GitHub user filing an issue (self-described: Tested Anthropic's example research agent), GitHub issue, published Mar 26, 2026
- What we wish we knew about building AI agentsIan Vanagas, PostHog (self-described: PostHog AI, the in-product agent PostHog rebuilt on its third harness), Company engineering blog, published Mar 24, 2026
- Comment on: Launch HN: Terminal Use (YC W26), Vercel for filesystem-based agentschenxi9649, Hacker News commenter (self-described: Building a Lovable-style app builder agent, first self-managed in Daytona containers), Hacker News comment, published Mar 10, 2026
- Comment on: Ask HN: What Are You Working On? (March 2026)red_hare, university instructor teaching agent development (self-described: Human-in-the-loop grading agent for teaching assistants), Hacker News comment, published Mar 9, 2026
- Comment on: Launch HN: Terminal Use (YC W26), Vercel for filesystem-based agentsvivekraja (Vivek), co-founder of Terminal Use (YC W26) (self-described: Startup hosting sandboxed agents built on several agent SDKs), Hacker News comment, published Mar 9, 2026
- The Claude Agent SDK: What It Is and Why It's Worth UnderstandingKyle Redelinghuys, developer and newsletter author (self-described: Weeks of experiments with subagents and sessions for a multi-agent code review setup), Personal blog post, published Mar 2, 2026
- Comment on: Claude Code Remote Controlyoyohello13, Hacker News commenter (self-described: Python SDK user), Hacker News comment, published Feb 25, 2026
- Comment on: AI is not a coworker, it's an exoskeletonstpedgwdgfhgdd, Hacker News commenter (self-described: Code review agent integrated with GitLab for the commenter's developers), Hacker News comment, published Feb 20, 2026
- Comment on: Minions, Stripe's Coding Agents Part 2eric_khun, Hacker News commenter (self-described: Debugging agents built on the SDK), Hacker News comment, published Feb 20, 2026
- Comment on: Anthropic officially bans using subscription auth for third party useqwertox, Hacker News commenter (self-described: Building a system around the SDK), Hacker News comment, published Feb 19, 2026
- I built an orchestration layer on Claude Agent SDK: agents execute from specs in sandboxes and validate their own workOne_Pomegranate_367, builder of the open-source OmoiOS (self-described: OmoiOS, which turns a written spec into sandboxed tasks and pull requests), Reddit post, r/ClaudeAI, published Feb 17, 2026
- NanoClaw - runs on Claude Agent SDK, each agent in an isolated container, connects to WhatsAppMeltingHippos, builder of NanoClaw (self-described: NanoClaw, an open-source assistant that starts Claude Code jobs from WhatsApp), Reddit post, r/ClaudeCode, published Feb 13, 2026
- Comment on: Launch HN: Omnara (YC S25), Run Claude Code and Codex from anywherekmansm27 (Kartik), co-founder of Omnara (YC S25) (self-described: Web and mobile interface for Claude Code sessions), Hacker News comment, published Feb 12, 2026
- Agent SDK should support Max plan billing, not just API keysAFDudley, builder of an open source agent coordination system (self-described: Orchestrates Claude Code workers across repositories for users who hold Claude plans), GitHub issue, published Feb 10, 2026
- Session resume silently creates new session despite valid session file and correct parametersRomanLuo523, GitHub user filing an issue (self-described: Kubernetes deployment with session files on shared NFS storage), GitHub issue, published Feb 7, 2026
- Claudius: I rebuilt OpenCode Desktop to use the official Claude Agent SDKcrisogray, builder of Claudius (self-described: Claudius, an open-source desktop app for orchestrating Claude Code), Reddit post, r/ClaudeAI, published Feb 2, 2026
- Breaking: Duplicate tool_use IDs in v0.2.19beerjongen, GitHub user filing an issue (self-described: Multi-turn conversations with tool use on Linux), GitHub issue, published Jan 25, 2026
- Comment on: Claude Code's new hidden feature: Swarmsadastra22, Hacker News commenter (self-described: Uses the SDK with a Claude subscription), Hacker News comment, published Jan 25, 2026
- Craft Agents - Our take on working effectively with Agents. (Available Open Source)Balint Orosz, founder of Craft (self-described: Craft Agents, a desktop agent app Craft built on the SDK and released as open source), Post on X, published Jan 19, 2026
- Building Multi-Agent Systems (Part 3)Shrivu Shankar, VP of AI at Abnormal AI (The last several agents he has built), Personal newsletter (Substack), published Jan 18, 2026
- I Found a Way to Use Claude Agent SDK Inside LangGraph NodesKhaled Elfakharany, CTO and senior software engineer (self-described: An 11-agent startup due diligence system with LangGraph nodes that each call the SDK), Personal blog post, published Jan 16, 2026
- Comment on: Anthropic: Developing a Claude Code competitor using Claude Code is bannedBoorishBears, Hacker News commenter building a product on the SDK (self-described: Product built on the SDK for open-ended agent work outside coding), Hacker News comment, published Jan 11, 2026
- Add OpenTelemetry Tracing Supportvasantteja, contributor adding SDK instrumentation to opentelemetry-python-contrib (self-described: OpenTelemetry instrumentation for the Python SDK), GitHub issue, published Jan 5, 2026
- Claude Agent SDK, Full Workshop: Thariq Shihipar, AnthropicThariq Shihipar, Anthropic (self-described: AI Engineer workshop on the SDK's design), Conference workshop, AI Engineer, published Jan 5, 2026
- Comment on: Show HN: Agent37, Monetize your Claude skills with shareable linksvishnukool, founder of Agent37 (self-described: Builds paid skill-based agents for non-technical creators), Hacker News comment, published Dec 29, 2025
- Feature Request: Cloud-Based Session Storage for Session Managementtahitimoon, GitHub user filing an issue (self-described: Planning a production deployment), GitHub issue, published Dec 18, 2025
- Question: Is it possible to use Non-Anthropic models with Claude Agent SDK?njchandu, GitHub user filing an issue, self-described, GitHub issue, published Dec 11, 2025
- Feature Request: Customizable Session Storage Backend for Cloud/Kubernetes DeploymentsWanderingSovereign, GitHub user filing an issue (self-described: Kubernetes deployment that synced session files to PostgreSQL as a workaround), GitHub issue, published Dec 11, 2025
- Cost tripled between v0.1.30 and v0.1.60?John Wall (juanwall), building Moon Banking (self-described: Same repetitive tasks before and after an SDK upgrade), GitHub issue, published Dec 6, 2025
- How we instrumented Claude Agent SDK using a tiny Rust proxyDinmukhamed Mailibay, Laminar (self-described: Laminar, an agent observability company, building tracing for SDK users), Company engineering blog, published Dec 3, 2025
- Observability with OpenTelemetrymetaskills, GitHub user filing an issue (self-described: Self-hosting agents with Langfuse for telemetry), GitHub issue, published Nov 27, 2025
- Comment on: Agent design is still hardmoinism, Hacker News commenter (self-described: Three weeks building one agent, trying three SDKs), Hacker News comment, published Nov 22, 2025
- How I Use Every Claude Code FeatureShrivu Shankar, VP of AI at Abnormal AI (A planning tool built on the SDK, rolling out in Abnormal's work monorepo), Personal newsletter (Substack), published Nov 2, 2025
- Setting temperature through the agent SDKsammy17, GitHub user filing an issue (self-described: Task that needs consistent, reproducible output), GitHub issue, published Oct 20, 2025
- Session management is not clearly documented and exposedtristanz, GitHub user filing an issue (self-described: Agents embedded in cloud platforms), GitHub issue, published Sep 30, 2025
- The Claude Code SDK and the Birth of HaaS (Harness as a Service)Vivek Trivedy, Applied Research lead at LangChain (A storybook agent he released on the SDK, built by customizing its prompt, tools, context, and subagents), Personal blog post, published Sep 23, 2025
- Claude Code: Now in Beta in ZedMorgan Krey, Zed (self-described: Zed's Claude Code integration, an open-source adapter on the SDK for the Agent Client Protocol), Company engineering blog, published Sep 3, 2025
- Comment on: Gemini Embedding: Powering RAG and context engineeringpjm331, Hacker News commenter (self-described: Compared a RAG setup on AWS knowledge bases with agentic search), Hacker News comment, published Jul 31, 2025
- JSONDecodeError: Subprocess buffer truncates large messagesgrytrn, GitHub user filing an issue (self-described: Long responses from the Python SDK), GitHub issue, published Jun 21, 2025
Jun 2025 to Oct 2026.
98 sources from practitioners, by month and sentiment.
Where It Fits
Where does Claude Agent SDK belong in the stack?
Claude Agent SDK is Core across Build, supports Operate, and touches Model, Data, and Evaluate.
- Business area
- Product & Engineering
- Function
- Software Development
- Operating stack
- AI Application Platform
- Primary role
- Agent Harness SDK
Model
Model APIs: Touches
Model APIs, touches. The SDK calls Claude models through the Anthropic API, Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, or Microsoft Foundry, and is billed at those platforms' token prices.
Model gateway: Touches
Model gateway, touches. ANTHROPIC_BASE_URL routes the subprocess's model calls through a proxy, and each subagent can name its own Claude model; routing across providers stays with a gateway.
Build
Orchestration: Core
Orchestration, core. This is the SDK's primary role: query() and ClaudeSDKClient run Claude Code's agent loop with subagents, hooks, context compaction, and sessions that resume or fork, in Python 3.10+ or Node.js 18.14+.
Tool use: Supports
Tool use, supports. Built-in tools read and edit files, run shell commands, and search the web; custom tools run as in-process MCP servers, and permission rules, hooks, and canUseTool decide which calls run. The systems those tools reach stay with the team.
Data
Retrieval: Touches
Retrieval, touches. Agents search files with the Grep and Glob tools and fetch pages with WebFetch; indexing and vector search over company data stay with a retrieval product or an MCP server.
Evaluate
Evaluation: Touches
Evaluation, touches. Result messages report turns, usage, and estimated cost per run, and structured outputs validate against a JSON schema; datasets, graders, and experiments stay with an evaluation tool.
Operate
Observability: Touches
Observability, touches. The CLI subprocess exports OpenTelemetry metrics, log events, and beta traces to a backend the team runs; the SDK emits no telemetry of its own.
Cloud deployment: Supports
Cloud deployment, supports. Anthropic documents ephemeral, long-running, and hybrid hosting patterns with Docker and Kubernetes examples and a SessionStore adapter for transcripts. The team runs the containers, sized from 1 GiB RAM and 1 CPU per agent.
Guardrails: Supports
Guardrails, supports. The Claude Agent SDK exposes permission callbacks and PreToolUse hooks that gate tool calls. A hook can inspect each call and block actions before execution.
Market mapThe layers Claude Agent SDK covers, and who else owns each one.
Orchestration & agent frameworks
Tool use & integrations
Cloud deployment & capacity
Guardrails & AI security
- Prisma AIRS
- NeMo Guardrails
Model APIs
4 more layers on the full map. Core, Supports and Touches describe coverage. They say nothing about quality.
Models
Which models run in Claude Agent SDK?
The current releases GILD tracks that public sources record running in Claude Agent SDK. Each model's page charts its public benchmark scores.
