Field guide

Choosing an AI agent framework: a short field guide

Seven frameworks and one protocol, sorted by the question that actually decides it: what does the agent have to survive in production?

Choose the framework whose built-in decisions match what your agent has to survive in production: a pause for approval, a long task, several agents, or a commitment to one model vendor. For a business workflow where a person approves steps, that usually points to an explicit, checkpointed graph such as LangGraph. If you have already chosen a model provider, its own SDK is the shortest path.

There are more agent frameworks than there are good reasons to choose between them. Most comparisons rank them by popularity. That is the wrong axis. A framework is a set of decisions somebody else made about state, control and failure, and the right one is the one whose decisions match what your agent has to survive.

Start from the workflow, not the framework

Before naming a tool, answer three questions about the work. Does a run have to be paused and resumed, sometimes for hours, while a person approves something? Is it one agent with tools, or several with separate responsibilities? And where will it run: your own cloud, or inside one vendor's platform? Those three answers remove most of the list.

The field at a glance

FrameworkMade byBuilt aroundLicence on GitHub
LangGraphLangChainA graph with explicit state and checkpoints, so runs can pause and resumeMIT
Deep AgentsLangChainA ready-made harness on LangGraph: sub-agents, a file system, memory, optional planningMIT
Claude Agent SDKAnthropicThe agent loop and tools of Claude Code, with permissions; Python and TypeScriptMIT label; use is governed by Anthropic's commercial terms
OpenAI Agents SDKOpenAIA few building blocks: agents, handoffs, guardrails, sessions, tracingMIT
Google ADKGoogleA code-first kit for Gemini and Google Cloud, in five languagesApache 2.0
Microsoft Agent FrameworkMicrosoftAgents plus graph-based workflows; successor to AutoGen and Semantic KernelMIT
CrewAICrewAICrews of role-based agents, plus Flows for event-driven controlMIT

Licences are as shown on each project's GitHub repository on 16 November 2026; for Google ADK that is the Python repository. An open licence covers the library. The models it calls are a separate bill.

When state and control matter most

LangGraph models an agent as a graph with explicit state and checkpoints, so a run can stop at an approval step and continue later from exactly where it was. Its interrupts save the state of a run and wait, indefinitely if need be, until someone resumes it. That is the property most business workflows need, and it is why it is the usual choice for anything with a person in the loop. Deep Agents sits on top of it and adds sub-agents with their own context, a file system, memory and optional planning, which suits long tasks that outgrow a single context window.

Several other frameworks on this list also document ways to pause and resume a run. The difference is one of emphasis: in LangGraph the saved state is the centre of the design. Whichever you choose, test the pause yourself, as described further down.

When you want the vendor's own harness

The model providers each ship an agent kit shaped around their own models. The Claude Agent SDK offers the same agent loop, tools and context management that power Claude Code, with permissions built in. The OpenAI Agents SDK is deliberately light, built around handoffs between agents and guardrails. Google's Agent Development Kit is the route into Gemini and Google Cloud. Microsoft describes its Agent Framework as the direct successor to AutoGen and Semantic Kernel, built by the same teams, for .NET and Python with Go in public preview.

Each is the shortest path if you have already chosen that provider. Several also say they work with other vendors' models: OpenAI's SDK calls itself provider-agnostic, and Google describes ADK as optimised for Gemini but model-agnostic. Treat that as a useful exit, not as neutrality. In our view the built-in tools, tracing and hosting stay shaped around the home vendor, and each kit makes leaving that vendor more work later.

When the work divides by role

CrewAI describes a system as a team: agents with roles that hand work to one another. It is quick to get a first version running and reads naturally to people who are not engineers. The trade is control. When a run goes wrong you want to know exactly which step decided what, and a role-play abstraction can make that harder to see than an explicit graph does. CrewAI's answer is a second building block, Flows, for event-driven steps with managed state. If you choose it for production, expect to use both.

The protocol underneath all of them

The Model Context Protocol is not a framework. It is the standard way an agent reaches a tool or a data source, and every framework above can use MCP servers. That matters more than any single framework choice: integrations written as MCP servers survive a change of framework, and integrations written against one framework's own tool format do not. We explain it in MCP explained for a business owner.

A short decision list

  • A person must approve steps, or runs must resume after a pause: LangGraph.
  • Long, open-ended tasks with planning and sub-tasks: Deep Agents.
  • You are committed to one model provider: that provider's own SDK.
  • A first version quickly, with responsibilities split by role: CrewAI.
  • Whatever you choose: put your integrations behind MCP.

Test two before you commit

Documentation tells you what a framework intends. A short trial tells you what it does. Take one thin slice of the real workflow, build it in your two leading candidates, and check five things.

  1. Stop the process halfway through a run. Does the run resume from where it was, or start again?
  2. Add an approval step. Can a person approve hours later, from another screen?
  3. Read the record of a finished run. Can you see which step decided what, and why?
  4. Swap the model for another vendor's. How much code changes?
  5. Check the licence and the price list. Which features sit in a paid platform?

The answers are usually clearer than any feature table, including the one above. They also give you a small working example to show the people who will approve the budget.

What no framework gives you

None of them decides what the agent is allowed to write to, how a run is evaluated before it ships, or what happens when it meets a case it was not built for. Those are the parts that separate a demo from a system someone will rely on, and they are design work, not a library. Choose the framework last, after those are written down. Our guide to testing an agent before it goes live covers the second of them.

The repositories for every framework named here, with their licences, are in our open-source directory.

Common questions

Do we need a framework at all?

Not always. One agent with a few tools can be a short loop written against a model vendor's API. Microsoft's own overview is blunt about the step before that: "If you can write a function to handle the task, do that instead of using an AI agent." A framework earns its place when runs must be saved, resumed, traced or split between agents.

Can we change framework later?

Yes, at a cost you can reduce in advance. Keep integrations behind MCP, keep prompts and test cases outside the framework's own formats, and keep business rules in ordinary code. What remains to rewrite is the orchestration, which is usually the smaller part.

Are these frameworks free?

The libraries are open source, under the MIT or Apache 2.0 licences shown above. You pay for the models they call, and some makers also offer a hosted platform; CrewAI, for example, documents an enterprise console alongside the open library. Anthropic states that use of the Claude Agent SDK is governed by its commercial terms of service. Read the licence file, not the label.

Does a vendor's SDK tie us to that vendor's models?

Not completely. OpenAI's and Google's kits both document use with other providers' models, and Microsoft's lists several providers, Anthropic and OpenAI among them. The Claude Agent SDK runs Claude Code itself. In every case, the more you lean on a vendor's built-in tools and hosting, the more there is to move.

The assessment is the same thinking, applied to your systems.

Two to three weeks, a scope agreed in writing before it starts, and a document you can act on whether or not you hire us for the build.