Claude Agent SDK
The most recommended of 28 agent frameworks
Developers praise it for building agents on top of Claude Code at a predictable cost. Critics agree the main caveat is Anthropic's shifting rules on using subscriptions with it.
Developers praise it for building agents on top of Claude Code at a predictable cost. Critics agree the main caveat is Anthropic's shifting rules on using subscriptions with it.
61 people gave an opinion
- recommend it
- 36
- criticize it
- 25
- approval share
- 59%
Recommended in 11 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 36 people recommend itNeeds 10 or more, met.
- 1.4 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 11 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Strong, capable agent framework
“A few weeks ago the Claude Code Agent SDK was much better than the default Copilot Agent”
Comment from 18 Jun 2026 in “Local Qwen isn't a worse Opus, it's a different tool” “I'm building a product on the Claude Agent SDK, and it is the best in a specific way.”
Comment from 11 Jan 2026 in “Anthropic: Developing a Claude Code competitor using Claude Code is banned” “it's by far the most capable Agent as of today”
Comment from 29 Dec 2025 in “Show HN: Agent37 – Monetize your Claude skills with shareable links” - Comment from 6 Jul 2026 in “Anthropic's Method to Losing Goodwill in a Few Easy Steps”
- Comment from 6 Feb 2026 in “Ask HN: Best option for hosted agent in 2026?”
Predictable cost on subscription
“This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost.”
Comment from 21 Apr 2026 in “Anthropic says OpenClaw-style Claude CLI usage is allowed again” “I routinely use Agent SDK with my subscription and it doesn't come out of a separate budget.”
Comment from 28 Oct 2026 in “The Agent SDK” “The Agent SDK can piggyback on your existing Claude Code authentication”
Comment from 9 Jan 2026 in “Anthropic bans use of API in OpenCode CLI tool” Great developer experience
“Its hard to explain how amazing the UX compared to normal coding before.”
Comment from 30 Jul 2026 in “Claude Is Down” “Claude Code SDK (now called Agent SDK) is amazing”
Comment from 22 Nov 2025 in “Agent design is still hard” “after claude agent SDK it feels like peanuts”
Comment from 17 Dec 2025 in “Gemini 3 Flash: Frontier intelligence built for speed” - Comment from 22 Nov 2025 in “Agent design is still hard”
Delegates tasks and orchestrates subagents
“It was very useful to delegate things like create a ticket based on a discussion to Claude.”
Comment from 24 Jun 2026 in “Claude Tag” “let Claude orchestrate the subagents, the websearch and a sandbox”
Comment from 3 Nov 2025 in “We spent 47k running AI agents in production”
What people warn about
Each mark is one comment
Anthropic keeps changing subscription rules
“When Anthropic changed their T&Cs to disallow using claude code oauth tokens in the Anthropic Agent SDK”
Comment from 20 Mar 2026 in “Claude Code: Channels” “Very frustrating action from them, especially when use of subscriptions with Agents SDK was explicitly stated to be permitted a month ago.”
Comment from 18 Feb 2026 in “Anthropic bans OAuth tokens (including Agent SDK) in 3P tools” “I really wish Anthropic would make it clear (and allow us to use our subscriptions with other tools).”
Comment from 2 Feb 2026 in “Show HN: NanoClaw – "Clawdbot" in 500 lines of TS with Apple container isolation” - Comment from 6 Jul 2026 in “Anthropic's Method to Losing Goodwill in a Few Easy Steps”
- Comment from 7 Oct 2026 in “Claude Haiku 5.5”
- Comment from 7 Oct 2026 in “Claude Haiku 5.5”
- Comment from 7 Oct 2026 in “Claude Haiku 5.5”
- Comment from 7 Oct 2026 in “Claude Haiku 5.5”
- Comment from 7 Oct 2026 in “Claude Haiku 5.5”
- Comment from 8 Jul 2026 in “GPT-5.6 Sol, along with Terra and Luna, will launch publicly this Thursday”
- Comment from 19 Jun 2026 in “Anthropic "pauses" token-based billing for its Claude Agent SDK”
Heavy subprocess and MCP plumbing
“the library right now is a library with a subprocess (claude code) and the tools also need to be served via MCP, not exactly light weight”
Comment from 24 Jan 2026 in “Ask HN: Anyone using Claude Agent SDK in production?” “Anthropic expects you to use the Agent SDK with its "in-process MCP server" if you want to register custom tools, which sounds like a huge waste of resources”
Comment from 10 Apr 2026 in “I Still Prefer MCP over Skills” “Claude Agent SDK is poorly documented, half finished, and is just thin wrapper around a CLI tool”
Comment from 19 Feb 2026 in “Anthropic officially bans using subscription auth for third party use” - Comment from 11 Jun 2026 in “Building Agents Without Harness-Engineering”
Poorly documented and missing features
“Claude Agent SDK is poorly documented, half finished, and is just thin wrapper around a CLI tool”
Comment from 19 Feb 2026 in “Anthropic officially bans using subscription auth for third party use” “i have tried using claude agebt sdk without the claude code preset, and it is quite bad”
Comment from 25 Feb 2026 in “Pi – a minimal terminal coding harness” “the official Anthropic Agent SDK doesn't provide a way to stream json responses”
Comment from 29 Dec 2025 in “Koine”
Other agent frameworks people recommend
The four most recommended other agent frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 28 agent frameworks, rankedWhat people said
40 of the 66 comments that mention it, newest first. Each links to the original comment.
“I routinely use Agent SDK with my subscription and it doesn't come out of a separate budget.”
“The active project seems to use Claude code's agent API”
“they're definitely getting ready to yank using your subscription with the agent SDK”
“they're sneaking in taking the Claude Agent SDK (claude -p) off of subscription plans”
“Even after the June changes there was some allowance to use agent SDK on the pro plan.”
“taking the Claude Agent SDK (claude -p) off of subscription plans through the back door”
“Anthropic Trojan-Horsing the previously announced June change in with a model release”
“taking advantage of how it + anthropic models are complementary”
“Its hard to explain how amazing the UX compared to normal coding before.”
“I've been using the thing through their agent SDK for several months now”
“the announced changes around claude -p and Agent SDK use that were backtracked”
“I won't build up around claude code or agent sdk any longer because I expect this to change.”
“I have found it very powerful and flexible.”
“It was very useful to delegate things like create a ticket based on a discussion to Claude.”
“My frustration with Anthropic has been around the uncertainty of all of this.”
“A few weeks ago the Claude Code Agent SDK was much better than the default Copilot Agent”
“Building automations with claude agent sdk requires setting up separate infrastructure.”
“The agent sdk and -p were abused by other devs and "startups."”
“This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost.”
“Anthropic expects you to use the Agent SDK with its "in-process MCP server" if you want to register custom tools, which sounds like a huge waste of resources”
“When Anthropic changed their T&Cs to disallow using claude code oauth tokens in the Anthropic Agent SDK”
“i have tried using claude agebt sdk without the claude code preset, and it is quite bad”
“there's a race condition on it (issue #148 in the SDK repo) that causes intermittent crashes under load”
“Claude Agent SDK is poorly documented, half finished, and is just thin wrapper around a CLI tool”
“Very frustrating action from them, especially when use of subscriptions with Agents SDK was explicitly stated to be permitted a month ago.”
“SOTA right now is the Claude Agent SDK”
“I really wish Anthropic would make it clear (and allow us to use our subscriptions with other tools).”
“This project uses the Agents SDK so it should be kosher in regards to terms of service.”
“Yes, you can build feature in OP with SDK have done this. Works well”
“it works out of the box, and AFAIK it is not a ToS violation”
“the library right now is a library with a subprocess (claude code) and the tools also need to be served via MCP, not exactly light weight”
“or better there is a claude agent sdk, both of which have clear auth and are permitted acc to anthropic”
“I'm building a product on the Claude Agent SDK, and it is the best in a specific way.”
“The Agent SDK can piggyback on your existing Claude Code authentication”
“it's by far the most capable Agent as of today”
“the official Anthropic Agent SDK doesn't provide a way to stream json responses”
“after claude agent SDK it feels like peanuts”
“Claude Code SDK (now called Agent SDK) is amazing”
“using cc is the first that has felt magic”
“let Claude orchestrate the subagents, the websearch and a sandbox”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.