Alternatives · Agents & Automation · v2026.Q3 · verified 2026-08-06

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

  1. 2OpenAI Agents SDKOpenAI

    Free (MIT) · you pay standard OpenAI API token + tool pricing · works with 100+ providers via LiteLLM

    Best 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.

    35.5M PyPI downloads in the last 30 days; v0.19.4 (Aug 2026) [src] · Apr 15, 2026 update: sandboxing, model-native harness, long-horizon tasks; Python first, TypeScript to follow [src]
  2. 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.

    56.4k GitHub stars, MIT (Aug 2026); 14.3M PyPI downloads/30 days, v1.15.12 [src] · 2B agent executions in past 12 months; 'used by 65% of the Fortune 500' (vendor, Apr 2026) [src]
  3. 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.

    16.1M PyPI downloads in the last 30 days; v2.24.0 (Aug 2026) [src] · 17.5k GitHub stars, MIT (Aug 2026); model-agnostic across OpenAI, Anthropic, Gemini, Mistral et al. [src]
  4. 5MastraMastra (YC W25, ex-Gatsby team)

    Framework free (Apache-2.0, EE dirs licensed) · Cloud: Starter $0 · Teams $250/mo · Enterprise custom

    Best 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.

    26.9k GitHub stars; Replit, SoftBank, Sanity, WorkOS, Factorial cited (mastra.ai, Aug 2026) [src] · #1 of 9 frameworks in AgentMail's hands-on 2026 test — 2.2s median latency, ~1,371 input-token overhead [src]

Every other live option in agent framework

All active agent framework tools beyond the top five — verified 2026-08-06.
ToolMakerWhat it isEntry
Microsoft Agent FrameworkMicrosoftSK + 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 5free (MIT)
Claude Agent SDKAnthropicClaude 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-onlyfree SDK + API usage
Vercel AI SDKVercelThe TS toolkit (24.9k stars) with ToolLoopAgent and agent-UI streaming — lightest install of any tested framework; best for adding agents to existing web appsfree (Apache-2.0)
smolagentsHugging FaceAgents that write code instead of JSON tool calls — 27.3k stars, barebones by design; great for learning and single-agent automationfree (Apache-2.0)
Google ADKGoogleCode-first Python/Java toolkit (19.6k stars) behind Vertex AI Agent Builder; hierarchical agents, strong evals — friction outside GCPfree (Apache-2.0)
Strands AgentsAWSModel-driven Python SDK (5.9k stars, v1.40 May 2026); AWS's open framework, pairs with Bedrock AgentCore for hostingfree (Apache-2.0)
AgnoAgno (ex-Phidata)41.6k stars — SDK + AgentOS runtime + UI in one; the strongest 'agent platform in a box' pitch of the independentsfree (Apache-2.0)
LettaLetta (ex-MemGPT)Stateful agents with self-editing memory (24k stars) — overlaps the memory element; pick it when persistence IS the productfree + cloud tiers
LlamaIndex WorkflowsLlamaIndexEvent-driven agent workflows atop the RAG library; solid, but the company's center of gravity is LlamaCloud document AI → see Vdfree (MIT)
HaystackdeepsetPipeline framework (25.5k stars) with agent support; leans RAG/search more than autonomyfree (Apache-2.0)
AG2community (ex-AutoGen founders)The fork that kept AutoGen's conversable-agent API alive — ~100k monthly installs, the refuge for teams refusing the MAF migrationfree (Apache-2.0)
DSPyStanford NLP / communityPrograms-not-prompts optimizer, often mislabeled an agent framework — it compiles prompts, it doesn't run tool loops; pair it with one of the abovefree (MIT)
AutoGPTSignificant GravitasThe 2023 spark (186k stars) pivoted into a low-code agent platform (Polyform Shield license) — belongs closer to Wf now than to this elementfree + platform
ElizaOSEliza LabsTypeScript agent OS that owns the web3/social-agent niche; big stars, narrow lanefree (MIT)
CAMEL / OWLCAMEL-AI.orgResearch-grade multi-agent society framework; strong papers, thinner production storyfree (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.

Former agent framework options — status verified 2026-08-06.
ToolStatusWhat happened
AutoGensunsettingMaintenance mode since Apr 2026 — the first major framework sunset; 54k+ developers pointed at Agent Framework, AG2, or a frozen 0.2
Semantic KernelsunsettingThe enterprise .NET pioneer (28k stars), folded into Agent Framework; v1.x maintained at least a year past MAF GA, but the road ends there
BabyAGIfadingThe 105-line task-loop that co-launched the 2023 agent craze; reframed as an experimental 'self-building' toy in 2024, quiet since
MetaGPTfading'Software company as multi-agent' research hit; team's energy moved to the MGX app-builder product → see Vb
SuperAGIfadingDev-first framework of 2023 that pivoted to packaged sales/CRM agents; framework repo momentum long gone
GriptapefadingPython 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 →