All guides

Topic hub

Choosing an AI Agent Framework

The Framework Choice Is Smaller Than It Looks

Every agent framework provides the same four things: a way to call a model, a way to call a tool, a way to hold state, and a way to decide what happens next. The differences are in the edges: how state is persisted, how observability works, and what the team already knows.

That is why the choice matters less than the discipline of writing the agent so that it can be moved.

The Four Things

Four properties to compare, in this order.

State, meaning whether a run can pause, resume and survive a restart.

Tool definition, meaning how a tool is declared, validated and permissioned.

Observability, meaning what is recorded per step and how it can be inspected.

Portability, meaning how much of the code is the framework and how much is yours.

Everything else is preference.

The Guides

Framework comparison as the starting point.

LangGraph against the OpenAI Agents SDK on the two most compared options.

OpenAI Agents SDK tutorial for a first agent.

LangGraph tutorial for stateful workflows.

Google ADK tutorial for a task agent.

Claude Agent SDK for when it fits.

No code against code for the build decision.

n8n for approvals where the workflow tool already exists.

Workflow engine alongside an SDK for the common hybrid.

Self hosted against managed.

Provider portability for the exit that is worth building.

Python or TypeScript.

Migration checklist for when the choice has to change.

The Rule

Write the agent so that the model call is a function, the tools are plain functions, and the state is your own data structure. Then the framework is a convenience rather than a commitment.

Next step

Read the framework comparison, or contact us to review a stack.

FAQ

Question: Which framework should a small team pick?

The one with the fewest concepts to learn, provided it supports durable state. A framework that saves a week now and costs a quarter later is a bad trade.

Question: Does the choice affect quality?

Barely. Prompt, tools and evaluation determine quality; the framework determines how easily you can find out why.

Question: How often do teams migrate?

More often than they expect. That is the argument for keeping the model call and the tools portable.

Next step

Talk to us about the work.

Tell us what you want an agent to run. We come back with a scope, not a slide deck.