Stack Gems
Menu
← Catalog

Claude Agent SDK

MIT first-party Anthropic SDK — Claude Code agent loop in your app

AI Agents / Agents · OSS/MIT · 8.3k

Reviewed 2026-09-29 · last push 2026-10-18 · repo checked 2026-10-19

What's Good

MIT (anthropics/claude-agent-sdk-python ★8,186; TypeScript sibling exists). Programmatic access to agent sessions, built-in tools, permission hooks, and Claude Code–aligned workflows without forking the CLI. Docs at platform.claude.com Agent SDK overview. ★8,186 (Python) on GitHub as of 2026-09-29.

The Catch

Vs Claude Code (paid terminal product) and OpenAI Agents SDK / Google ADK / Microsoft Agent Framework: this is Anthropic’s first-party embeddable agent runtime, not a multi-provider framework and not the Claude Code subscription UI. You still pay Claude API (or auth) tokens; SDK license is MIT, model usage is not free.

Verdict

MIT Anthropic Agent SDK when you want Claude Code’s loop inside your app — not the Claude Code Max plan, not a multi-vendor agent framework.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/claude-agent-sdk.svg)](https://stackgems.com/gems/claude-agent-sdk)

HTML

<a href="https://stackgems.com/gems/claude-agent-sdk"><img src="https://stackgems.com/badge/claude-agent-sdk.svg" alt="Claude Agent SDK reviewed on Stack Gems" height="20"></a>