# Alternatives to Claude Agent SDK

> Source: https://theagentsindex.com/claude-agent-sdk/alternatives (current datasheets, evidence-ranked)

Candidates share the baseline category or are previously researched peers. Requirements, preserved strengths, explicit trade-offs and research coverage decide the order; paid tier does not.

## Shortlist

### 1. LangChain

Open source agent frameworks plus LangSmith, the platform for tracing, evaluating and deploying agents.

**Research coverage:** 34/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — OpenAI and Azure OpenAI are supported by API key, and Codex models can be used with a paid ChatGPT sign-in.](https://docs.langchain.com/oss/deepagents/code/providers)
- [Open models: yes — Open-weight models run locally through Ollama or hosted through Groq, Fireworks, Together, Baseten and OpenRouter.](https://docs.langchain.com/oss/deepagents/code/providers)
- [Model choice: yes — You pick the model; the framework's stated design goal is swapping providers without rewriting the application.](https://www.langchain.com/langchain)

**Trade-offs against Claude Agent SDK:**
- [Debugs and fixes: partial — LangSmith Engine diagnoses failures and proposes fixes, but the pricing table marks Engine N/A on the Developer plan.](https://www.langchain.com/langsmith-platform)
- [Writes tests: partial — Engine generates evals and datasets rather than unit tests, and the row is checked only for Plus and Enterprise.](https://www.langchain.com/pricing)
- [Self-hosted: partial — Platform self-hosting and hybrid are Enterprise-only; Developer and Plus are Cloud, while the open source packages run wherever you install them.](https://www.langchain.com/pricing)

[View LangChain](https://theagentsindex.com/langchain)

### 2. Agno

Python SDK, open-source AgentOS runtime and hosted control plane for building and operating agents.

**Research coverage:** 35/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — OpenAI is the default model provider; both Chat Completions and Responses adapters ship, plus Azure OpenAI.](https://docs.agno.com/faq/default-model)
- [Open models: yes — Local runtimes llama.cpp, LM Studio, Ollama and vLLM are first-class provider keys, alongside Llama, Mistral, DeepSeek and Qwen.](https://docs.agno.com/models/providers/model-index)
- [Model choice: yes — You choose the provider and can switch without rewriting agents; 30+ providers behind one API.](https://www.agno.com/)

**Trade-offs against Claude Agent SDK:**
- [Writes tests: partial — The documented Verify stage runs the repository's existing gates; test authoring appears only in the example prompt, not as a capability claim.](https://docs.agno.com/use-cases/coding-agents)
- [Agent permissions: partial — Runs are unattended unless a tool is marked for approval; then the run pauses in your database until an admin resolves it.](https://docs.agno.com/agent-os/approvals/overview)
- [In your pipeline: no — The enumerated serving surfaces are REST, MCP in Claude/ChatGPT and chat apps; no pull-request or CI surface appears.](https://www.agno.com/)

[View Agno](https://theagentsindex.com/agno)

### 3. Letta

Stateful agent harness, cloud and SDK for agents with persistent, git-versioned memory.

**Research coverage:** 35/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — OpenAI API keys and ChatGPT Plus/Pro Codex subscriptions both connect; toolsets switch per model family.](https://docs.letta.com/configuration/models/index.md)
- [Open models: yes — Ollama, LM Studio and llama.cpp endpoints are local-only integrations; DeepSeek, Mistral and Together are also listed.](https://docs.letta.com/configuration/models/index.md)
- [Model choice: yes — You pick the model and can switch mid-conversation; memory travels with the agent across providers.](https://docs.letta.com/configuration/models/index.md)

**Trade-offs against Claude Agent SDK:**
- [Writes tests: partial — Vendor claims agents run test suites; it never claims they author tests.](https://docs.letta.com/handbook/index.md)
- [MCP server: no — MCP runs inbound only: Letta sessions consume stdio, HTTP and SSE MCP servers; no Letta MCP server is published.](https://docs.letta.com/agent-sdk/mcp/index.md)
- [Pooled budget: no — Quota attaches to each purchased Pro seat; unpaid seats get no Letta-hosted inference at all.](https://docs.letta.com/teams/quickstart/index.md)

[View Letta](https://theagentsindex.com/letta)

### 4. LangGraph

Open-source orchestration framework and runtime for stateful, long-running LLM agents, from LangChain.

**Research coverage:** 35/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — First-party ChatOpenAI integration, plus AzureChatOpenAI for GPT models hosted on Azure; both are listed in the featured chat-model table.](https://docs.langchain.com/oss/python/integrations/chat/openai)
- [Open models: yes — Open-weight models run locally through the ChatOllama integration, and self-hosted vLLM and Hugging Face endpoints are documented as chat-model integrations.](https://docs.langchain.com/oss/python/integrations/chat/ollama)
- [Model choice: yes — You choose the model. LangGraph does no model abstraction of its own and the vendor markets provider-independence; the featured integration table spans OpenAI, Anthropic, Google, Bedrock, Ollama and more.](https://www.langchain.com/langgraph)

**Trade-offs against Claude Agent SDK:**
- [Debugs and fixes: partial — LangGraph itself does not diagnose code; the separate LangSmith Engine product analyses LangGraph agent traces, proposes fixes and can open a pull request with one.](https://docs.langchain.com/oss/python/langgraph/overview)
- [Agent permissions: partial — There are no preset permission tiers: you decide where the agent must stop by placing interrupt() calls, which pause the graph and wait for approval before continuing.](https://www.langchain.com/langgraph)
- [Admin controls: partial — Workspace RBAC and tag-based ABAC are Enterprise-only; other plans default every user to Admin. Gateway cost controls, rate limiting and PII redaction are checked on all three plans.](https://docs.langchain.com/langsmith/rbac)

[View LangGraph](https://theagentsindex.com/langgraph)

### 5. Mastra

Open-source TypeScript framework for building AI agents, with a hosted platform for running and observing them.

**Research coverage:** 35/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — OpenAI is a named first-class provider in the model router, with provider-specific options such as reasoningEffort.](https://mastra.ai/models)
- [Open models: yes — Open-weight models run against any OpenAI-compatible endpoint on your own hardware; the vendor names gpt-oss, Qwen3 and DeepSeek.](https://mastra.ai/models)
- [Model choice: yes — You choose the model per agent, per request or as a fallback chain; the router is explicitly positioned as provider-agnostic.](https://mastra.ai/ai-agent-framework)

**Trade-offs against Claude Agent SDK:**
- [Writes code: partial — Code mode has the model author a TypeScript function that orchestrates your tools, executed in a sandbox; it is a beta tool-use optimisation, not a code-authoring product.](https://mastra.ai/docs/agents/code-mode)
- [In your pipeline: partial — Scorers and eval suites run in CI through Vitest/Jest via runEvals; the vendor claims no agent that acts on a pull request.](https://mastra.ai/docs/evals/running-in-ci)
- [Admin controls: partial — RBAC restricts read/write/execute/delete per resource in Studio and on the API, but SSO and RBAC in production are Enterprise Edition features requiring a licence.](https://mastra.ai/docs/studio/auth)

[View Mastra](https://theagentsindex.com/mastra)

### 6. AgentsKit.js

TypeScript foundation for AI agents: runtime, tools, memory, RAG, model adapters and headless chat UI bindings.

**Research coverage:** 34/35 criteria

**Where it improves on Claude Agent SDK:**
- [GPT: yes — The OpenAI adapter supports the GPT and o-series models with streaming, parallel tool calling and multimodal parts; Azure hosting uses a distinct adapter.](https://www.agentskit.io/docs/data/providers/openai)
- [Open models: yes — Four local-runtime adapters plus a browser WebGPU adapter let open-weight models run on your own hardware with no hosted inference call at all.](https://www.agentskit.io/docs/data/providers/local)
- [Model choice: yes — You pick the model: one Adapter contract covers hosted, local and custom providers, and router, ensemble and fallback wrappers compose several candidates.](https://www.agentskit.io/)

**Trade-offs against Claude Agent SDK:**
- [Debugs and fixes: partial — The documented self-debug pattern feeds a failed run's own trace back to an agent to diagnose and retry; nothing describes diagnosing bugs in your application code.](https://www.agentskit.io/docs/agents/self-debug)
- [Writes tests: partial — Test writing is a prompt-level behaviour of the coder persona pinned to Vitest conventions, not a separate test-generation tool or package on the sheet.](https://www.agentskit.io/docs/agents/skills/coder)
- [How it meters: partial — The vendor meters nothing: there is no seat, credit or task price, and your only spend is provider tokens, which the cost guard caps per run.](https://www.agentskit.io/docs/production/observability/cost-guard)

[View AgentsKit.js](https://theagentsindex.com/agentskit)

## Method

Unknown data is never treated as a benefit or a trade-off. Featured placement is labelled but cannot alter recommendation order.
