LangGraph alternatives, 2026.Q3: every real option, ranked
The short answer
Edition v2026.Q3 · pricing and status verified 2026-08-06.
OpenAI Agents SDK is the strongest LangGraph alternative for most — the shortest path from idea to working agent — minimal primitives (agents, handoffs, guardrails, sessions) with OpenAI's weight behind them. Then: CrewAI · Pydantic AI · Mastra. Below, all 19 real options in the agent framework category, with pricing and honest watch-outs — plus the 6 "alternatives" other lists still recommend that are dead, renamed, or sunsetting.
Why people look past LangGraph at all: The steepest learning curve of the top five — graph ceremony is overkill for simple tool loops, and the ecosystem's gravity pulls you toward paid LangSmith/Platform ($1.50/LCU adds up on chatty agents). Aggregate download counts include heavy CI/mirror traffic — treat absolutes with care.
The top LangGraph alternatives, ranked
2OpenAI Agents SDKOpenAI
Free (MIT) · you pay standard OpenAI API token + tool pricing · works with 100+ providers via LiteLLMBest for The shortest path from idea to working agent — minimal primitives (agents, handoffs, guardrails, sessions) with OpenAI's weight behind them.
Watch Still pre-1.0 (v0.19.4) after 99 releases — API drift is real and testers hit breaking changes. Provider-agnostic on paper, but tracing, evals, and the new harness all pull you deeper into the OpenAI platform.
3CrewAICrewAI Inc.
OSS free (MIT) · Platform: free tier 50 executions/mo · Enterprise custom (SSO, RBAC, forward-deployed engineers)Best for Role-based multi-agent teams — describe agents as colleagues with roles, goals and tools, and get a working crew in an afternoon.
Watch The tested weaknesses are consistent: an 856MB install dragging unneeded dependencies, 4.0s median latencies (slowest of the majors bar Claude SDK), and multi-agent chatter that inflates token costs 3–5x. Only $18M raised — thin capitalization next to LangChain's $260M if the category consolidates.
4Pydantic AIPydantic Services
Free (MIT) · optional Logfire observability (free tier, then usage-based)Best for Production Python teams who want agents treated as typed, testable software — validation, dependency injection, structured streaming.
Watch Smallest community of the top five (17.5k stars), no visual tooling or hosted runtime — you bring your own deployment story. Moved fast from v1 to v2; 'stable' has meant less here than at LangChain.
5MastraMastra (YC W25, ex-Gatsby team)
Framework free (Apache-2.0, EE dirs licensed) · Cloud: Starter $0 · Teams $250/mo · Enterprise customBest for TypeScript-first teams building agent products — agents, workflows, memory, evals and a visual studio in one modern TS stack.
Watch Youngest of the five — the open-core split (Apache core, 'Mastra Enterprise License' ee/ directories) appeared in 2026 and is worth reading before you depend on a feature. TypeScript only; Python shops should look elsewhere.
Every other live option in agent framework
| Tool | Maker | What it is | Entry |
|---|---|---|---|
| Microsoft Agent Framework | Microsoft | SK + AutoGen unified; 1.0 GA Apr 3, 2026 with .NET/Python parity, native MCP + A2A, Azure AI Foundry hookup — the .NET-shop default and the near-miss for the top 5 | free (MIT) |
| Claude Agent SDK | Anthropic | Claude Code's agent loop as a Python/TS library — tools, subagents, hooks, skills, MCP. Highest capability ceiling, heaviest context footprint (~35k tokens in tests), Claude-only | free SDK + API usage |
| Vercel AI SDK | Vercel | The TS toolkit (24.9k stars) with ToolLoopAgent and agent-UI streaming — lightest install of any tested framework; best for adding agents to existing web apps | free (Apache-2.0) |
| smolagents | Hugging Face | Agents that write code instead of JSON tool calls — 27.3k stars, barebones by design; great for learning and single-agent automation | free (Apache-2.0) |
| Google ADK | Code-first Python/Java toolkit (19.6k stars) behind Vertex AI Agent Builder; hierarchical agents, strong evals — friction outside GCP | free (Apache-2.0) | |
| Strands Agents | AWS | Model-driven Python SDK (5.9k stars, v1.40 May 2026); AWS's open framework, pairs with Bedrock AgentCore for hosting | free (Apache-2.0) |
| Agno | Agno (ex-Phidata) | 41.6k stars — SDK + AgentOS runtime + UI in one; the strongest 'agent platform in a box' pitch of the independents | free (Apache-2.0) |
| Letta | Letta (ex-MemGPT) | Stateful agents with self-editing memory (24k stars) — overlaps the memory element; pick it when persistence IS the product | free + cloud tiers |
| LlamaIndex Workflows | LlamaIndex | Event-driven agent workflows atop the RAG library; solid, but the company's center of gravity is LlamaCloud document AI → see Vd | free (MIT) |
| Haystack | deepset | Pipeline framework (25.5k stars) with agent support; leans RAG/search more than autonomy | free (Apache-2.0) |
| AG2 | community (ex-AutoGen founders) | The fork that kept AutoGen's conversable-agent API alive — ~100k monthly installs, the refuge for teams refusing the MAF migration | free (Apache-2.0) |
| DSPy | Stanford NLP / community | Programs-not-prompts optimizer, often mislabeled an agent framework — it compiles prompts, it doesn't run tool loops; pair it with one of the above | free (MIT) |
| AutoGPT | Significant Gravitas | The 2023 spark (186k stars) pivoted into a low-code agent platform (Polyform Shield license) — belongs closer to Wf now than to this element | free + platform |
| ElizaOS | Eliza Labs | TypeScript agent OS that owns the web3/social-agent niche; big stars, narrow lane | free (MIT) |
| CAMEL / OWL | CAMEL-AI.org | Research-grade multi-agent society framework; strong papers, thinner production story | free (Apache-2.0) |
The "LangGraph alternatives" to avoid — no longer what they were
Listicles still recommend these. As of 2026-08-06, they are not what the listicles think.
| Tool | Status | What happened |
|---|---|---|
| AutoGen | sunsetting | Maintenance mode since Apr 2026 — the first major framework sunset; 54k+ developers pointed at Agent Framework, AG2, or a frozen 0.2 |
| Semantic Kernel | sunsetting | The enterprise .NET pioneer (28k stars), folded into Agent Framework; v1.x maintained at least a year past MAF GA, but the road ends there |
| BabyAGI | fading | The 105-line task-loop that co-launched the 2023 agent craze; reframed as an experimental 'self-building' toy in 2024, quiet since |
| MetaGPT | fading | 'Software company as multi-agent' research hit; team's energy moved to the MGX app-builder product → see Vb |
| SuperAGI | fading | Dev-first framework of 2023 that pivoted to packaged sales/CRM agents; framework repo momentum long gone |
| Griptape | fading | Python framework + managed cloud with an enterprise-security pitch; development cadence visibly slowed through 2026 |
How to choose
- If your agent must run for hours, survive a restart, and pause for a human sign-off
- LangGraph — checkpointed persistence and interrupts are the core product, not a plugin, and the 1.0 API-stability promise de-risks the bet.
- If you're OpenAI-committed and want the fewest abstractions between you and a working agent
- OpenAI Agents SDK — ~16 lines to a tool-calling agent, plus the Apr 2026 sandboxed harness for long-horizon work. Accept pre-1.0 API drift as the tax.
- If you need a multi-agent demo for stakeholders this week, or business-process automation with named roles
- CrewAI — fastest concept-to-crew of the majors. Budget for the 3–5x token multiplier that agent chatter brings before you ship it.
- If your company writes TypeScript
- Mastra for agent-first products; Vercel AI SDK's ToolLoopAgent if you're just adding agent features to an existing Next.js/React app.
- If correctness, testing, and maintainability outrank orchestration ceremony
- Pydantic AI — typed outputs, dependency injection, and ~40% less code than LangGraph on reference builds. Also the honest default if a plain 50-line tool loop would do: learn loops, tools and state; the brand names rotate.
This analysis is drawn from the Agent Framework element dossier — the ranked top 5, the comparison matrix, and the complete field of 21 more tools live there, with every source. Data: ag.json (CC BY 4.0).
Every claim above is dated and sourced from the elems dossiers — 1,421 tools tracked across 58 categories, verified 2026-08-06, including the 276 we found dead, renamed, acquired, or sunsetting. Rankings are editorial, never paid — the charter.
Build your stack in 5 questions →