AI Agent Frameworks Compared 2026: LangGraph vs CrewAI vs ADK
I get asked which AI agent framework to use about once a week, usually by someone who has already built the same prototype in three of them and is now worried about picking wrong. The honest answer in October 2026 is that the frameworks have converged on the same ideas (tools, a loop, state, handoffs, a checkpoint you can resume from) and differ mostly in who maintains them, which model vendor they lean towards, and how much of the control flow you are allowed to see. This post compares ten AI agent frameworks as they stand today: LangGraph, CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Google ADK, Microsoft Agent Framework (the successor to AutoGen and Semantic Kernel), Pydantic AI, Mastra and LlamaIndex. Versions, stars and licences first came from the GitHub API on 20 October 2026; I re-ran the queries myself, plus PyPI and npm, on 26 November 2026, and they will drift again by next week.
Last checked: 26 November 2026.
What changed in agent frameworks between 2025 and 2026?
Three things happened in roughly twelve months, and together they make most 2025 comparison posts wrong.
First, the big Python frameworks reached 1.0 and then kept going. LangGraph 1.0.0 was tagged on 17 October 2025 and the library is at 1.2.24 today. CrewAI 1.0.0 followed on 20 October 2025 and is now at 1.15.45. Pydantic AI went to 1.0 in September 2025 and then to 2.0 on 23 June 2026; its changelog lists the breaking changes, including OpenAI model names now routing through the Responses API by default. Google's ADK 2.0 went GA for Python on 19 May 2026, for Go on 30 June and for TypeScript on 21 August, and swapped the hierarchical agent executor for a graph-based workflow runtime.
Second, Microsoft consolidated. Microsoft Agent Framework 1.0 shipped on 3 April 2026 for .NET and Python, merging Semantic Kernel and AutoGen. The AutoGen README now carries a caution banner saying the project is archived, that Microsoft is "not providing bug fixes, security fixes, new features, or support", and that new users should start with Agent Framework. The Semantic Kernel README calls Agent Framework its "enterprise-ready successor".
Third, the model vendors shipped their own harnesses. OpenAI's Agents SDK added Sandbox Agents in v0.14.0 on 15 April 2026: a persistent, isolated workspace with manifests, snapshots and resume. Anthropic renamed the Claude Code SDK to the Claude Agent SDK, which exposes the same agent loop, file tools and permission model that Claude Code runs on.
The convergence is the part worth noticing. LangGraph has had checkpoints and interrupt() for a while; ADK 2.0 and Agent Framework now both advertise graph workflows with human-in-the-loop pause and resume. When four teams independently arrive at "a state machine with durable checkpoints", that is probably what an agent framework is.
The comparison table: versions, licences and stars
Numbers below are from gh api repos/OWNER/REPO and releases?per_page=10, cross-checked against PyPI and npm, re-run on 26 November 2026 (first run on 20 October). Stars measure attention over a project's whole life, not current health, which the AutoGen row demonstrates nicely.
| Framework | Latest release (date) | Licence | GitHub stars | Languages | Best at | Source |
|---|---|---|---|---|---|---|
| LangGraph | 1.2.24 (20 Nov 2026) | MIT | 45,434 | Python, JS | Explicit graphs, checkpoints, interrupt() |
repo |
| CrewAI | 1.15.45 (24 Nov 2026) | MIT | 61,281 | Python | Role-based crews plus event-driven Flows | repo |
| OpenAI Agents SDK | v0.26.0 (24 Nov 2026) | MIT | 30,880 | Python, JS | Handoffs, guardrails, sessions, sandbox agents | repo |
| Claude Agent SDK | v0.2.189 (25 Nov 2026) | Anthropic Commercial Terms | 8,644 | Python, TS | Claude Code's loop, file and shell tools | repo |
| Google ADK | v2.15.1 (25 Nov 2026) | Apache-2.0 | 22,360 | Python, Go, TS, Java | Graph workflow runtime, Vertex AI deployment | repo |
| Microsoft Agent Framework | 1.26.0 on PyPI (12 Nov 2026) | MIT | 14,217 (20 Oct; repo returned 404 on 26 Nov) | Python, .NET, Go | Azure and Foundry shops, SK and AutoGen migrations | PyPI |
| Pydantic AI | v2.75.0 (25 Nov 2026) | MIT | 21,397 | Python | Typed outputs, dependency injection | repo |
| Mastra | @mastra/core 1.86.0 (25 Nov 2026) | Apache-2.0 plus ee/ licence |
29,824 | TypeScript | TS-native agents, workflows, memory | repo |
| LlamaIndex | v0.14.26 (13 Nov 2026) | MIT | 53,014 | Python, TS | Retrieval-heavy agents, Workflows | repo |
| AutoGen | python-v0.7.5 (30 Sep 2025) | MIT code, CC-BY-4.0 docs | 61,969 | Python, .NET | Nothing new: archived, migrate | repo |
Two licence details trip people up. The Claude Agent SDK Python repo has an MIT LICENSE file, but its README says use of the SDK "is governed by Anthropic's Commercial Terms of Service", and the TypeScript repo's licence file says the same thing outright. Mastra's licence file puts everything under Apache-2.0 except directories named ee/, which carry a separate enterprise licence. Neither is a problem for most teams. Both are worth a line in your dependency review.
One more caveat from the November re-check: gh api repos/microsoft/agent-framework returned 404 on 26 November, and so did the GitHub page, while the agent-framework package on PyPI still lists that repo as its source and shipped 1.26.0 on 12 November. I could not tell whether the repo was renamed, made private or moved, so the star count in the table and chart is the October figure.
What shipped between 20 October and 26 November 2026
- OpenAI Agents SDK v0.25.0 (17 November) removed the beta Runloop sandbox provider and changed how Pydantic run contexts are checkpointed; the notes say to upgrade checkpoint readers first. v0.26.0 followed on 24 November. A v1.0.0-alpha.1 prerelease (20 November) adds a
CodexProviderthat embeds Codex Core in the wheel; it is an alpha, so I would not pin it yet. - Google ADK shipped three minors with breaking changes. v2.13.0 defaults telemetry to the newer OpenTelemetry GenAI semconv and drops the
call_llmspan, and its README now marks Sequential, Parallel and Loop agents as deprecated. v2.14.0 passesEnumtool arguments as enum members rather than strings. v2.15.0 removed the interactive Visual Agent Builder from ADK Web. - LlamaIndex finally cut v0.14.26 on 13 November, the first release since 21 September; many integration packages raised their minimum Python version, flagged as breaking.
- Everyone else shipped steady point and minor releases: LangGraph went from 1.2.16 to 1.2.24, CrewAI from 1.15.28 to 1.15.45, Pydantic AI from 2.57.0 to 2.75.0, Mastra from 1.78.0 to 1.86.0 and the Claude Agent SDK for Python from 0.2.168 to 0.2.189. AutoGen is still archived, with no release since September 2025.
LangGraph vs CrewAI vs OpenAI Agents SDK: how they differ
The useful axis is not features but how much control flow the framework hides from you.
LangGraph hides almost nothing. You declare nodes, edges and a state schema, compile a graph, and pass a checkpointer. Every step writes a checkpoint keyed by thread_id, which is what makes pause, resume, time travel and human approval cheap to add. The cost is verbosity: a simple tool-calling loop is thirty lines where other frameworks need five. If you need an approval gate before a destructive tool, this is the framework where that is a first-class primitive, and I wrote a step-by-step LangGraph human-in-the-loop guide with Postgres persistence to show the whole path.
CrewAI starts at the other end: agents with roles, goals and backstories, grouped into a crew that works through tasks. Its README now positions Flows as the "precise, event-driven control" layer next to crews, which is CrewAI admitting, sensibly, that production work needs deterministic orchestration around the autonomous parts. It is quick to demo and the role metaphor is easy to explain to non-engineers. Debugging a crew that took an unexpected path is harder than debugging an explicit graph.
The OpenAI Agents SDK sits in the middle. The core is small: agents with instructions and tools, handoffs between agents, guardrails that validate input and output, and sessions for conversation history. Its README says it is provider-agnostic, supporting the Responses and Chat Completions APIs "as well as 100+ other LLMs". The April sandbox release is the bigger story (v0.25.0 in November dropped the beta Runloop provider, so check which sandbox backend you rely on): agents that work over a real filesystem and shell, with snapshots and resume. That moves the SDK from "orchestration library" into "harness", and it means you now have to think about where that sandbox runs.
Claude Agent SDK, Google ADK and Microsoft Agent Framework
The Claude Agent SDK is a different kind of thing. It is not an orchestration graph; it is the Claude Code agent loop, packaged. You get the built-in tools (read, write, edit, bash, search), hooks, subagents, MCP servers and a permission system, and you call it from Python or TypeScript. For agents that do work on files and code it is the shortest path to something capable, because the hard parts (context management, tool use, editing) are already tuned. The trade-offs are vendor lock-in to Claude models and the commercial terms noted above. I walked through the Python side in the Claude Agent SDK subagents guide, and if you want Anthropic to run the loop for you on your own infrastructure instead, the self-hosted Claude Managed Agents private beta is the newer option.
Google ADK is now the most multi-language option, with first-party repos for Python, Go, TypeScript and Java. ADK 2.0's release notes describe agents, tools and functions running as nodes in a workflow graph, and warn that custom session storage with rigid schemas must handle new event fields, and that broad exception handling in tools hides failures from the retry mechanism. If you run on Google Cloud and want Vertex AI Agent Engine as the deploy target, this is the default choice.
Microsoft Agent Framework is the answer for .NET teams and anyone already on Semantic Kernel or AutoGen. The 1.0 announcement promises stable APIs and long-term support, and Microsoft publishes migration guides from AutoGen and from Semantic Kernel. If you are still running AutoGen in production, that migration is no longer optional; an unpatched dependency in an agent with tool access is exactly the kind of risk I covered in MCP Security in 2026.
Pydantic AI, Mastra and LlamaIndex: the specialists
Pydantic AI is what I reach for when the agent is one component inside a normal Python service. Typed dependencies, validated structured outputs and model-agnostic providers make it feel like FastAPI rather than a framework with opinions about your architecture. The 2.0 jump matters if you pin loosely: a bare install now ships fewer provider extras, so Bedrock, Groq and Mistral need explicit installation.
Mastra is the TypeScript-native option, with agents, workflows, memory and evals in one package. @mastra/core 1.0.0 was tagged on 20 January 2026 and had reached 1.86.0 by 25 November, 86 minor releases later, which tells you both that it is moving fast and that you should pin it. If your product is a Next.js app, writing the agent in the same language is worth more than any feature on this list.
LlamaIndex remains strongest when retrieval is the job. Its event-driven Workflows now live in a separate llama-index-workflows package, and the main repo's release cadence is slower than the others (v0.14.26 on 13 November was its first release since 21 September). For agentic RAG over messy document sets it is still a sensible default.
How to choose an agent framework for production
Here is the decision as I would actually make it, as a dependency pin you can paste into a project and adjust:
# pyproject.toml: pick ONE orchestration layer, pin it exactly, review upgrades like any other dependency.
[project]
name = "ops-agent"
requires-python = ">=3.11"
dependencies = [
# Explicit graph, durable checkpoints, human approval gates:
"langgraph==1.2.24",
"langgraph-checkpoint-postgres==3.2.1",
# OR typed single-agent inside an existing service:
# "pydantic-ai==2.75.0",
# OR OpenAI-first with handoffs and sandboxes:
# "openai-agents==0.26.0",
# OR Google Cloud and Vertex AI Agent Engine:
# "google-adk==2.15.1",
# OR Azure or .NET shop, or migrating from AutoGen / Semantic Kernel:
# "agent-framework==1.26.0",
]
The rules behind that list:
- If a human must approve side effects, pick something with durable checkpoints. LangGraph, ADK 2.0, Agent Framework and Mastra's suspend and resume all qualify now. An approval that lives in process memory dies on the next deploy.
- If you are locked to one model vendor anyway, use its SDK. The OpenAI Agents SDK and Claude Agent SDK get new model features first and need less glue.
- Match the language of the product. TypeScript shops should look at Mastra or the JS ports before forcing a Python service into the stack.
- Do not choose by stars. The most-starred repo in the table is the one you should not start on.
- Budget for the parts no framework gives you. Isolation for code execution, identity for the agent, traces you can query, and policy on tool calls. The agent observability and sandbox questions are the same whichever framework you pick.
That last point is where platform discipline still earns its keep. Every framework here will happily run rm -rf if a model asks and a tool allows it. The framework decides the loop; your infrastructure decides the blast radius. (Disclosure: I run PandaStack, a Firecracker microVM cloud for agent code execution, so I have an obvious interest in that layer; the sandbox runtime comparison covers the options neutrally.) For the conceptual background on loops, planners and multi-agent patterns, see what AI agents are and how they are built.
FAQ
What is the best AI agent framework in 2026?
There is no single best one. LangGraph is the strongest general choice when you need explicit control, persistence and human approval; Pydantic AI is the lightest for typed agents inside a Python service; the OpenAI Agents SDK and Claude Agent SDK are best if you are committed to one model vendor. Pick by language, vendor and whether you need durable state.
Is AutoGen dead?
Effectively, yes. The AutoGen README says the project is archived and that Microsoft provides no bug fixes, security fixes or support, and directs new users to Microsoft Agent Framework, which reached 1.0 on 3 April 2026. Existing users should follow Microsoft's AutoGen migration guide.
LangGraph vs CrewAI: which should I use?
Use CrewAI if you want role-based multi-agent collaboration running quickly and can live with less visibility into each step. Use LangGraph if you need to see and control every transition, resume from checkpoints, or insert approval gates. Many teams prototype in CrewAI and rebuild the production path as an explicit graph.
Is the Claude Agent SDK open source?
Not in the usual sense. The Python repository contains an MIT licence file, but both SDK READMEs state that use is governed by Anthropic's Commercial Terms of Service, and the TypeScript repo's licence file says so directly. Treat it as a vendor SDK, not an open-source framework.
If I were starting an agent project this quarter, I would pick LangGraph with the Postgres checkpointer for anything that touches production systems, Pydantic AI for small typed agents embedded in existing services, and I would spend more time on the sandbox, identity and tracing around them than on the framework choice itself. I would also pin every version in that table exactly, because seven of the ten shipped a release in the week before I re-checked.
Related: AI Agent Sandbox Runtime: The Six Options and Who Uses Them, Agent-to-Agent Protocols in 2026: A2A Reached 1.0, Three ACPs Died or Merged, and MCP Learned to Do Most of the Same Job and Policy as Code for AI Agents in 2026: Cedar at the Gateway, Rego in the Hook, and the 11.2% the Model Still Lets Through.
Spot an error or something out of date? Email me and I will fix it and log it on the corrections page.
I'm Ajay Kumar — I build and operate PandaStack, an open-source Firecracker microVM cloud for AI agents, and write about the infrastructure and tooling around it.
Need this kind of infrastructure work? See what I do or email hello@ajayk.sh.
Related
Best Web Search APIs for AI Agents in 2026: 11 Compared on Price
Brave, Exa, Parallel, Tavily, Perplexity, Firecrawl, AgentCore, OpenAI, Anthropic, Gemini and Bing grounding compared for agent builders: price per 1,000 searches, own index or not, filters, MCP servers and data retention. Last tested 23 November 2026.
13 minNov 10, 2026API Gateways Compared 2026: Kong vs APISIX vs Envoy Gateway vs Traefik
Kong vs Apache APISIX vs Envoy Gateway vs Traefik vs Tyk vs AWS API Gateway in 2026: current versions, Gateway API conformance numbers, licensing changes like Kong's frozen OSS line, AI gateway features and what the performance claims really measure.
11 minNov 10, 2026Bedrock vs Azure Foundry vs Vertex AI (2026): Models, Pricing, Agents
Amazon Bedrock vs Microsoft Foundry (Azure OpenAI) vs Google Vertex AI, now Gemini Enterprise Agent Platform, compared for 2026: model catalogs, Flex and Priority tiers, provisioned throughput terms, data residency, agent runtimes and guardrails.
12 min