{"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"Credit the site and link to the page the figure came from."},"source":{"name":"Top AI Agents for Business","url":"https://topaiagentsforbusiness.com/blog/ai-agent-frameworks/","home":"https://topaiagentsforbusiness.com/","method":"https://topaiagentsforbusiness.com/methodology/","data_month":"Dec 2026","note":"Compiled from public web pages. The page behind each fact is listed in `sources` where a document has one."},"generated_at":"2026-12-03T00:40:00.000Z","site":{"key":"agents","name":"Top AI Agents for Business","domain":"topaiagentsforbusiness.com"},"slug":"ai-agent-frameworks","url":"https://topaiagentsforbusiness.com/blog/ai-agent-frameworks/","json":"https://topaiagentsforbusiness.com/blog/ai-agent-frameworks.json","title":"AI agent frameworks: what builders use and why it matters","description":"LangChain, LangGraph, LlamaIndex, CrewAI, AutoGen and MCP: what each is for, how many agent builders name them, and what a framework choice means for the team that inherits the code.","author":"Editorial desk","published_at":"2026-12-01","updated_at":"2026-12-01","tags":[],"reading_minutes":3,"sources":[{"url":"https://topaiagentsforbusiness.com/methodology/","title":"Top AI Agents for Business: method"},{"url":"https://langchain-ai.github.io/langgraph/","title":"LangGraph documentation"},{"url":"https://docs.crewai.com/","title":"CrewAI documentation"},{"url":"https://microsoft.github.io/autogen/","title":"AutoGen documentation"},{"url":"https://modelcontextprotocol.io/","title":"Model Context Protocol: specification"},{"url":"https://www.anthropic.com/research/building-effective-agents","title":"Anthropic: Building effective agents"}],"faq":[{"q":"Which AI agent framework do builders name most?","a":"LangChain, named by 82 of 980 agent builders, followed by LangGraph (49), LlamaIndex (31), CrewAI (27) and AutoGen (14). MCP, a protocol, is named by 59."},{"q":"Does the framework matter to a business buyer?","a":"Yes, for maintenance. Your team or the next vendor will inherit the code, so the framework should be one they know or can learn."},{"q":"Do I need a framework at all?","a":"Not always. Simple agents can be built with a model provider's SDK and a few functions. Frameworks help with state, retries, multi-step flows and tracing."}],"body_markdown":"When a builder proposes an AI agent, the proposal usually names a framework. To a business buyer that looks like a technical detail. It is also a maintenance decision: whoever runs the agent after the builder leaves has to work in that framework. This post explains the common ones and what the directory shows about who uses them.\n\n## What the common options do\n\n| Name | What it is | Typical use |\n|---|---|---|\n| LangChain | Library of building blocks for model apps | Chains of calls, retrieval, tool use |\n| LangGraph | Framework for stateful, graph-shaped agent flows | Multi-step agents with branches, retries and human approval steps |\n| LlamaIndex | Framework centered on connecting models to data | Retrieval over documents and databases |\n| CrewAI | Framework for groups of role-based agents | Several agents splitting a task |\n| AutoGen | Microsoft framework for multi-agent conversations | Agents that talk to each other to solve a task |\n| MCP | Open protocol for exposing tools and data to agents | Connecting agents to systems in a standard way |\n\nMCP is not a framework. It sits beside one: an agent built in any framework can call tools through MCP servers.\n\n## What builders name\n\nOf the 980 builders in the [agent builder list](/ai-agent-development-companies/), 639 name at least one tool. Framework mentions:\n\n| Framework or protocol | Builders naming it |\n|---|---|\n| LangChain | 82 |\n| MCP | 59 |\n| LangGraph | 49 |\n| LlamaIndex | 31 |\n| CrewAI | 27 |\n| AutoGen | 14 |\n\nA builder can name several, so the column adds up to more than the 104 builders that name at least one of the five frameworks. Most builders name models and business systems instead, which suggests many build with model SDKs directly or do not publish their framework. Ask.\n\nThe [LangChain builder list](/ai-agent-development-companies/using/langchain/) and the [LangGraph builder list](/ai-agent-development-companies/using/langgraph/) are the largest framework views.\n\n## Do you need a framework?\n\nAnthropic's guidance on building effective agents recommends starting with direct model calls and adding a framework only when it saves code you would otherwise write. A single agent that calls three tools may need no framework. Frameworks earn their place when you need:\n\n- Long-running state across many steps.\n- Branches, loops and retries that must be visible.\n- Human approval steps inside the flow.\n- Built-in tracing for debugging.\n\n## What to ask a builder\n\n1. Which framework, and which version?\n2. Why that one for this agent, and what would you use without it?\n3. Can our engineers maintain it? What training will you give?\n4. How are tools exposed: framework-specific, plain API, or MCP?\n5. How do you trace and test runs in this framework?\n6. If the framework releases a breaking change, who upgrades the agent?\n\n## Platforms versus frameworks\n\nAgent platforms hide the framework behind a builder interface. That trades flexibility for less code to maintain. 17 of the 165 [agent platforms](/agent-platforms/) name MCP, which gives some portability for tools even when the agent logic stays inside the platform.\n\n## The maintenance test\n\nBefore signing, ask the builder to walk one of your engineers through a small change in a past project built in the same framework. If your engineer can follow it, the framework is fine for you. If not, plan for training or ongoing support. How builder tooling is collected is on the [method page](/methodology/)."}