Also known as: agentic AI frameworks · multi agent frameworks
An AI agent framework is a code library that runs the loop behind an agent: send a prompt to a model, let the model call tools, feed the results back, and repeat until the job is done. A good framework also saves progress, lets a human approve risky steps, and shows you what happened on every run.
We ranked 12 frameworks that developers actually use in September 2026. We checked each one's GitHub repository, licence, latest release, language support, support for the two main agent protocols (MCP and A2A), and the price of its paid hosting, if it has any. Star counts and versions were read from GitHub, PyPI and npm on 23 September 2026. Our scores are our own editorial judgement, based on the criteria below.
LangGraph is the best AI agent framework for most production teams in September 2026. It gives you the most control over long-running, stateful agents and has the biggest ecosystem (42,182 GitHub stars, version 1.2.12). Pydantic AI is the best pick for Python developers who want clean, typed code and any model. Google ADK has the strongest multi-language and A2A support. For TypeScript, choose Vercel AI SDK for app features or Mastra for a full agent backend. All of these are free and open source; you only pay for model tokens and optional hosting.
Autonomous agents that work with files, code and the command line, on Claude models
Expert reviews
#1 · Teams building complex, long-running agents that must survive failures
LangGraph
by LangChain · Open source · Free (MIT); LangSmith Plus $39/seat/month
8.9/10
LangGraph is the framework we would pick for a serious production agent. You model your agent as a graph: each step is a node, and you decide exactly how control moves between them. That takes more code than a one-line agent, but it pays off when the agent runs for hours, needs a person to approve a step, or crashes halfway. Durable execution saves state after each step, so the agent resumes where it stopped.
The ecosystem is the largest here: 42,182 stars on the Python repo, a JavaScript version, and 44 million PyPI downloads last month. It works with almost any model through LangChain's integrations. The paid side is LangSmith for tracing, evaluation and deployment. It is optional, but it is where LangChain pushes you, and usage-based compute billing can be hard to predict.
Pick it if you need fine control, human approval steps and crash recovery. Skip it if you want a simple agent in 20 lines; the graph model and LangChain's layers are more than a small project needs.
Score breakdown
Production readiness9.4
Developer experience7.8
Flexibility & model choice9.2
Ecosystem & community9.5
Interoperability8.8
Cost & licensing8.5
Key facts
Pricing
Free (MIT); LangSmith Plus $39/seat/month (LangSmith Developer is $0 (1 seat, 5,000 base traces/month). Plus is $39/seat/month with 10,000 base traces and one free small serverless deployment. Extra usage is billed at $1.50 per compute unit (LCU) and $1.00 per storage unit (LSU). Enterprise is custom and offers self-hosted and hybrid options.)
Free option
Yes
Platforms
Python, TypeScript, Self-hosted, LangSmith Cloud
GitHub stars
42,182 (Python) + 3,309 (JS), 23 Sep 2026
Latest release
langgraph 1.2.12 (21 Sep 2026); 1.0 shipped 17 Oct 2025
Licence
MIT
Protocols
MCP tools; A2A endpoint on LangSmith Agent Server
PyPI downloads
44.0 million in the last month
What we like
Explicit graph control over every step and branch
Durable execution, checkpoints and human-in-the-loop are built in
Largest community and integration catalogue
Python and TypeScript versions, MIT licence
Watch out for
Steeper learning curve than most rivals
Best tracing and deployment tools sit in paid LangSmith
Usage-based LangSmith compute pricing is hard to forecast
#2 · Python developers who want typed, testable agents on any model
Pydantic AI
by Pydantic · Open source · Free (MIT)
8.8/10
Pydantic AI feels like writing normal Python. It comes from the team behind Pydantic, the validation library most Python AI tools already use, and it brings the same idea to agents: define your inputs, outputs and tools as typed objects, and the framework checks them for you. Switching models is a one-string change.
Version 2 (June 2026) added a capabilities system. You attach MCP servers, web search or durability to an agent as plug-ins. The durable execution story is strong: Temporal, DBOS and Prefect integrations are first-party, so an agent can survive restarts without you writing that plumbing. Release pace is very fast (2.48.0 by 23 September).
The community is smaller than LangGraph's or CrewAI's (20,132 stars), and it is Python only.
Pick it if you write Python, care about type safety and tests, and want freedom to change model providers. Skip it if your team works in TypeScript, or you want a visual builder or a managed platform bundled in.
Score breakdown
Production readiness8.8
Developer experience9.0
Flexibility & model choice9.3
Ecosystem & community7.8
Interoperability8.2
Cost & licensing9.2
Key facts
Pricing
Free (MIT) (The framework is free. Pydantic sells optional Logfire observability and an AI Gateway separately; we did not verify their current prices.)
Free option
Yes
Platforms
Python
GitHub stars
20,132 (23 Sep 2026)
Latest release
2.48.0 (23 Sep 2026); 2.0 shipped 23 Jun 2026
Licence
MIT
Durable execution
First-party Temporal, DBOS and Prefect support
Protocols
MCP built in; A2A via the separate FastA2A library
What we like
Type-safe inputs, outputs and tools catch mistakes early
Any major model provider by changing one string
First-party durable execution with Temporal, DBOS and Prefect
Clean, small API that is easy to test
Watch out for
Python only
Smaller community and fewer tutorials than LangGraph or CrewAI
#3 · Multi-language teams and anyone building agents that talk to other agents
Google ADK
by Google · Open source · Free (Apache 2.0)
8.7/10
Google's Agent Development Kit (ADK) is the most complete multi-language option. It ships in Python, TypeScript, Go, Java and Kotlin, and it has the best built-in support for A2A, the open protocol that lets agents from different vendors hand work to each other. Google created A2A, and ADK treats it as a first-class feature.
ADK 2.0 (May 2026) added graph-based workflows, so you can mix fixed code paths with free-form model reasoning, similar to LangGraph. ADK also manages context actively: it filters and summarises old messages instead of just stacking them up. It works with Gemini, Claude, OpenAI models, Ollama and vLLM, and deploys to Google's Agent Runtime, Cloud Run or GKE, or any container host.
The docs and defaults lean toward Gemini and Google Cloud, and the Python version gets features first.
Pick it if you need Go, Java or Kotlin, or you are building a system of agents that must talk to each other. Skip it if you want to stay far from Google Cloud or need the biggest pool of community examples.
Score breakdown
Production readiness8.8
Developer experience8.2
Flexibility & model choice8.6
Ecosystem & community8.6
Interoperability9.6
Cost & licensing9.0
Key facts
Pricing
Free (Apache 2.0) (The kit is free. You pay Google Cloud rates if you deploy to Agent Runtime, Cloud Run or GKE, plus model tokens.)
Free option
Yes
Platforms
Python, TypeScript, Go, Java, Kotlin, Google Cloud
#4 · Developers who want a small, fast-to-learn SDK, especially on OpenAI models
OpenAI Agents SDK
by OpenAI · Open source · Free (MIT)
8.6/10
The OpenAI Agents SDK is the easiest serious framework to learn. It has three core ideas: agents (a model plus instructions and tools), handoffs (one agent passing the task to another) and guardrails (checks on inputs and outputs). You can read the docs in an afternoon.
It has grown well beyond that core. It now includes sessions with SQLite, Redis or MongoDB storage, built-in tracing, human-in-the-loop approval, sandbox agents that work inside isolated file systems, and realtime voice agents. MCP tools are built in. Non-OpenAI models work through LiteLLM or Any-LLM adapters, though OpenAI's own models and hosted tools get the best support.
The version number is still below 1.0 (0.22.3), so expect some breaking changes, and there is no native A2A.
Pick it if you want to ship a working multi-agent app quickly, or you already build on GPT-6 Astra or other OpenAI models. Skip it if you need deep workflow control, guaranteed crash recovery, or you mainly use other model providers.
Score breakdown
Production readiness8.6
Developer experience9.2
Flexibility & model choice8.0
Ecosystem & community9.0
Interoperability7.5
Cost & licensing9.0
Key facts
Pricing
Free (MIT) (The SDK is free. You pay OpenAI API rates for models and hosted tools; other providers work through adapters.)
#5 · TypeScript developers adding agents and chat to web apps
Vercel AI SDK
by Vercel · Open source · Free (Apache 2.0)
8.6/10
The Vercel AI SDK is the most used TypeScript AI library by a wide margin: 17.9 million npm downloads in one week of September 2026. It began as a way to stream model answers into a React app, and it is still the best tool for that. One API covers OpenAI, Anthropic, Google and dozens of other providers.
AI SDK 7 (June 2026) made it a real agent framework. It added ToolLoopAgent for standard agent loops, WorkflowAgent for durable runs that survive restarts, tool approval for human-in-the-loop, sandbox sessions for running commands, and OpenTelemetry tracing. It also supports MCP Apps, which let a tool show its own small interface.
It is still a toolkit more than an agent platform. Memory, evaluation and multi-agent patterns take more of your own code than in Mastra.
Pick it if you build web apps in TypeScript and want agents that stream into your UI. Skip it if you work in Python, or you want memory, evals and a dev dashboard included out of the box.
Score breakdown
Production readiness7.8
Developer experience9.2
Flexibility & model choice9.0
Ecosystem & community9.0
Interoperability7.8
Cost & licensing9.2
Key facts
Pricing
Free (Apache 2.0) (The SDK is free. By default it routes through Vercel AI Gateway, which bills for model usage; you can connect providers directly instead.)
Free option
Yes
Platforms
TypeScript, Node.js, Next.js, React, Svelte, Vue
GitHub stars
26,915 (23 Sep 2026)
Latest release
ai 7.0.112 (23 Sep 2026); AI SDK 7 shipped 25 Jun 2026
Licence
Apache 2.0 (per npm)
npm downloads
17.9 million in the week of 15–21 Sep 2026
Protocols
MCP, including MCP Apps; no native A2A
What we like
Huge adoption and first-class Next.js, React, Svelte and Vue support
One API for dozens of model providers
AI SDK 7 adds durable WorkflowAgent and tool approval
Free, Apache 2.0 licence
Watch out for
TypeScript only
Memory, evals and multi-agent setups need extra work
#6 · TypeScript teams that want a full agent backend with memory, workflows and evals
Mastra
by Mastra (Kepler Software) · Freemium · Free; Mastra Cloud Teams $250/month
8.6/10
Mastra is the most complete agent framework for TypeScript. Where the Vercel AI SDK gives you building blocks, Mastra gives you the whole backend: agents, graph workflows, memory, RAG, evals, tracing and a local dev studio to test it all. It connects to 40+ model providers through one interface (a vendor figure) and can both use MCP servers and publish your agents as MCP servers.
It reached 1.0 in January 2026 and ships very often (1.69.0 by 23 September). Mastra Cloud adds hosting and observability, with a free Starter tier and a $250/month Teams plan.
One detail matters for companies: the repo is mostly Apache 2.0, but code in ee/ folders (such as some auth and agent-builder features) needs a paid enterprise licence for production use.
Pick it if you are a TypeScript team that wants memory, workflows, evals and a dev UI in one package. Skip it if you work in Python, or you need a fully permissive licence for every feature.
Score breakdown
Production readiness8.5
Developer experience9.0
Flexibility & model choice8.8
Ecosystem & community8.0
Interoperability9.0
Cost & licensing8.3
Key facts
Pricing
Free; Mastra Cloud Teams $250/month (Framework is free (Apache 2.0, except enterprise code in ee/ folders). Mastra Cloud Starter is $0 with 100K observability events, 24 CPU hours and 15-day retention. Teams is $250/month with 1M events, 250 CPU hours and 6-month retention. Enterprise is custom.)
Free option
Yes
Platforms
TypeScript, Node.js, Next.js, Mastra Cloud
GitHub stars
28,289 (23 Sep 2026)
Latest release
@mastra/core 1.69.0 (23 Sep 2026); 1.0 shipped 20 Jan 2026
Licence
Apache 2.0 core; Mastra Enterprise License for ee/ folders
Protocols
MCP client and server; A2A supported
npm downloads
1.16 million (@mastra/core, week of 15–21 Sep 2026)
#7 · Teams on AWS who want a model-driven agent with minimal code
Strands Agents
by AWS · Open source · Free (Apache 2.0)
8.4/10
Strands Agents is AWS's open-source agent SDK. Its idea is model-driven: instead of drawing a workflow, you give a capable model a prompt and tools and let it plan. That keeps code short. In September 2026 the project moved into a single harness-sdk repository that holds the Python and TypeScript SDKs plus a new Strands harness, a pre-assembled agent with tuned defaults you create in one call.
It is model-agnostic, with first-class support for Amazon Bedrock, Anthropic, OpenAI and Gemini. MCP, streaming, structured output and multi-agent patterns are built in, and it runs in your own process with no hosted control plane.
Star counts understate its use (7,735), because much of the adoption is inside AWS customers. The repo rename also means older tutorials point to archived repositories.
Pick it if you build on AWS and want short, model-led agent code. Skip it if you want explicit step-by-step workflow control or a large public community to learn from.
Score breakdown
Production readiness8.4
Developer experience8.6
Flexibility & model choice8.6
Ecosystem & community7.2
Interoperability9.0
Cost & licensing9.2
Key facts
Pricing
Free (Apache 2.0) (The SDK is free with no hosted control plane. You pay for models (for example Amazon Bedrock) and any AWS hosting you choose.)
Free option
Yes
Platforms
Python, TypeScript, AWS
GitHub stars
7,735 (strands-agents/harness-sdk, 23 Sep 2026)
Latest release
Python 1.57.0 and TypeScript 1.19.0 (22 Sep 2026)
Licence
Apache 2.0
Protocols
MCP built in; A2A supported
First release
May 2025; 1.0 on 15 Jul 2025
What we like
Very little code for a working agent
New harness gives tuned defaults in one call
Model-agnostic, with strong Bedrock support
MCP and A2A; Apache 2.0
Watch out for
Smaller public community than the leaders
Recent repo reorganisation leaves outdated links and samples
#8 · .NET and Azure teams, and anyone moving off AutoGen or Semantic Kernel
Microsoft Agent Framework
by Microsoft · Open source · Free (MIT)
8.4/10
Microsoft Agent Framework (MAF) is the direct successor to both AutoGen and Semantic Kernel, built by the same teams. Microsoft says it combines AutoGen's simple multi-agent ideas with Semantic Kernel's enterprise features: session state, type safety, middleware and telemetry. AutoGen's own repo now says it is in maintenance mode and tells new users to start here.
It is the best choice for .NET developers, with full C# and Python support and a Go version in public preview. It has agents, graph-based workflows, a new batteries-included harness agent for long tasks, and both MCP and A2A. Agents can be hosted on Microsoft Foundry with a couple of extra lines. It supports Foundry, Azure OpenAI, OpenAI, Anthropic and Ollama models.
The docs and samples assume Azure, and the community is still rebuilding after the switch from AutoGen.
Pick it if you work in .NET or Azure, or you are migrating an AutoGen or Semantic Kernel project. Skip it if you have no Microsoft stack and want the most community examples.
Score breakdown
Production readiness8.8
Developer experience7.6
Flexibility & model choice8.4
Ecosystem & community7.8
Interoperability9.4
Cost & licensing8.8
Key facts
Pricing
Free (MIT) (The framework is free. Hosting on Microsoft Foundry and Azure models are billed at Azure rates.)
#9 · Role-based multi-agent teams and fast prototypes
CrewAI
by CrewAI · Freemium · Free (MIT); platform Basic free
8.4/10
CrewAI is the most starred agent framework on GitHub (58,949) and the easiest way to think about multi-agent systems. You define a crew of agents, each with a role, a goal and tools, then give them tasks. For more control, Flows let you script the steps with events and state. It is built from scratch, not on top of LangChain.
It now covers the production basics: memory, knowledge sources, checkpointing, async runs, and both MCP and A2A. It works with most model providers, including local models through Ollama.
The role-play style is great for demos and research-style tasks, but it can make runs less predictable and harder to debug than a graph. The hosted platform has a free tier with only 50 executions a month, and the Enterprise plan has no public price.
Pick it if you want to prototype a multi-agent team quickly in Python, or your use case maps well to roles. Skip it if you need tight, step-by-step control over every action, or you need clear public pricing for hosting.
Score breakdown
Production readiness7.8
Developer experience8.8
Flexibility & model choice8.4
Ecosystem & community8.8
Interoperability8.8
Cost & licensing8.0
Key facts
Pricing
Free (MIT); platform Basic free (The framework is free. The hosted CrewAI platform has a free Basic plan with 50 workflow executions per month, a visual editor and GitHub integration. Enterprise (SSO, RBAC, PII redaction, flexible deployment) is custom-priced.)
Free option
Yes
Platforms
Python, CrewAI platform
GitHub stars
58,949 (23 Sep 2026), most in this list
Latest release
crewai 1.15.22 (16 Sep 2026); 1.0 shipped 20 Oct 2025
Licence
MIT
Protocols
MCP and A2A
PyPI downloads
3.5 million in the last month
What we like
Largest GitHub following of any agent framework
Intuitive crews-of-roles model plus scripted Flows
MCP and A2A support
Free visual editor on the hosted platform
Watch out for
Role-based runs can be unpredictable and hard to debug
#10 · Teams that want to self-host an agent platform with a ready-made runtime and UI
Agno
by Agno · Freemium · Free; Pro $150/month
8.3/10
Agno (formerly Phidata) is more than a framework: it is a framework plus a runtime called AgentOS. You build agents with the Python SDK, then run them as a service with a REST API, a Postgres database for sessions and traces, an MCP server and a web control plane. Everything runs in your own cloud, so your data stays with you.
Version 3.0 (August 2026) doubles down on this "agent platform" idea. Agents can be exposed through Slack, Telegram, WhatsApp, Discord, AG-UI and A2A, and they can pull live context from Slack, Drive and MCP sources. With 42,320 stars, it has a large following.
The trade-off is scope. If you only want a small agent loop inside an existing app, AgentOS is more than you need, and the paid control plane starts at $150/month once you connect a live deployment.
Pick it if you want to self-host a full agent platform with a UI, tracing and memory. Skip it if you just need a lightweight library, or you work outside Python.
Score breakdown
Production readiness8.2
Developer experience8.4
Flexibility & model choice8.6
Ecosystem & community7.8
Interoperability8.8
Cost & licensing8.4
Key facts
Pricing
Free; Pro $150/month (The SDK and AgentOS runtime are free (Apache 2.0). The control plane is free against a local AgentOS. Pro is $150/month for one live AgentOS connection and three seats; extra seats $30/month, extra connections $95/month, SAML SSO $300/month. Enterprise is custom.)
Free option
Yes
Platforms
Python, Docker, Self-hosted
GitHub stars
42,320 (23 Sep 2026)
Latest release
agno 3.0.11 (23 Sep 2026); 3.0 shipped 24 Aug 2026
Licence
Apache 2.0
Protocols
MCP; A2A and AG-UI interfaces
PyPI downloads
1.7 million in the last month
What we like
Framework plus a self-hosted runtime with REST API and UI
Many ready-made interfaces, including A2A and Slack
#11 · Agents that read, search and extract from documents
LlamaIndex
by LlamaIndex · Open source · Free (MIT)
8.1/10
LlamaIndex made its name as the go-to library for RAG (retrieval-augmented generation): loading documents, splitting them, storing them in a vector database and feeding the right parts to a model. It has one of the largest integration catalogues for data loaders, embedding models and vector stores, and 52,300 GitHub stars.
It also has agent tools and an event-driven Workflows system for multi-step agents. But the company is open about its focus: its README says the main goal is now document parsing and extraction through LlamaParse, its paid platform. The open-source framework is still maintained and updated often (0.14.25 on 21 September), yet it is no longer where the most agent innovation happens.
Pick it if your agent's main job is to read, search or extract data from lots of documents, such as PDFs, contracts or reports. Skip it if you are building general-purpose agents; LangGraph, Pydantic AI or ADK are better focused on that.
Score breakdown
Production readiness7.6
Developer experience7.6
Flexibility & model choice8.8
Ecosystem & community8.4
Interoperability7.4
Cost & licensing9.0
Key facts
Pricing
Free (MIT) (The framework is free. LlamaParse, the company's paid document platform, is sold separately; we did not verify its current prices.)
Free option
Yes
Platforms
Python, TypeScript
GitHub stars
52,300 (23 Sep 2026)
Latest release
llama-index 0.14.25 (21 Sep 2026)
Licence
MIT
Company focus
Document parsing and extraction (LlamaParse)
What we like
Excellent document loading, indexing and retrieval tools
Huge catalogue of data, embedding and vector store integrations
Python and TypeScript, MIT licence
Watch out for
Company focus has shifted to its paid LlamaParse platform
Still pre-1.0 after three years
Agent features trail the dedicated agent frameworks
#12 · Autonomous agents that work with files, code and the command line, on Claude models
Claude Agent SDK
by Anthropic · Usage-based · Free SDK; pay Claude API rates
8.0/10
The Claude Agent SDK gives you the same engine that runs Claude Code, as a library. Out of the box your agent can read, write and edit files, run shell commands and search the web. It also includes Claude Code's permission system, hooks, subagents, sessions you can resume or fork, skills, plugins and MCP. No other SDK here ships this much working agent behaviour on day one. Its 7.8 million weekly npm downloads show how widely it is used.
It ranks last here for one reason: it only runs Claude models. That is a real lock-in for a framework, even though Claude Opus 5.5 is one of the strongest agent models available. Use is governed by Anthropic's commercial terms rather than a plain open-source licence. If you want Anthropic to host the agent loop for you, it offers a separate product, Managed Agents.
Pick it if you want a powerful coding or file-handling agent quickly and you are happy to build on Claude. Skip it if you need to switch model providers, run local models, or require an OSI open-source licence.
Score breakdown
Production readiness9.2
Developer experience9.0
Flexibility & model choice6.0
Ecosystem & community8.6
Interoperability7.5
Cost & licensing7.0
Key facts
Pricing
Free SDK; pay Claude API rates (The SDK costs nothing, but it only runs Claude models, billed at API rates (for example Claude Opus 5.5 at $4/$20 per million input/output tokens). It works with an Anthropic API key or through Amazon Bedrock, Google Vertex AI or Microsoft Foundry. Anthropic does not allow third-party products to use claude.ai subscription logins.)
Sign in with Google and vote for the tool you'd recommend. One vote per person, and you can change it anytime. Votes are shown separately and never change our expert scores.
How we scored these tools
Each tool is scored 0–10 on the criteria below, using public evidence: independent benchmarks, vendor documentation and pricing pages, aggregate user ratings and reputable reviews. The overall score is the weighted average. Nobody pays to be listed. Read our full methodology.
Criterion
Weight
What we look at
Production readiness
25%
Durable execution, state and memory, human-in-the-loop approval, tracing, testing, and a stable 1.0+ API.
Developer experience
20%
How quickly a developer gets a working agent: clear concepts, typing, docs, local dev tools and debugging.
Flexibility & model choice
20%
Works with many model providers and local models, and supports both free-form agents and fixed workflows.
Ecosystem & community
15%
GitHub stars, downloads, integrations, release pace and the size of the community that can answer questions.
Interoperability
10%
Support for MCP (tools) and A2A (agent-to-agent), plus how easily agents plug into other stacks.
Cost & licensing
10%
Open-source licence terms, lock-in risk, and the price of optional hosted platforms.
The state of agent frameworks in September 2026
The market has matured fast over the last 12 months.
Most frameworks hit 1.0. LangGraph (October 2025), CrewAI (October 2025), Mastra (January 2026) and Microsoft Agent Framework (April 2026) all reached stable 1.0 releases. Pydantic AI (2.0 in June), Google ADK (2.0 in May), Vercel AI SDK (7 in June) and Agno (3.0 in August) are on their second or later major version.
Graphs and durability are standard. Google ADK 2.0 and Microsoft Agent Framework added graph workflows. Vercel AI SDK 7 added a durable WorkflowAgent. Pydantic AI ships first-party Temporal, DBOS and Prefect support. Being able to pause, resume and survive crashes is now expected, not a bonus.
"Harness" agents arrived. Several vendors now ship a ready-made agent with tuned defaults on top of their lower-level SDK: the Strands harness, Microsoft's harness agent, the AI SDK's HarnessAgent, and the Claude Agent SDK, which is Claude Code packaged as a library.
Consolidation. Microsoft moved AutoGen into maintenance mode in favour of Agent Framework. AWS merged Strands into a single harness-sdk repo. LlamaIndex shifted its company focus to document parsing.
New frontier models also matter. Claude Opus 5.5 (22 September) and GPT-6 Astra (3 September) are strong at long tool-using tasks, which makes simpler, model-driven frameworks more viable than a year ago.
Hard facts compared
All figures read from GitHub, PyPI and npm on 23 September 2026.
Framework
GitHub stars
Licence
Languages
MCP
A2A
Latest version
CrewAI
58,949
MIT
Python
Yes
Yes
1.15.22
LlamaIndex
52,300
MIT
Python, TS
Yes (integration)
Not confirmed
0.14.25
Agno
42,320
Apache 2.0
Python
Yes
Yes
3.0.11
LangGraph
42,182
MIT
Python, TS
Yes
Via Agent Server
1.2.12
OpenAI Agents SDK
29,656
MIT
Python, TS
Yes
No
0.22.3
Mastra
28,289
Apache 2.0 + ee
TypeScript
Yes
Yes
1.69.0
Vercel AI SDK
26,915
Apache 2.0
TypeScript
Yes
No
7.0.112
Google ADK
21,612
Apache 2.0
Py, TS, Go, Java, Kotlin
Yes
Yes (native)
2.9.2
Pydantic AI
20,132
MIT
Python
Yes
Via FastA2A
2.48.0
Microsoft Agent Framework
13,752
MIT
.NET, Python, Go (preview)
Yes
Yes
1.19.0
Claude Agent SDK
8,151
Anthropic terms
Python, TS
Yes
No
0.2.158
Strands Agents
7,735
Apache 2.0
Python, TS
Yes
Yes
1.57.0
Stars count the main repo only. Separate language repos add more: for example Google's ADK Go repo has 8,817 stars. Stars measure attention, not quality, and older projects have had longer to collect them.
Not ranked: Microsoft AutoGen still has 61,124 stars, but it is in maintenance mode; start new projects on Agent Framework. Hugging Face's smolagents (29,462 stars, Apache 2.0, version 1.26.0) is a neat, minimal library whose agents write actions as Python code. It is great for learning and research, but lighter on production features than the tools above.
Hosted platform pricing (as of 23 September 2026)
Every framework in this list is free to use. You pay for model tokens, and optionally for a hosted platform that adds tracing, deployment and team features.
Platform
Free tier
First paid tier
Notes
LangSmith (LangGraph)
Developer: $0, 1 seat, 5,000 base traces/month
Plus: $39/seat/month, 10,000 base traces
Usage billed at $1.50/LCU compute, $1.00/LSU storage; Enterprise custom
CrewAI platform
Basic: 50 workflow executions/month
Enterprise: custom
SSO, RBAC, PII redaction on Enterprise
Mastra Cloud
Starter: 100K events, 24 CPU hours
Teams: $250/month
Overage $8–10 per 100K events, $0.25–0.35 per CPU hour
Agno control plane
Free against a local AgentOS
Pro: $150/month
+$30 per seat, +$95 per connection, SSO $300/month
Google ADK, Microsoft Agent Framework, Strands
No separate platform fee
Cloud hosting rates
Agent Runtime/Cloud Run, Foundry, or AWS
In practice, model tokens are usually the biggest cost, not the platform. An agent that loops 20 times over a long context can burn far more tokens than a chatbot. See our LLM API ranking for per-token prices.
How to choose
You write Python and want control over every step: LangGraph. If you prefer less framework and more plain typed Python, Pydantic AI.
You write TypeScript: Vercel AI SDK if agents live inside a web app; Mastra if you want a full backend with memory, workflows and evals.
You need .NET, Go, Java or Kotlin: Microsoft Agent Framework for .NET; Google ADK for Go, Java and Kotlin.
You are building many agents that must talk to each other: Google ADK, which has the deepest A2A support. Microsoft Agent Framework, CrewAI, Mastra, Strands and Agno support A2A too.
You want an agent that edits files and runs commands with little setup: Claude Agent SDK, if you are fine using only Claude models.
You want to prototype a multi-agent team fast: CrewAI.
Your agent mostly reads documents: LlamaIndex, paired with a good vector database.
Whatever you pick, add tracing from day one. Our LLM observability ranking covers the tools that plug into these frameworks. New to agents? Start with our guide to what agentic AI is.
Expert tips
Prototype the agent with a plain tool loop first. Only move to a graph framework like LangGraph once you know which steps must be fixed, retried or approved by a person; otherwise you will redraw the graph many times.
Turn on durable execution (LangGraph checkpoints, Pydantic AI with Temporal or DBOS, AI SDK WorkflowAgent) before your agent runs for more than a few minutes. Without it, one timeout means paying for the whole run again.
Put a hard cap on loop steps and tokens per run in every framework. A stuck agent that calls the same tool 200 times is the most common cause of surprise API bills.
Wrap your internal tools as an MCP server once, instead of writing a custom tool for each framework. You can then switch frameworks, or use the same tools from Claude Code or Codex, without rewriting them.
Pin exact framework versions. Several leaders (OpenAI Agents SDK, Claude Agent SDK, LlamaIndex) are still pre-1.0 and ship several releases a week, so an unpinned install can break a working agent overnight.
Jargon explained
Agent framework
A code library that runs the loop behind an AI agent: ask the model, run the tools it picks, feed back the results, and repeat until the task is done.
Durable execution
Saving an agent's progress after each step so it can pick up exactly where it stopped after a crash, restart or long pause for human approval.
MCP (Model Context Protocol)
An open standard for plugging tools and data sources into AI agents, so one tool connector works across many apps and frameworks.
A2A (Agent2Agent)
An open protocol that lets agents built by different teams or frameworks find each other and hand tasks back and forth.
Human-in-the-loop
A setup where the agent pauses and waits for a person to approve or edit a step, such as sending an email or spending money, before it continues.
Tracing
A step-by-step record of everything an agent did in a run, including each model call, tool call and result, so you can debug and measure it.
Frequently asked questions
What is the best AI agent framework in 2026?
For most production teams, LangGraph. It gives the most control over long-running, stateful agents and has the largest ecosystem. Pydantic AI is the best pick for Python developers who want simpler typed code, and Google ADK is best for multi-language teams and agent-to-agent systems.
What is the best agent framework for TypeScript?
Use the Vercel AI SDK if your agents live inside a web app; it had 17.9 million npm downloads in one September week. Use Mastra if you want a complete agent backend with memory, workflows, evals and a local dev studio. LangGraph, the OpenAI Agents SDK, Google ADK and Strands also have TypeScript versions.
Are AI agent frameworks free?
Yes. Every framework on this list is free to download and use. Eleven use standard open-source licences (MIT or Apache 2.0); the Claude Agent SDK is governed by Anthropic's commercial terms. You pay for model API usage and, if you want, a hosted platform such as LangSmith (from $39/seat/month) or Mastra Cloud Teams ($250/month).
What is the difference between MCP and A2A?
MCP (Model Context Protocol) connects an agent to tools and data, such as a database, GitHub or a file system. A2A (Agent2Agent) connects an agent to other agents, so one can hand a task to another even if they were built with different frameworks. All 12 frameworks here support MCP in some form. Native A2A support is strongest in Google ADK.
Should I still use AutoGen or Semantic Kernel?
Not for new projects. Microsoft says AutoGen is in maintenance mode and will get no new features. Both it and Semantic Kernel are succeeded by Microsoft Agent Framework, which reached 1.0 in April 2026 and has official migration guides.
Do I need a framework at all, or can I call the model API directly?
For a single model call with one or two tools, the plain API is fine; most provider SDKs now include a simple tool loop. A framework earns its place when you need memory across sessions, crash recovery, human approval steps, multi-agent handoffs or tracing. Writing those yourself takes longer than learning a framework.
Which agent framework works best with local models?
Model-agnostic frameworks such as Pydantic AI, LangGraph, Google ADK, CrewAI, Agno and Strands all work with local models through Ollama, vLLM or LiteLLM. The Claude Agent SDK does not. See our local LLMs ranking for models to run.
Sources
Every fact on this page comes from public information. Vendor figures are labelled as vendor claims.