AI Agent Frameworks Compared (2026): LangGraph, CrewAI, OpenAI, Google ADK and More

AI Agent Frameworks Compared (2026): LangGraph, CrewAI, OpenAI, Google ADK and More
Updated 26 November 2026. Versions, licences and GitHub stars were checked against each project’s repository and package registry on that date.
For most teams the choice comes down to three questions: which language you build in, whether you are tied to one model provider, and how much control you need over long-running agent state. LangGraph gives the most control over stateful agents, CrewAI is the quickest way to stand up a multi-agent team, and the OpenAI, Google and Anthropic SDKs are the shortest path if you already use that provider.
AI agent frameworks at a glance
| Framework | Languages | Licence | Core model | Model support | GitHub stars |
|---|---|---|---|---|---|
| LangGraph | Python, TypeScript | MIT | Stateful graphs with durable execution and human-in-the-loop | Any model | 45.5K |
| CrewAI | Python | MIT | Role-based “crews” plus event-driven Flows | Any model | 61.3K |
| OpenAI Agents SDK | Python, TypeScript | MIT | Agents, handoffs, guardrails, sessions, tracing | OpenAI first; others via adapters | 30.9K |
| Microsoft Agent Framework | Python, .NET (Go in preview) | MIT | Agents plus graph and function workflows | Azure, OpenAI, Anthropic, Ollama and more | n/a |
| Google ADK | Python, TypeScript, Go, Java, Kotlin | Apache 2.0 | LLM agents plus sequential, parallel, loop and graph workflows | Any model | 22.4K |
| Claude Agent SDK | Python, TypeScript | Anthropic terms | The Claude Code agent loop as a library | Claude only | 8.6K |
| LlamaIndex | Python, TypeScript | MIT | Function, ReAct and CodeAct agents; multi-agent workflows | Any model | 53.0K |
| Pydantic AI | Python | MIT | Typed agents with validated outputs and durable execution | Any model | 21.4K |
All eight support MCP for connecting agents to external tools. Star counts are for the main Python repository.
LangGraph
LangGraph models an agent as a graph of steps with shared state. That makes it the strongest choice for agents that run for a long time, pause for human approval, recover after a crash, or remember context between sessions. The trade-off is more code than higher-level frameworks. LangChain’s LangSmith adds tracing and hosted “Agent Servers”: the Developer tier is free with 5,000 traces a month, and Plus costs $39 per seat per month.
CrewAI
CrewAI organises agents as a crew of roles, such as a researcher, a writer and a reviewer, that work through tasks one after another or under a manager agent. Flows add deterministic, event-driven control for production. It is the fastest way to get a multi-agent prototype working. CrewAI’s AMP platform has a free tier with 50 workflow executions a month and custom Enterprise pricing.
OpenAI Agents SDK
A lightweight SDK built around agents that hand tasks to each other, with guardrails, sessions and built-in tracing in the OpenAI dashboard. It also supports voice and realtime agents. Other providers work through adapters, but it is designed around OpenAI’s models. Both the Python and TypeScript versions are still below 1.0, so expect API changes.
Microsoft Agent Framework
Microsoft’s successor to AutoGen and Semantic Kernel, aimed at .NET and Azure teams. It combines agents with graph- and function-based workflows and integrates with Microsoft Foundry and OpenTelemetry. AutoGen is now archived, so new Microsoft-stack projects should start here.
If you use the Python package, check your version: releases 1.26.1 and 1.26.2 on PyPI contained a credential stealer. Pin 1.26.0 and see our report on the compromise.
Google Agent Development Kit (ADK)
ADK has the widest language support of any framework here, with Python, TypeScript, Go, Java and Kotlin. It offers single LLM agents plus sequential, parallel and loop workflow agents, and graph workflows arrived in ADK 2.0. It works with Gemini and with other models through LiteLLM, supports Google’s A2A protocol for agents talking to other agents, and deploys to Google Cloud or your own infrastructure.
Claude Agent SDK
Anthropic’s SDK packages the agent loop behind Claude Code as a library, including built-in file and terminal tools, sub-agents, hooks, permissions and skills. It is the most capable option out of the box for coding and file-heavy autonomous agents, but it only runs Claude models. See our Claude Code review for how the same agent loop performs in practice.
LlamaIndex and Pydantic AI
LlamaIndex started as a retrieval library and remains the natural choice when agents work mainly over documents and private data. Pydantic AI brings type safety to Python agents: outputs are validated against schemas, and long-running agents can use durable execution engines such as Temporal and DBOS. Its companion Logfire service has a free tier and team plans from $49 a month.
How to choose
- Long-running agents with approvals and state: LangGraph.
- A multi-agent prototype this week: CrewAI.
- Already on OpenAI, Google or Anthropic and happy to stay there: that provider’s SDK.
- .NET or Azure shop: Microsoft Agent Framework.
- Java, Go or several languages across teams: Google ADK.
- Agents over documents and private data: LlamaIndex.
- Strict typing and validated outputs in Python: Pydantic AI.
Whichever you choose, pin exact versions, review dependency updates before upgrading, and give agents only the credentials they need. For workflow tools that wrap agents in a visual builder, read n8n vs Zapier.