12 Best AI Agent Frameworks in 2026, Compared for Production

A production comparison of 12 AI agent frameworks, from LangGraph and Microsoft Agent Framework to Mastra, on durability, OpenTelemetry, MCP, licensing, and hosting.

Last updated October 11, 2026. Licenses, release dates, GitHub stars, package downloads, hosting options, and prices were checked against each project’s repository, documentation, and pricing page on that date.

Building an agent demo takes an afternoon in any framework. Choosing the one your team will still trust after a year of production traffic is the harder call.

AI agent frameworks are libraries that run the model and tool loop for you, keep state between steps, and coordinate several agents when one is not enough. This guide compares 12 of them for production use on language, license, multi-agent model, durability, OpenTelemetry, MCP support, and managed hosting.

AgentStack is an independent publication for teams that build and run agents, and this guide anchors our Agent Frameworks hub. No vendor paid for placement or reviewed this page, per our editorial standards and disclosure policy.

LangGraph is the default for teams that need long-running, stateful control, and the cloud vendor SDKs win when your stack already lives on that cloud. The right choice also depends on your language: TypeScript teams should look at Mastra and the Vercel AI SDK first, and .NET teams at Microsoft Agent Framework.

TL;DR

  • LangGraph leads on production control, with checkpointed durable execution and 44.8 million PyPI downloads in the last month.
  • AutoGen is in maintenance mode, and Microsoft points new users to Microsoft Agent Framework, which reached 1.0 on April 3, 2026.
  • LangGraph Platform is now LangSmith Deployment, a rename from October 2025 that left existing pricing and APIs unchanged.
  • Every framework in this list can call MCP tools, but only some ship native OpenTelemetry, and that decides how easily you switch observability tools.
  • Durable execution is still uneven: LangGraph and Microsoft Agent Framework checkpoint natively, while the OpenAI Agents SDK and Pydantic AI lean on Temporal, DBOS, or Restate.
  • Pick by cloud and language first, because Google ADK, Strands Agents, and Microsoft Agent Framework each deploy most cleanly to their own cloud.

The 12 Best AI Agent Frameworks at a Glance

The 12 best AI agent frameworks for production in 2026 are LangGraph, Microsoft Agent Framework, Google ADK, the OpenAI Agents SDK, the Claude Agent SDK, Strands Agents, CrewAI, Agno, Pydantic AI, LlamaIndex, Mastra, and the Vercel AI SDK. The table compares them on the eight questions a platform team asks before committing.

FrameworkLanguageLicenseMulti-agent modelState and durabilityObservability and OTelMCP supportManaged hostingBest fit
LangGraphPython, TypeScriptMITGraph nodes, supervisor and subagent patternsNative checkpointers with durable executionLangSmith native; OTel through LangSmithClient through LangChain MCP adaptersLangSmith DeploymentLong-running, stateful agents
Microsoft Agent FrameworkPython, .NET (Go in a separate repo)MITGraph workflows: sequential, concurrent, handoff, groupWorkflow checkpoints and time travelNative OpenTelemetryClient, plus A2AFoundry Hosted AgentsAzure and .NET enterprises
Google ADKPython, TypeScript, Go, Java, KotlinApache 2.0Agent hierarchies, graph workflows, A2ASessions and resumable workflowsNative OpenTelemetryMCP toolsAgent Runtime, Cloud Run, GKEGoogle Cloud and polyglot teams
OpenAI Agents SDKPython, TypeScriptMITHandoffs and agents as toolsSessions; durability through Temporal, Restate, DBOS, or DaprBuilt-in OpenAI tracing; 30+ external processorsHosted, Streamable HTTP, SSE, and stdioNone for the SDK; you host itLean multi-agent apps
Claude Agent SDKPython, TypeScriptAnthropic Commercial Terms (Python repo MIT)SubagentsSessions with resume and fork; file checkpointingOpenTelemetry exportstdio, HTTP/SSE, in-process serversClaude Managed Agents (separate product)Agents that work on files, code, and shells
Strands AgentsPython, TypeScriptApache 2.0Agents as tools, swarm, graph, A2ASession managementNative OpenTelemetryMCP toolsAmazon Bedrock AgentCore, Lambda, FargateAWS teams
CrewAIPythonMITRole-based crews plus event-driven flowsFlow state and checkpointingTracing; OTel on CrewAI AMPstdio, SSE, Streamable HTTPCrewAI AMPRole-based business automation
AgnoPythonApache 2.0Teams and workflowsSessions and memory in your own databaseOpenTelemetry in AgentOSMCP tools; AgentOS serves MCPSelf-hosted AgentOS plus paid control planeTeams that want to own the runtime
Pydantic AIPythonMITDelegation, subagents, Pydantic GraphDurability through Temporal, DBOS, Prefect, or RestateNative OpenTelemetryClient and serverNone for agents; Logfire for tracesType-safe Python services
LlamaIndexPythonMITAgentWorkflow handoffs and orchestrator agentsEvent-driven Agent WorkflowsInstrumentation module with integrationsMCP tools; workflows exportable as MCPLlamaCloudDocument-heavy agents
MastraTypeScriptApache 2.0 core; enterprise license for ee/ foldersSupervisor agentsWorkflows that suspend and resume from storageBuilt-in tracing; OTel exporterClient and server authoringMastra PlatformTypeScript product teams
Vercel AI SDKTypeScriptApache 2.0Tool loop agent with subagentsDurability through the Workflow SDKOpenTelemetry through @ai-sdk/otelClient through @ai-sdk/mcpVercel platformWeb apps adding agents
Comparison of 12 AI agent frameworks based on each project’s repository, documentation, and pricing page, reviewed October 11, 2026. OTel means OpenTelemetry. A2A is the Agent2Agent protocol for calling agents across frameworks.

Choose LangGraph when an agent runs for minutes or hours, needs human approval mid-run, and must resume after a crash. Choose a cloud vendor SDK when your data, identity, and deployment already sit on Azure, Google Cloud, or AWS. Choose Mastra or the Vercel AI SDK when your product team writes TypeScript. No framework here replaces an observability tool and an eval suite, which you still need on top.

What Is an AI Agent Framework, and Do You Need One?

An AI agent framework is a library that runs the loop in which a language model picks a tool, the code executes it, and the result goes back to the model until the task is done. Production frameworks add saved state, retries, human approval, multi-agent coordination, and tracing, which a hand-written loop has to rebuild one bug at a time.

AI agent framework diagram: an amber model and tool loop linked to state, orchestration, MCP tools, and telemetry
The model and tool loop is the core, and production frameworks differ mostly in the four jobs around it. Image: AgentStack.

Framework, SDK, or platform

The labels blur in vendor marketing, so this guide uses three terms consistently. The distinction matters at procurement time, because the library is usually free and the platform is where the bill starts.

TermWhat it isExamples in this guide
Framework or SDKAn open library you import and run inside your own serviceLangGraph, CrewAI, Pydantic AI, Mastra
Managed runtimeA hosted service that runs, scales, and persists agents built with a frameworkLangSmith Deployment, Foundry Hosted Agents, Amazon Bedrock AgentCore, CrewAI AMP
Agent harnessA preassembled agent with file, shell, planning, and memory tools already wired inClaude Agent SDK, Strands harness, Pydantic AI Harness, Deep Agents
How AgentStack uses framework, runtime, and harness, based on vendor documentation reviewed October 11, 2026.

A plain model API call is still the right tool for a single prompt with one or two function calls. Reach for a framework once an agent needs more than one tool call per request, state that survives a restart, or a second agent.

How We Chose These 12 Frameworks

We started from the frameworks named in top-ranking comparison pages and practitioner threads, then kept the ones with active releases in the last 30 days, public documentation, and real adoption in package downloads. Each profile rests on the project’s own repository, documentation, and pricing page, all reviewed on October 11, 2026.

  1. Maintenance: every framework here shipped a release between September 21 and October 9, 2026, according to GitHub releases.
  2. Adoption: GitHub stars plus last-month downloads from PyPI and npm.
  3. Production features: saved state, durable execution, human approval, and multi-agent coordination.
  4. Portability: native OpenTelemetry, MCP tool support, and model choice beyond one vendor.
  5. Deployment path: what you can self-host, and what a managed runtime costs.
  6. License: what the code license allows, and where commercial terms apply.
FrameworkGitHub starsPackage downloads, last monthLatest release checked
LangGraph43,05744.8M PyPI (langgraph); 16.2M npm (@langchain/langgraph)1.2.14, October 6, 2026
Strands Agents8,765 (harness-sdk monorepo)37.1M PyPI (strands-agents); 2.3M npmPython 1.59.0, October 8, 2026
Claude Agent SDK8,248 (Python repo)29.8M PyPI; 51.7M npmPython 0.2.165, October 8, 2026
OpenAI Agents SDK29,963 (Python repo)12.4M PyPI; 9.0M npm (@openai/agents)0.23.1, October 2, 2026
Google ADK21,776 (Python repo)10.1M PyPI; 1.2M npm (@google/adk)2.11.0, October 2, 2026
Pydantic AI20,5465.4M PyPI2.55.0, October 9, 2026
LlamaIndex52,4632.9M PyPI (llama-index)0.14.25, September 21, 2026
CrewAI59,5602.4M PyPI1.15.27, October 9, 2026
Agno42,6631.8M PyPI3.1.2, October 8, 2026
Microsoft Agent Framework14,0541.0M PyPI (agent-framework-core)Python 1.21.0, October 8, 2026
Mastra28,7018.3M npm (@mastra/core)@mastra/core 1.75.0, October 7, 2026
Vercel AI SDK27,239125.4M npm (ai)ai 7.0.137, October 9, 2026
GitHub stars and releases from the GitHub API, PyPI downloads from pypistats.org, and npm downloads from the npm registry API, all pulled October 11, 2026. Downloads count installs, including CI runs and dependencies, so they measure reach and are not a count of users.

This is a documentation, repository, and pricing review, and we did not run hands-on benchmarks for this edition. The Vercel AI SDK figure covers every use of its general AI toolkit, so it overstates agent use, and Strands Agents and the Claude Agent SDK pull high numbers partly through other tools that depend on them.

What Changed in 2026: AutoGen, LangGraph Platform, and the Harness Turn

Three shifts reshaped the framework market between October 2025 and October 2026: Microsoft folded AutoGen and Semantic Kernel into Microsoft Agent Framework, LangChain renamed its hosting product, and several vendors started shipping preassembled agent harnesses alongside their libraries. Most comparison pages that rank today still predate at least one of these changes.

ChangeWhat happenedWhat it means for buyers
AutoGenREADME marks it as in maintenance mode, community managed, with no new features; last push April 15, 2026Start new projects on Microsoft Agent Framework, and use the official migration guide for existing AutoGen code
Microsoft Agent Framework 1.0Reached 1.0 for .NET and Python on April 3, 2026, after a February release candidateStable APIs with a long-term support commitment, combining Semantic Kernel foundations with AutoGen orchestration
LangGraph PlatformRenamed LangSmith Deployment, and LangGraph Studio renamed LangSmith Studio, in the week of October 13, 2025Same deployments, APIs, pricing, and contracts; search and procurement documents may still use the old name
Strands AgentsThe SDK repo moved into the strands-agents/harness-sdk monorepo, next to a new Strands harnessIts 8,765 stars understate its reach, so compare Strands on its 37.1 million monthly PyPI installs
LlamaIndexREADME says the company’s primary focus has shifted to LlamaParse document processingThe open framework remains available, but weigh roadmap priority before betting a core agent on it
Mastra agent networksDeprecated in favor of supervisor agentsNew Mastra multi-agent code should use supervisor agents
Framework status changes compiled from repositories, changelogs, and announcements, reviewed October 11, 2026.

The harness turn is the newest trend. Anthropic’s Claude Agent SDK, the Strands harness, Pydantic AI Harness, and LangChain’s Deep Agents all ship an agent with file access, shell, planning, and context management already assembled, so teams start from a working agent instead of an empty loop.

Production Orchestrators: LangGraph, Microsoft Agent Framework, and Google ADK

Graph orchestrators model an agent as nodes and edges with saved state between steps, which gives engineers explicit control over branching, retries, and human approval. LangGraph, Microsoft Agent Framework, and Google ADK all take this approach, and each one pairs it with a managed runtime from its parent company.

1. LangGraph

LangGraph product page reading Balance agent control with agency, describing an agent runtime and orchestration framework
LangGraph product page. Image: LangChain.

Verdict: LangGraph is the strongest default for long-running, stateful agents that need human approval and crash recovery in production.

LangGraph is LangChain’s MIT-licensed, low-level orchestration framework for stateful agents, available in Python and TypeScript. It was the most downloaded framework on PyPI among the 12 we checked, at 44.8 million installs in the last month.

Its durable execution saves a checkpoint after each step, so a run that fails or pauses for approval resumes where it stopped. For a faster start, LangChain’s Deep Agents package (30,118 stars) builds a planning agent with subagents and a file system on top of LangGraph.

Key features

  • Checkpointers for durable execution, interrupts for human approval, and time travel through saved state.
  • Short-term and long-term memory stores.
  • Multi-agent patterns, including supervisor and subagent designs, documented in the LangChain multi-agent guide.
  • MCP client support through LangChain’s MCP integration, which is marked beta from langchain 1.4.0.

Pricing and license

  • The LangGraph library is free under the MIT license.
  • LangSmith Plus costs $39 per seat per month and includes one free small serverless deployment.
  • Extra deployments are metered in LangChain Standard Units at $1.00 each, by compute and memory used; Enterprise adds hybrid and self-hosted options.

Prices come from LangSmith pricing. Managed hosting is LangSmith Deployment, formerly LangGraph Platform.

Pros and cons

Pros

  • The most mature checkpointing and resume model among the 12.
  • Large ecosystem across Python and TypeScript, with LangSmith tracing ready to use.

Cons

  • A low-level graph API means more code than higher-level frameworks for simple agents.
  • OpenTelemetry export runs through LangSmith, so the smoothest path keeps you on LangChain’s stack.

2. Microsoft Agent Framework

Microsoft Agent Framework README on GitHub describing production AI agents and multi-agent workflows in .NET and Python
Microsoft Agent Framework README on GitHub. Image: Microsoft.

Verdict: Microsoft Agent Framework is the clear pick for .NET shops and Azure enterprises, and the official successor for AutoGen and Semantic Kernel users.

Microsoft Agent Framework is an MIT-licensed framework for agents and multi-agent workflows in Python and .NET, with a Go SDK in a separate repository. Microsoft announced version 1.0 on April 3, 2026, with stable APIs and a long-term support commitment.

Its graph workflows support checkpoints, streaming, human approval, and time travel, and it ships first-party connectors for Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic Claude, Amazon Bedrock, Google Gemini, and Ollama.

Key features

  • Sequential, concurrent, handoff, and group collaboration orchestration patterns.
  • Built-in OpenTelemetry observability across Python and .NET.
  • MCP and A2A support for tools and cross-framework agents.
  • Middleware hooks for content safety, logging, and compliance policies, plus YAML declarative agents.

Pricing and license

  • The framework is free under the MIT license.
  • Foundry Hosted Agents run on Microsoft Foundry, billed through Azure.
  • We found no single public list price for Foundry hosting of framework agents, so model and compute costs follow your Azure agreement.

License and features come from the GitHub repository and the 1.0 announcement. AutoGen users can follow the AutoGen migration guide.

Pros and cons

Pros

  • First-class .NET support, which most other frameworks here lack.
  • Native OpenTelemetry and checkpointing in the same package.

Cons

  • The 1.0 line is six months old, so third-party tutorials and integrations are thinner than LangGraph’s.
  • The smoothest hosting path assumes Azure and Microsoft Foundry.

3. Google Agent Development Kit (ADK)

Google ADK homepage reading Build production agents, not prototypes, with a Python agent code sample and language tabs
Agent Development Kit documentation homepage. Image: Google.

Verdict: Google ADK fits Google Cloud teams and polyglot organizations, since it is the only framework here with official Python, TypeScript, Go, Java, and Kotlin SDKs.

Google Agent Development Kit is an Apache 2.0, code-first framework that is optimized for Gemini but works with other models, including Claude, OpenAI, and local models through Ollama or vLLM. ADK 2.0 added a graph workflow runtime with routing, fan-out, loops, retries, and human input.

Agents deploy to Agent Runtime on Google Agent Platform, Cloud Run, GKE, or any container host. ADK also speaks A2A for calling agents built in other frameworks.

Key features

  • Graph workflows plus sequential, parallel, and loop template workflows.
  • A Task API for structured agent-to-agent delegation.
  • MCP tools, OpenAPI tools, and a tool confirmation flow for human approval.
  • OpenTelemetry tracing, documented in the ADK observability guide.
from google.adk import Agent

root_agent = Agent(
    name="greeting_agent",
    model="gemini-3.5-flash",
    instruction="You are a helpful assistant. Greet the user warmly.",
)

That hello agent comes from the ADK README. The same file can grow into a graph workflow without changing frameworks.

Pricing and license

  • ADK is free under the Apache 2.0 license.
  • Agent Runtime, Cloud Run, and GKE bill at Google Cloud rates.
  • ADK has no separate license fee or paid tier of its own.

License and deployment options come from the ADK repository and deployment docs.

Pros and cons

Pros

  • Five official language SDKs.
  • A2A and MCP support make it a good hub for mixed-framework estates.

Cons

  • The deepest integrations favor Gemini and Google Cloud.
  • Google’s hosting product names changed during 2026, so older guides may point to Vertex AI Agent Engine.

Model Vendor SDKs: OpenAI, Anthropic, and AWS Strands

Model vendor SDKs trade graph control for a small API: you define agents, tools, and handoffs, and the SDK runs the loop. The OpenAI Agents SDK, the Claude Agent SDK, and AWS’s Strands Agents are the three most downloaded of this type, and each fits best on its maker’s models or cloud.

4. OpenAI Agents SDK

OpenAI Agents SDK documentation homepage describing a lightweight framework for multi-agent workflows
OpenAI Agents SDK documentation. Image: OpenAI.

Verdict: The OpenAI Agents SDK is the lightest path to multi-agent apps with handoffs, guardrails, and tracing, especially for teams already on OpenAI models.

The OpenAI Agents SDK is an MIT-licensed framework in Python and TypeScript. It works with the OpenAI Responses and Chat Completions APIs and, according to its README, more than 100 other models.

Its tracing is on by default and sends runs to OpenAI’s Traces dashboard. Tracing is unavailable for organizations under a Zero Data Retention policy, and the docs list more than 30 external tracing processors, including Langfuse, LangSmith, Braintrust, and Datadog.

Key features

  • Handoffs and agents as tools for delegation.
  • Input and output guardrails, human approval, and sessions backed by SQLite, Redis, or SQLAlchemy.
  • Durable execution integrations with Temporal, Restate, DBOS, and Dapr.
  • MCP support for hosted, Streamable HTTP, SSE, and stdio servers, plus sandbox, realtime, and voice agents.
from agents import Agent, Runner

agent = Agent(name="Assistant", instructions="You are a helpful assistant")
result = Runner.run_sync(agent, "Write a haiku about recursion in programming.")
print(result.final_output)

That example comes from the SDK README. Add tools, handoffs, or guardrails as arguments to the same Agent object.

Pricing and license

  • The SDK is free under the MIT license.
  • You pay for model usage at your provider’s API rates.
  • There is no managed runtime for SDK agents, so you host them yourself.

License and features come from the GitHub repository and the SDK documentation.

Pros and cons

Pros

  • A small API that a new engineer can learn in a day.
  • Tracing works on day one without extra setup.

Cons

  • Durability depends on adding Temporal, Restate, DBOS, or Dapr.
  • Default tracing goes to OpenAI, so regulated teams need to configure processors or switch it off.

5. Claude Agent SDK

Claude Agent SDK overview page from Anthropic describing production AI agents built with Claude Code as a library
Claude Agent SDK overview documentation. Image: Anthropic.

Verdict: The Claude Agent SDK is the fastest way to ship agents that read files, run commands, and edit code, as long as you are committed to Claude models.

The Claude Agent SDK packages the agent loop, built-in tools, and context management behind Claude Code as a Python and TypeScript library. The SDK runs the Claude Code binary, which the Python package bundles.

Use is governed by Anthropic’s Commercial Terms of Service, according to the overview page. The Python repository carries an MIT license, while the TypeScript repository license points to the Commercial Terms.

Key features

  • Built-in tools for files, shell commands, and web search, with a permission system for approvals.
  • Hooks, subagents, skills, and plugins loaded the same way as in Claude Code.
  • Sessions you can resume or fork, plus file checkpointing to rewind changes.
  • MCP servers over stdio, HTTP, or SSE, in-process SDK servers, and OpenTelemetry export.
import anyio
from claude_agent_sdk import query

async def main():
    async for message in query(prompt="What is 2 + 2?"):
        print(message)

anyio.run(main)

That quick start comes from the Python SDK README. Options such as allowed tools and the working directory go into ClaudeAgentOptions.

Pricing and license

  • The SDK has no license fee; you pay for Claude API tokens.
  • Anthropic’s hosting guide estimates a minimal container at roughly $0.05 per hour and says token cost usually dominates.
  • Claude Managed Agents is a separate, Anthropic-hosted harness for teams that do not want to run containers.

Costs and the subprocess model come from the Agent SDK hosting guide.

Pros and cons

Pros

  • A working agent with file and shell tools from the first line of code.
  • Strong permission and hook controls for risky tools.

Cons

  • Runs Claude models only.
  • Each session needs a container or sandbox with the CLI, which is heavier than a library call.

6. Strands Agents

Strands homepage reading The open source toolkit for building production agents, with harness, SDK, and evals cards
Strands Agents homepage. Image: Strands Agents.

Verdict: Strands Agents is the natural choice for AWS teams that want a model-driven agent loop with OpenTelemetry tracing and a direct path to Amazon Bedrock AgentCore.

Strands Agents is an Apache 2.0 SDK for Python and TypeScript from AWS. It runs in your own process with no hosted control plane and works with Amazon Bedrock, Anthropic, OpenAI, Gemini, and other providers.

The project now lives in the strands-agents/harness-sdk monorepo, which also holds the Strands harness, a preassembled agent. The strands-agents package had 37.1 million PyPI downloads in the last month.

Key features

  • Lifecycle controls such as turn limits, token budgets, cancellation, and stop reasons.
  • Multi-agent patterns: agents as tools, swarm, graph, and A2A.
  • Native OpenTelemetry traces, plus metrics, logs, and an evals SDK.
  • MCP tools, session management, guardrails, and structured output.
from strands import Agent
from strands_tools import calculator

agent = Agent(tools=[calculator])
agent("What is the square root of 1764")

That example comes from the Strands README. Its docs cover configuring Amazon Bedrock, Anthropic, OpenAI, Gemini, Ollama, and other providers.

Pricing and license

  • Strands is free under the Apache 2.0 license.
  • Deployment targets include Amazon Bedrock AgentCore, Lambda, Fargate, App Runner, EKS, and EC2, each billed at AWS rates.
  • There is no Strands license tier.

License and features come from the Strands repository.

Pros and cons

Pros

  • Native OpenTelemetry and evals in one SDK.
  • Many documented AWS deployment targets.

Cons

  • Older tutorials point to the previous sdk-python repo path, which now redirects to the monorepo.
  • Durable execution beyond sessions needs an external workflow engine.

Multi-Agent and Runtime Frameworks: CrewAI and Agno

CrewAI and Agno package agents together with a runtime and a control plane, so a team gets orchestration, storage, and an admin UI from one vendor. CrewAI organizes work as role-based crews, while Agno positions itself as the runtime for a company’s own agent platform.

7. CrewAI

CrewAI homepage reading The Enterprise Agent Build and Runtime, above a demo of crew and flow steps
CrewAI homepage. Image: CrewAI.

Verdict: CrewAI is the quickest way to model a business process as a team of role-based agents, with a commercial control plane for enterprises that want one.

CrewAI is an MIT-licensed Python framework with two layers: Crews, which assign roles, goals, and tools to collaborating agents, and Flows, which add event-driven control and state. It has 59,560 GitHub stars, the most of any active framework in this list.

CrewAI collects anonymous usage telemetry by default, according to its README, and teams can switch it off by setting OTEL_SDK_DISABLED to true. Prompts, task content, and tool data are not collected unless the share_crew feature is turned on.

Key features

  • Role-based crews plus Flows for deterministic steps.
  • Checkpointing, memory, guardrails, and human input.
  • MCP servers as tools over stdio, SSE, and Streamable HTTP.
  • Tracing and OpenTelemetry in the CrewAI AMP control plane.

Pricing and license

  • The framework is free under the MIT license.
  • CrewAI AMP Basic is free with 50 workflow executions per month.
  • Enterprise is custom priced, with SSO, RBAC, PII redaction, and deployment to CrewAI cloud, your VPC, or your own infrastructure.

Prices come from CrewAI pricing.

Pros and cons

Pros

  • The most readable abstraction for business stakeholders.
  • Large community and course material.

Cons

  • Autonomous crews are harder to make deterministic than explicit graphs.
  • Telemetry is on by default and must be disabled for strict environments.

8. Agno

Agno homepage reading Build your own agent platform, next to the AgentOS trace view
Agno homepage. Image: Agno.

Verdict: Agno suits teams that want to own a full agent platform, with serving, storage, tracing, and access control in their own cloud.

Agno is an Apache 2.0 Python framework paired with AgentOS, a runtime that serves agents over a REST API with more than 50 endpoints and stores sessions, memory, and traces in your own database.

Agents can work alone, in teams, or in workflows. AgentOS also exposes agents over MCP, A2A, AG-UI, Slack, and other interfaces.

Key features

  • OpenTelemetry tracing, run history, and audit logs inside AgentOS.
  • JWT-based RBAC with multi-user and multi-tenant isolation.
  • Human approval steps and cron scheduling without extra infrastructure.
  • More than 100 prebuilt toolkits and deploy templates for Docker, AWS, GCP, Azure, and others.

Pricing and license

  • The SDK and AgentOS runtime are free and open source.
  • The Pro control plane costs $150 per month with one live AgentOS connection and three seats.
  • Extra seats cost $30 per month, extra live connections $95 per month, and SAML SSO $300 per month; Enterprise is custom.

Prices come from Agno pricing.

Pros and cons

Pros

  • Data stays in your database, with no per-event metering.
  • Production API, auth, and tracing included.

Cons

  • A larger surface area than a plain library, so the platform is part of the commitment.
  • Python only.

Typed and Data-Centric Python: Pydantic AI and LlamaIndex

Pydantic AI and LlamaIndex serve Python teams with specific strengths: Pydantic AI brings type-checked inputs, outputs, and tools to agent code, and LlamaIndex brings document retrieval and parsing. Both are open source under MIT, and both rely on partner tools for some production jobs.

9. Pydantic AI

Pydantic AI page reading Build agents that go the distance, with an illustrated plan, research, and approval workflow
Pydantic AI product page. Image: Pydantic.

Verdict: Pydantic AI is the best fit for Python teams that want type-safe agents, any model, and plain OpenTelemetry, with durability supplied by a workflow engine they already trust.

Pydantic AI is an MIT-licensed agent framework from the team behind Pydantic. Structured outputs and tool arguments are validated with Pydantic models, and switching models is a one-string change.

For long-running work, its durable execution integrations cover Temporal, DBOS, Prefect, Restate, and AWS Lambda. Its instrumentation is plain OpenTelemetry, so traces go to Logfire or any OTel backend.

Key features

  • Typed outputs, dependencies, and tools checked by static type checkers.
  • Subagents, planning, memory, and guardrails through Pydantic AI Harness capabilities.
  • MCP client and server support, plus Pydantic Graph for explicit control flow.
  • Pydantic Evals for testing agent behavior.

Pricing and license

  • Pydantic AI is free under the MIT license.
  • Logfire Personal is free up to 10 million telemetry records per month.
  • Logfire Team costs $49 per month with 10 million records included and $2 per million after.

Prices come from Pydantic pricing.

Pros and cons

Pros

  • The best type safety in Python agent code.
  • Vendor-neutral OpenTelemetry and broad durable execution options.

Cons

  • No managed agent runtime of its own.
  • Durability requires running a separate engine such as Temporal or DBOS.

10. LlamaIndex

LlamaIndex LlamaAgents documentation page describing agent workflows for document tasks
LlamaAgents documentation. Image: LlamaIndex.

Verdict: LlamaIndex is the strongest choice when an agent’s main job is reading, parsing, and extracting from documents.

LlamaIndex is an MIT-licensed Python framework for retrieval and agent applications with more than 300 integration packages. Its Agent Workflows provide event-driven orchestration with branching, parallel steps, human review, durability, and observability.

The company’s README says its primary focus has shifted to LlamaParse, its document platform. The open framework remains available, which makes LlamaIndex strongest for document agents and less obvious as a general orchestration bet.

Key features

  • Multi-agent patterns: AgentWorkflow handoffs, orchestrator agents, and custom planners.
  • MCP tools, and conversion of workflows and tools into MCP servers.
  • The llamactl CLI for local development and deployment to LlamaCloud or self-hosting.
  • Deep integrations for parsing, indexing, and vector stores.

Pricing and license

  • The framework is free under the MIT license.
  • LlamaCloud Free includes 10,000 credits; Starter costs $50 per month and Pro $500 per month.
  • LlamaCloud credits cost $1.25 per 1,000, with Enterprise custom.

Prices come from LlamaIndex pricing.

Pros and cons

Pros

  • The deepest document parsing and retrieval tooling here.
  • Mature ecosystem of integrations.

Cons

  • Company focus now centers on LlamaParse.
  • Less native production tooling for general agents than LangGraph or Microsoft Agent Framework.

TypeScript Frameworks: Mastra and the Vercel AI SDK

TypeScript teams have two strong options in 2026: Mastra, a full agent framework with workflows, memory, evals, and observability, and the Vercel AI SDK, a provider-neutral toolkit with an agent loop that most Next.js teams already install. Both are Apache 2.0 licensed at the core.

11. Mastra

Mastra homepage reading Build AI agents, with a project tree of agents, tools, and workflows
Mastra homepage. Image: Mastra.

Verdict: Mastra is the most complete agent framework for TypeScript teams that want workflows, memory, evals, and tracing in one package.

Mastra is a TypeScript framework for agents and workflows that plugs into React, Next.js, and Node or runs as a standalone server. Code outside ee/ folders is Apache 2.0, and enterprise features under ee/ use a separate license, per its license file.

Workflows suspend for human approval and resume from storage, and multi-agent work runs through supervisor agents now that agent networks are deprecated.

Key features

  • Model routing across more than 40 providers through one interface.
  • Graph workflows with then, branch, and parallel steps, plus suspend and resume.
  • Observational memory, RAG, built-in evals, and MCP client and server authoring.
  • Built-in tracing with an OpenTelemetry exporter.

Pricing and license

  • The framework core is free under Apache 2.0.
  • Mastra Platform Starter is free with 100,000 observability events and 24 CPU hours per month.
  • Teams costs $250 per month with 1 million events and 250 CPU hours; Enterprise is custom, including licensed self-hosted features.

Prices come from Mastra pricing.

Pros and cons

Pros

  • A full stack for TypeScript, from workflows to evals.
  • Strong npm adoption, at 8.3 million downloads last month.

Cons

  • Enterprise features sit under a non-Apache license.
  • API churn: agent networks were deprecated within the 1.x line.

12. Vercel AI SDK

AI SDK homepage reading Universal AI layer for building frameworks and agents, with an npm install command
AI SDK homepage. Image: Vercel.

Verdict: The Vercel AI SDK is the right base for web product teams adding agents to an existing Next.js or Node app, with durability added through the Workflow SDK.

The Vercel AI SDK is an Apache 2.0 TypeScript toolkit for model calls, structured output, streaming UI, and agents. Its ToolLoopAgent class runs the tool loop with stopping conditions, runtime context, and tool approvals.

The package named ai had 125.4 million npm downloads last month, the highest in this guide, though that count covers every AI feature built with it. For runs that must survive restarts, Vercel’s Workflow SDK makes TypeScript functions durable.

Key features

  • Subagents that take context-heavy tasks off the main agent.
  • MCP client through @ai-sdk/mcp, with HTTP transport recommended for production.
  • OpenTelemetry spans through the @ai-sdk/otel package.
  • UI hooks for React, Svelte, and Vue.

Pricing and license

  • The SDK is free under the Apache 2.0 license.
  • By default it routes model calls through Vercel AI Gateway, and direct provider packages are also supported.
  • Hosting on Vercel follows Vercel’s platform pricing, and self-hosting on any Node runtime is possible.

License and features come from the GitHub repository and AI SDK docs.

Pros and cons

Pros

  • Already in many web stacks, so adding an agent adds no new framework.
  • Excellent streaming UI support.

Cons

  • A toolkit first, so multi-agent orchestration is lighter than in Mastra or LangGraph.
  • Durability requires adopting the separate Workflow SDK.

Frameworks we considered but did not profile

AutoGen (61,350 stars) is in maintenance mode, and Semantic Kernel (28,643 stars) now describes itself as Microsoft Agent Framework, its successor. Deep Agents appears inside the LangGraph profile. DSPy, smolagents, Haystack, and AG2 are active open-source projects, but each is narrower or less production-focused for this pillar’s audience.

Production Readiness Compared: Durability, Telemetry, and Hosting

Three questions separate a production framework from a demo framework: can a run resume after a crash, can its traces flow to any OpenTelemetry backend, and is there a supported place to host it. LangGraph, Microsoft Agent Framework, and Google ADK come closest to answering all three with a managed runtime from the same vendor.

FrameworkResume after a crashNative OpenTelemetryManaged runtime and entry price
LangGraphNative checkpointsThrough LangSmithLangSmith Plus, $39 per seat per month
Microsoft Agent FrameworkNative checkpointsYesFoundry Hosted Agents, Azure rates
Google ADKResumable runs and workflowsYesAgent Runtime, Google Cloud rates
OpenAI Agents SDKThrough Temporal, Restate, DBOS, or DaprExternal processorsSelf-host
Claude Agent SDKSession resume and file checkpointsYesClaude Managed Agents, separate product
Strands AgentsSessions; external engine for durabilityYesAmazon Bedrock AgentCore, AWS rates
CrewAICheckpointingOn CrewAI AMPAMP Basic free; Enterprise custom
AgnoSessions in your databaseYes, in AgentOSSelf-host free; control plane $150 per month
Pydantic AIThrough Temporal, DBOS, Prefect, or RestateYesSelf-host; Logfire from free
LlamaIndexAgent Workflows durabilityThrough instrumentation integrationsLlamaCloud, from free
MastraSuspend and resume from storageExporterMastra Platform, from free
Vercel AI SDKThrough the Workflow SDKYes, @ai-sdk/otelVercel platform pricing
Production capabilities compared from vendor documentation and pricing pages, reviewed October 11, 2026. Entry prices exclude model usage, which usually dominates cost.

Telemetry portability decides your observability options later. Frameworks with native OpenTelemetry can send the same spans to Langfuse, Arize Phoenix, Datadog, or any other backend covered in our guide to AI agent observability tools, without a rewrite.

Which AI Agent Framework Should Your Team Use?

Match the framework to your language, your cloud, and how long your agents run. A team’s existing stack usually narrows 12 options to two or three within an hour, and a one-week prototype of the same agent on the finalists settles the rest.

Three-question flow for picking an AI agent framework by language, cloud, and run length, with LangGraph in amber
Language and cloud narrow the field first, and run length decides between a graph orchestrator and a lighter SDK. Image: AgentStack.

Startups shipping a first agent

Start with the OpenAI Agents SDK or Pydantic AI for a single product agent, and move to LangGraph once runs need approvals or resume. Pair either with an open-source tracing tool from our AgentOps stack so early traces are not locked to one vendor.

Enterprises on Azure and .NET

Use Microsoft Agent Framework, and plan AutoGen and Semantic Kernel migrations now, since Microsoft names Agent Framework as the successor to both and AutoGen receives no new features. Foundry Hosted Agents keeps identity, networking, and billing inside your Azure agreement.

Teams on Google Cloud or AWS

Google Cloud teams should start with Google ADK and Agent Runtime, and AWS teams with Strands Agents and Amazon Bedrock AgentCore. Both SDKs work with other model providers, so the cloud choice does not lock the model choice.

TypeScript product teams

Choose Mastra when agents are a core product feature with workflows and evals, and the Vercel AI SDK when you are adding an agent to an existing web app. LangGraph.js remains an option when the backend team already runs LangGraph in Python.

Regulated and data-sensitive enterprises

Favor frameworks with native OpenTelemetry and self-hosting, such as Microsoft Agent Framework, Agno, Pydantic AI, and LangGraph with self-hosted LangSmith on Enterprise. Disable default telemetry in the OpenAI Agents SDK and CrewAI unless your policy allows it.

Disqualifier: a framework will not make an unreliable agent reliable. If your agent cannot pass a fixed eval set today, fix the prompts, tools, and evals first, using a stack like the one in our AgentOps tools map, before you migrate frameworks.

Frequently Asked Questions About AI Agent Frameworks

Is AutoGen still maintained in 2026?

AutoGen is in maintenance mode, according to its GitHub README, which means no new features or enhancements and community management going forward. Microsoft directs new users to Microsoft Agent Framework, which reached version 1.0 on April 3, 2026, and publishes a migration guide for existing AutoGen projects.

Is LangGraph better than CrewAI for production?

LangGraph is usually the stronger production choice when agents run long, need human approval, or must resume after failures, because it checkpoints state after every step. CrewAI is faster to model role-based business processes and offers the CrewAI AMP control plane, but its autonomous crews are harder to make deterministic.

Which AI agent frameworks support MCP?

All 12 frameworks in this guide can call Model Context Protocol tools as of October 2026, including LangGraph, the OpenAI Agents SDK, Google ADK, and Microsoft Agent Framework. Mastra, Pydantic AI, and LlamaIndex can also expose agents or tools as MCP servers, and Agno’s AgentOS serves agents over MCP.

What happened to LangGraph Platform?

LangChain renamed LangGraph Platform to LangSmith Deployment in October 2025 and renamed LangGraph Studio to LangSmith Studio. Existing deployments, APIs, pricing, and contracts stayed the same, according to the LangSmith changelog. Managed hosting is included in LangSmith Plus, which costs $39 per seat per month.

Are AI agent frameworks free to use?

Most AI agent frameworks are free open-source libraries under MIT or Apache 2.0 licenses, including LangGraph, CrewAI, Google ADK, and Pydantic AI. Costs come from model tokens and managed runtimes. The Claude Agent SDK is free to install but governed by Anthropic’s Commercial Terms of Service.

The Bottom Line: Choose for Durability and Portability

Pick the framework that matches your language and cloud, then confirm it can resume a failed run and emit OpenTelemetry before you commit. LangGraph is the safest general default for stateful agents, Microsoft Agent Framework for Azure and .NET, and Mastra for TypeScript. Recheck status every quarter, since 2026 retired AutoGen and renamed LangGraph Platform within a single year.

We update this guide quarterly, and maintainers can send corrections through our contact page. Once an agent is running, our map of AgentOps tools covers the tracing, evals, gateways, and guardrails that sit around any framework.

Related guides: the AgentOps tools map, the 12 best AI agent observability tools, and Langfuse vs LangSmith vs Braintrust.