AI agent frameworks compared

Build agents
HoneyHive Engineering

Nine agent frameworks side by side on license, languages, orchestration, state, human approval and MCP, with AutoGen's archived status called out.

An AI agent framework is a library that runs the loop of model calls and tool calls for you and adds the parts around it: orchestration, state, human approval and tool connections. The nine below have a Learn page each and are compared on the same criteria, with licenses and languages read from each project’s repository and everything else from its own docs. One of them, AutoGen, is archived.

The nine are: LangChain, LangGraph, CrewAI, OpenAI Agents SDK, Google ADK, Pydantic AI, Microsoft Agent Framework (successor to Semantic Kernel and AutoGen), DSPy and AutoGen. Other frameworks exist. LlamaIndex is compared with LangChain on its own page.

At a glance

Framework License Languages Status
LangChain MIT Python, plus LangChain.js (README) Active
LangGraph MIT Python, plus LangGraph.js Active
CrewAI MIT Python >=3.10 and <3.14 Active
OpenAI Agents SDK MIT Python 3.10+, with a JavaScript/TypeScript version Active
Google ADK Apache 2.0 Python, TypeScript, Go, Java and Kotlin Active
Pydantic AI MIT Python Active
Microsoft Agent Framework MIT .NET, Python and Go, with Go in public preview Active
DSPy MIT Python 3.10+ Active
AutoGen MIT code Python and .NET Archived

“Active” means the repository shows no archive notice when read on 2026-11-10.

How each one works

Each entry covers the same things: what it is, how you define control flow, how it handles several agents, state and human approval, and MCP.

LangChain

LangChain’s overview says it provides create_agent, “a minimal, highly configurable agent harness”, and that its agents are built on top of LangGraph. You extend the loop through middleware for things like guardrails, retries and routing. For several agents, its docs list subagents, handoffs, skills, routers and custom workflows. Persisting a conversation by thread needs a checkpointer, and human-in-the-loop support comes from LangGraph. MCP tools work through an adapter in a beta namespace. Details: LangChain.

LangGraph

LangGraph is, in its docs’ words, a low-level orchestration framework and runtime for long-running, stateful agents. You define the graph yourself, and the docs say it does not prescribe prompts or agent architecture. State is checkpointed so runs can resume after failures or pauses, and a run can pause for a person to inspect or edit state and then continue. The overview says LangGraph does not require LangChain. Multi-agent designs are built by wiring the graph (LangChain’s docs call this a custom workflow), and MCP tools come through LangChain’s MCP adapter. Details: LangGraph.

CrewAI

CrewAI combines two layers: Flows, which are structured event-driven workflows that manage state, and Crews, which are teams of agents that take tasks from a Flow. Its README calls it a standalone Python framework with its own primitives. Flow state can be a Pydantic model or a dict, @persist saves it, and @human_feedback pauses for a reviewer in CrewAI 1.8.0 or later. Crews run sequentially or under a manager, and delegation between agents is off by default. Agents take MCP servers through an mcps field. Details: CrewAI.

OpenAI Agents SDK

The SDK is a lightweight package with very few abstractions built on agents, agents as tools, handoffs and guardrails. The repository calls it provider-agnostic, working with “100+ other LLMs”. The runner loop calls the model, runs tools and follows handoffs until there is a final output. Sessions give agents a persistent memory layer, the docs list built-in mechanisms for involving humans during runs, and remote MCP tools are exposed alongside function tools. Tracing is built in. Details: OpenAI Agents SDK.

Google ADK

ADK is, per its site, an open-source agent development framework to build, debug and deploy agents, and it “can work with almost any generative AI model”, with Gemini built in. Workflows are graphs that mix deterministic code with AI reasoning, and the docs list sequential, loop and parallel templates and multi-agent workflows. The Python repository says agents are composed into flexible hierarchies and that tools can come from OpenAPI specs and MCP. The site’s navigation lists human input, action confirmations and resuming agents, and an A2A section. Details: Google ADK.

Pydantic AI

Pydantic AI calls itself the Python AI SDK, a typed, extensible agent loop, with structured outputs and tool arguments validated before your code runs. Pydantic Graph adds typed control flow when one agent loop is not enough. The overview lists human-in-the-loop approval, durable execution on nine engines including Temporal, DBOS and Prefect, multi-agent collaboration and MCP in its core. Details: Pydantic AI.

Microsoft Agent Framework

Microsoft’s overview describes agents, a harness agent, workflows and integrations. Workflows are functional or graph based and run through explicit execution paths, and the repository lists sequential, concurrent, handoff and group collaboration patterns with checkpointing and human-in-the-loop. Agents keep state in a session and call MCP servers as tools. The overview calls it the direct successor to Semantic Kernel and AutoGen, created by the same teams. Details: Semantic Kernel and Microsoft Agent Framework.

DSPy

DSPy is a Python framework for building AI systems where you write signatures instead of prompts, pick a module such as Predict, ChainOfThought or ReAct, and let an optimizer tune the prompts from examples and a scoring function. It can build tool-using agents with dspy.ReAct, and dspy.Tool.from_mcp_tool wraps a remote MCP tool as a DSPy tool. Its overview does not describe checkpointing, human approval or multi-agent orchestration, because it is a framework for programs of model calls and their optimization more than a runtime. Details: DSPy and prompt optimization.

AutoGen

AutoGen was a framework for creating multi-agent applications with three layers: Core (event-driven agents and runtimes), AgentChat (a higher-level API for teams) and Extensions. Its README now says the project is archived and no longer maintained, and Microsoft names Microsoft Agent Framework as the successor. AutoGen can save and load state for agents and teams, but Microsoft’s migration guide says its team abstraction has no built-in checkpointing. It has an mcp_server_tools() helper in its extensions. Details: AutoGen.

Which one to start with

The right framework depends mostly on how much of the control flow you want to write. These pairings follow from what each project’s docs say it is for.

If you want Look at
To write the graph, with checkpoints and pauses LangGraph
A fast start on an agent loop with middleware LangChain
Role-based teams of agents inside event-driven workflows CrewAI
A small set of primitives: agents, handoffs, guardrails OpenAI Agents SDK
Java, Go, Kotlin or TypeScript, or one-command Google Cloud deployment Google ADK
Typed outputs and validated tool arguments in Python Pydantic AI
.NET, or a successor path from Semantic Kernel or AutoGen Microsoft Agent Framework
To optimize prompts from examples and a metric DSPy
To keep an existing AutoGen app running AutoGen, then the migration guide

For head-to-head detail, see LangGraph vs CrewAI vs AutoGen, Google ADK vs LangGraph vs OpenAI Agents SDK and Pydantic AI vs LangChain vs LangGraph. For the ideas behind the columns, see multi-agent systems, agent orchestration and Model Context Protocol.

Tracing and testing whichever you pick

Whatever the framework, an agent run is a tree of model calls and tool calls, and you need to see it to debug it. See agent tracing for what to capture and testing AI agents for how to test it. HoneyHive’s docs have an integration page for each framework above, so the tracing setup is documented for all of them: LangChain, LangGraph, CrewAI, OpenAI Agents SDK, Google ADK, Pydantic AI, Semantic Kernel, DSPy and AutoGen.

FAQ

What are the most used AI agent frameworks?

This page lists nine with the same criteria: LangChain, LangGraph, CrewAI, OpenAI Agents SDK, Google ADK, Pydantic AI, Microsoft Agent Framework, DSPy and AutoGen. AutoGen is archived, so it is only for existing code.

Which AI agent frameworks are open source?

All nine are. The repositories for LangChain, LangGraph, CrewAI, the OpenAI Agents SDK, Pydantic AI and Microsoft Agent Framework show an MIT license, Google ADK uses Apache 2.0, and DSPy shows MIT. You still pay for model calls.

Is AutoGen still maintained?

No. The AutoGen README says the project is archived and that Microsoft is not providing bug fixes, security fixes, new features or support. It tells new users to start with Microsoft Agent Framework.

Do I need an agent framework?

Not always. Microsoft's Agent Framework overview says if you can write a function to handle the task, do that instead of using an AI agent. See what AI agents are and agent architecture for when an agent is the right shape.

Which framework should I pick for multi-agent systems?

It depends on how much control flow you want to write. The LangGraph, CrewAI and AutoGen comparison and the Google ADK, LangGraph and OpenAI Agents SDK comparison go deeper on pairs and trios.

Share