Skip to content
30 November 2026 An independent technology publication
Guide

AI agent frameworks in 2027: 10 compared with real release and contributor data

AI agent frameworks compared for 2027: LangGraph, OpenAI Agents SDK, CrewAI, Pydantic AI, Google ADK and more, with release data and a clear guide to choosing.

AI agent frameworks in 2027 compared, DevQuarry featured image

AI agent frameworks are libraries that handle the repetitive parts of building an agent. They run the loop that calls a model and executes tools, and they add retries, tracing and human approval around it. Ten projects lead going into 2027. LangGraph and the OpenAI Agents SDK are the most discussed; CrewAI, Pydantic AI, Google’s Agent Development Kit, Microsoft Agent Framework, the Claude Agent SDK, AWS’s Strands Agents, LlamaIndex and Hugging Face’s smolagents complete the list.

Most comparisons rank these on impressions. I pulled release histories from PyPI and counted commits and contributors in each project’s GitHub repository for the twelve months to 19 November 2026, ran two of the frameworks offline to check how they behave, and read what developers report after shipping with them. The data separates projects under heavy development from projects that have gone quiet, which matters when you are choosing a dependency for years.

AI agent frameworks in 2027 compared, DevQuarry featured image

The short version

  • For most production agents, LangGraph (explicit control) or the OpenAI Agents SDK (fast to start) are the safest defaults.
  • Pydantic AI is the strongest choice when typed, validated outputs matter; it shipped 186 releases in twelve months.
  • CrewAI suits role-based multi-agent pipelines that non-developers need to understand.
  • AutoGen is in maintenance: no PyPI releases in the last year. Microsoft points new work to Microsoft Agent Framework, which reached 1.0 in April 2026.
  • Every major framework now supports MCP, so tools you build once can move between them.

What AI agent frameworks do

What AI agent frameworks provide around the model: loop, tools, state, memory, tracing and approvals

At the core of every agent is a short loop: call the model, run the tool it asks for, feed the result back, repeat until done. You can write that loop in a few dozen lines, and Anthropic’s engineering guidance suggests starting with direct API calls before adopting a framework. Frameworks earn their place with what surrounds the loop:

NeedWhat frameworks provide
Tool callingschemas generated from your functions, argument validation, error handling
Statea record of messages and intermediate data that survives across steps
Persistencecheckpoints so a run can pause, resume or recover after a crash
Human in the looppausing for approval before sensitive actions
Multi-agent patternshand-offs, supervisors, group chats, crews
Observabilitytraces of every model call and tool call, with cost
Model choiceone interface across several model providers
MCPconnecting to tools exposed by Model Context Protocol servers

If your task needs none of these, a framework mostly adds abstraction between you and the prompts. Our guide to agentic AI covers when an agent is the right design in the first place.

The 10 AI agent frameworks at a glance

FrameworkMakerStyleFirst PyPI releaseLatest version (19 Nov 2026)Licence
LangGraphLangChaingraph and state machineJan 20241.2.23MIT
OpenAI Agents SDKOpenAIagents with hand-offs and guardrailsMar 20250.25.0MIT
CrewAICrewAIrole-based crews and flowsNov 20231.15.43MIT
Pydantic AIPydantictyped agents with validated outputsMay 20242.71.0MIT
Google ADKGooglecode-first agents, multi-agent hierarchiesMar 20252.14.1Apache 2.0
Microsoft Agent FrameworkMicrosoftagents plus graph workflows (.NET and Python)Apr 2026 (stable)1.26.0MIT
Claude Agent SDKAnthropicthe agent loop behind Claude CodeSep 20250.2.185MIT
Strands AgentsAWSmodel-driven agents in few linesMay 20251.65.0Apache 2.0
LlamaIndexLlamaIndexdata and retrieval-centred agents and workflowsFeb 20230.14.26MIT
smolagentsHugging Faceagents that write Python code to call toolsDec 20241.26.0Apache 2.0

AutoGen, once one of the most popular multi-agent libraries, is missing from this list on purpose. Its last PyPI release of autogen-agentchat was version 0.7.5 on 30 September 2025, and Microsoft describes Agent Framework as its successor, with AutoGen kept for bug fixes and security patches (Visual Studio Magazine).

Which AI agent frameworks are most active?

AI agent frameworks: PyPI releases in the 12 months to November 2026

Releases in the last twelve months

I counted final releases (no pre-releases) on PyPI between 19 November 2025 and 19 November 2026:

FrameworkReleases in 12 months
Pydantic AI186
Claude Agent SDK148
OpenAI Agents SDK83
CrewAI72
Google ADK61
Strands Agents55
LangGraph42
Microsoft Agent Framework33 (since its stable release in April 2026)
LlamaIndex (main package)16
smolagents3
AutoGen (AgentChat)0

Release counts reflect release habits as much as activity. Pydantic AI and the Claude Agent SDK ship small releases very often; LangGraph ships fewer, larger ones under a promise of no breaking changes until version 2.0. smolagents’ last release was in May 2026.

Contributors and commits

AI agent frameworks: distinct human contributors in the 12 months to November 2026

I also cloned each repository’s history for the same twelve months and counted commits and distinct authors, excluding bot accounts:

RepositoryHuman commitsDistinct human authors
pydantic/pydantic-ai4,235417
google/adk-python3,123536
strands-agents/sdk-python2,395291
openai/openai-agents-python1,459236
crewAIInc/crewAI1,404129
run-llama/llama_index580280
langchain-ai/langgraph55145
anthropics/claude-agent-sdk-python48951
huggingface/smolagents7229
microsoft/autogen63

Two caveats. Commit counts depend on workflow: projects that squash many changes into one merge commit look quieter than they are, and LangGraph’s history shows a high share of automated commits. Google’s repository also includes changes synced from internal systems. These numbers separate live projects from dormant ones; they are too coarse to rank close competitors. I could not clone Microsoft Agent Framework’s repository in my environment, so it has release data only.

How each framework thinks about agents

AI agent frameworks by design style: graphs, hand-offs, crews and typed agents

LangGraph: agents as state machines

LangGraph models an agent as a graph of nodes (steps) and edges (transitions), with a shared state object. You decide exactly where the model chooses and where code decides. LangChain released LangGraph 1.0 in October 2025 with durable state that survives server restarts, native pauses for human review and a promise of “no breaking changes until 2.0” (LangChain).

The graph model makes routing logic plain Python. I ran this loop without any model at all:

from typing import TypedDict
from langgraph.graph import StateGraph, START, END
class State(TypedDict):
    draft: str
    attempts: int
def write(state: State) -> State:
    return {"draft": state["draft"] + "!", "attempts": state["attempts"] + 1}
def review(state: State) -> str:                      # code, not the model, decides whether to loop
    return "done" if state["draft"].count("!") >= 3 or state["attempts"] >= 5 else "retry"
g = StateGraph(State)
g.add_node("write", write)
g.add_edge(START, "write")
g.add_conditional_edges("write", review, {"retry": "write", "done": END})
app = g.compile()

Streaming it from {"draft": "hello", "attempts": 0} ran the write node three times and stopped, with a hard cap of five attempts. Swap write for a model call and review for a model-graded check and you have an evaluator-optimiser loop with guaranteed termination.

Trade-off: more concepts to learn up front. One developer who has shipped with most of these frameworks described a learning curve of two to three days in a HackerNoon ranking, while praising its visual debugging.

OpenAI Agents SDK: agents, hand-offs and guardrails

The OpenAI Agents SDK keeps the surface small. An agent has instructions and tools, can hand off to other agents, and runs with guardrails on its input and output. Tracing is built in. It is the quickest of the major frameworks to get running. The same HackerNoon author reported a prototype working within hours, and also an outage at the model provider that took his agent down with no fallback. The SDK can call models from other providers too, but it is designed around OpenAI’s APIs first.

CrewAI: roles that people outside engineering understand

CrewAI describes work as a crew of agents, each with a role and a goal, plus “flows” for deterministic orchestration. Non-technical stakeholders tend to grasp the role metaphor quickly. The cost is latency and tokens: multi-agent crews pass work between several model calls, and the HackerNoon review measured roughly two to four times the latency of a single agent.

Pydantic AI: typed inputs and validated outputs

Pydantic AI comes from the team behind Pydantic, the validation library used across the Python ecosystem. Agents declare their dependencies and output types, and the framework validates tool arguments and final outputs against those types, retrying when the model returns malformed data. It also ships test models for running agents offline in unit tests.

I used that feature to test a one-tool agent with no API key:

from pydantic_ai import Agent
from pydantic_ai.models.test import TestModel
agent = Agent("test", instructions="Answer questions about order status using the tools.")
@agent.tool_plain
def order_status(order_id: str) -> str:
    """Look up the shipping status of an order."""
    return {"A100": "shipped", "A101": "processing"}.get(order_id, "unknown")
result = agent.run_sync("Where is order A100?", model=TestModel())
print(result.usage)   # RunUsage(input_tokens=109, output_tokens=14, requests=2, tool_calls=1)

The test model calls every tool with generated arguments, so the answer itself is meaningless (it asked about order “a”). The value is in the trace: one user question produced two model requests and one tool call, and the whole run executed in a normal unit test. That kind of offline testing is rare among agent frameworks and very useful in continuous integration.

Google ADK: code-first with Google Cloud deployment

Google’s Agent Development Kit, first released in March 2025, organises agents into hierarchies and workflow agents that run steps in sequence, in parallel or in a loop. It deploys naturally to Google Cloud. It works with Gemini first but supports other models. Its repository had the most distinct contributors in my count (536).

Microsoft Agent Framework: the successor to AutoGen and Semantic Kernel

Microsoft Agent Framework merges Semantic Kernel and AutoGen into one SDK for .NET and Python. Version 1.0 shipped in April 2026 with what Microsoft called “stable APIs, and a commitment to long-term support,” graph-based workflows and MCP support. It also ships several multi-agent patterns, including hand-off and group chat. It is the natural choice for teams already on Azure and .NET.

Claude Agent SDK: Claude Code’s agent loop as a library

Anthropic’s Claude Agent SDK exposes the agent loop that powers Claude Code, with file editing and shell commands built in, plus sub-agents and permission controls. It suits agents that work in a filesystem and terminal, such as coding agents, and it ships very frequent releases (148 in twelve months on PyPI). It is built for Claude models.

Strands Agents: AWS’s model-driven approach

Strands Agents, released by AWS in May 2025, leans on the model to plan, with minimal orchestration code. It integrates with Amazon Bedrock and AWS services and supports MCP. Its contributor count (291) put it third in my data.

LlamaIndex and smolagents

LlamaIndex started as a retrieval library and remains strongest when the agent’s job centres on your documents and data. smolagents from Hugging Face takes a different approach: agents write Python code to call tools instead of emitting JSON tool calls. It is small and readable, but its release activity has slowed sharply, with three releases in the last year.

AI agent frameworks compared on what matters in production

LangGraphOpenAI Agents SDKCrewAIPydantic AIGoogle ADKMS Agent Framework
Control over flowvery highmediummedium (flows add more)highhighhigh
Time to first agentslowerfastestfastfastfastmedium
Typed, validated outputsvia your own codesupportedsupportedcore featuresupportedsupported
Durable state and resumebuilt insessionssupportedvia integrationssupportedbuilt in
Multi-agentgraphs, supervisorshand-offscrewsagent delegationhierarchiesmany patterns
Model flexibilityany providerOpenAI first, others supportedany providerany providerGemini first, others supportedany provider
MCP supportyesyesyesyesyesyes
LanguagesPython, JavaScriptPython, JavaScriptPythonPythonPython, Java, othersPython, .NET

What developers complain about

Patterns from community discussion and practitioner write-ups in 2026:

  • Abstraction overhead. A common complaint about heavyweight frameworks is that they hide the prompts, which makes failures hard to debug. Anthropic’s guidance says the same, and suggests understanding the code under any framework you adopt.
  • Churn. Fast release cycles bring breaking changes. LangGraph’s “no breaking changes until 2.0” promise was a direct answer to this.
  • Multi-agent cost. Crews and group chats multiply model calls. The HackerNoon author reported one AutoGen run costing $12 because agents debated with no termination condition.
  • Vendor coupling. Provider-first SDKs are fastest on their own models and less smooth elsewhere.
  • Operations. A recurring r/AI_Agents theme in 2026 was that building an agent is no longer the hard part. Running it is: versioning prompts and tools, managing permissions, and debugging multi-agent runs. Our guide to AI agents in production covers those problems.

How to choose an AI agent framework

How to choose between AI agent frameworks
If you need…Choose
Precise control over every step, durable long-running agentsLangGraph
The fastest path to a working agent on OpenAI modelsOpenAI Agents SDK
Typed outputs with offline unit testsPydantic AI
A team-of-roles metaphor for content or research pipelinesCrewAI
Deployment on Google Cloud with GeminiGoogle ADK
.NET support or an Azure-centred stackMicrosoft Agent Framework
An agent that edits files and runs commands like Claude CodeClaude Agent SDK
AWS and Bedrock integrationStrands Agents
Agents centred on retrieval over your documentsLlamaIndex
A tiny library to learn the ideas, or code-writing agentssmolagents
Visual building with no codean automation tool such as n8n (see our n8n vs Zapier vs Make comparison)

A practical rule: if you cannot explain why you need a framework’s multi-agent features, start with a single agent and direct tool calls. Move to a framework when you need durable state or approvals. Then pick the one whose style matches how you already think about your process.

Model lock-in and licences

Most AI agent frameworks can call several model providers, but each has a home model and a home cloud. That matters more than the licence for most teams.

FrameworkHome model or cloudLicence
OpenAI Agents SDKOpenAI modelsMIT
Claude Agent SDKClaude modelsMIT
Google ADKGemini and Google CloudApache 2.0
Microsoft Agent FrameworkAzure and .NETMIT
Strands AgentsAWSApache 2.0
LangGraph, CrewAI, Pydantic AIno single providerMIT
LlamaIndexno single providerMIT
smolagentsHugging Face HubApache 2.0

All ten are open source under permissive licences, so the code itself will not lock you in. The coupling comes from features. Provider-first SDKs tend to support their own models’ newest capabilities first, and their tracing and deployment tools work best on their own cloud. Independent frameworks such as LangGraph and Pydantic AI give you more room to switch models, at the cost of waiting a little longer for provider-specific features.

If your model choice is likely to change, pick a provider-neutral framework or keep the provider-specific parts behind a thin interface of your own.

Switching AI agent frameworks later

Teams do change AI agent frameworks, usually when a prototype outgrows a quick-start SDK or a project slows down. A few habits make that switch cheap:

  1. Write tools as plain functions or MCP servers, with the framework’s decorators kept in a thin wrapper.
  2. Keep prompts in version-controlled files that the framework loads.
  3. Store conversation and task state in your own database, in a format you control.
  4. Keep an evaluation set of real cases, so you can check that the new framework matches the old one’s results before switching traffic.

With those in place, moving between AI agent frameworks is mostly a matter of rewriting the orchestration code, which is usually the smallest part of an agent project.

Keep your tools portable with MCP

Every framework in the main table supports the Model Context Protocol. If you expose your tools as MCP servers instead of framework-specific functions, you can switch frameworks, or run the same tools from an AI assistant, without rewriting them. Our Model Context Protocol guide shows a 40-line server in Python and how fast it answers.

Common mistakes when choosing AI agent frameworks

  • Picking the framework with the most GitHub stars instead of the one whose style fits your problem.
  • Starting with a multi-agent design for a task one agent could do.
  • Ignoring maintenance signals: a framework with no releases in a year is a risk for a long-lived product.
  • Building tools inside one framework’s format instead of as MCP servers or plain functions.
  • Skipping evaluation. A framework does not tell you whether your agent is right; a test set does.

FAQ

What is the best AI agent framework in 2027?

There is no single best framework. LangGraph is the strongest choice for complex, long-running agents that need precise control. The OpenAI Agents SDK is the quickest to start with. Pydantic AI is best when typed outputs matter. CrewAI suits role-based multi-agent pipelines.

LangGraph vs CrewAI: which should I use?

Use LangGraph when you need to control exactly how an agent moves between steps, with state that survives a crash. Use CrewAI when a set of agents with roles is the natural way to describe the work and speed of building matters more than fine control. In practitioner reviews, LangGraph takes longer to learn and CrewAI’s multi-agent runs cost more per task.

Is AutoGen still maintained?

AutoGen receives bug fixes and security patches, but its last PyPI release of the AgentChat package was in September 2025. For new projects Microsoft recommends Microsoft Agent Framework, which combines AutoGen with Semantic Kernel and reached 1.0 in April 2026.

Are AI agent frameworks free?

All ten AI agent frameworks in this comparison are open source under the MIT or Apache 2.0 licence and free to use. The costs come from model usage and from optional hosted services, such as LangChain’s LangSmith for tracing or the cloud platforms that run Google ADK and Strands agents. Model tokens are usually the largest line, so budget for those first.

Do I need a framework to build an AI agent?

No. A basic agent loop takes a few dozen lines with any model API that supports tool calling. Frameworks become useful when you need persistence, approvals, tracing, multi-agent coordination or support for many models.

Which AI agent frameworks support MCP?

MCP support is standard among the major AI agent frameworks. LangGraph, the OpenAI Agents SDK and CrewAI can all connect to MCP servers, as can Pydantic AI, Google ADK, Microsoft Agent Framework, the Claude Agent SDK and Strands Agents. A tool built as an MCP server works across all of them.

The bottom line on AI agent frameworks

The field has consolidated around a handful of actively maintained projects, while older names such as AutoGen hand over to successors. In my count, Pydantic AI, Google ADK and Strands Agents had the busiest repositories over the past year, and LangGraph offered the strongest stability promise. Activity data tells you which AI agent frameworks are alive; your own prototype tells you which one fits. Choose by design style and ecosystem first, and check that the project is still releasing. Build your tools as MCP servers so they stay portable, and keep the agent as simple as the task allows.

About the author Aradhya Chaudhary

Data Scientist | Freelancer | Speaker & Writer skilled in programming, development and building AI/ML backed systems.

More from Aradhya
Keep reading

More in AI & ML

All of AI & ML →