lowob

What Is an Agent Framework?

An agent framework is software that runs agent loops for you. It calls the model, executes the tools the model asks for, keeps state between steps, pauses for a person's approval and records what happened. LangGraph, the OpenAI Agents SDK, Microsoft Agent Framework and Google's Agent Development Kit are the best-known options. Choose one on how it handles state, approvals and tracing rather than on demos, and keep your instructions, tests and decision record outside it.

Gateway 0ToolingContextRecordReasoningGateway 1Gateway 2Gateway 3
Agents are the reasoning layer, and they touch every stage of the build.

What an agent framework means

Without a framework, a team writes the agent loop by hand: send the prompt, parse any tool call, run the tool, append the result, handle errors, retry, enforce a turn limit, save state, and log every step. A framework packages that work. Our glossary's definition is short: software that runs agent loops, manages state and pauses for approval.

It helps to place a framework among the other layers an agent depends on.

LayerWhat it doesExamples
ModelReads context and decides the next stepClaude, GPT, Gemini
ProtocolStandard way to reach tools or other agentsMCP for tools, A2A for agent-to-agent
FrameworkRuns the loop, state, approvals, tracingLangGraph, OpenAI Agents SDK, Microsoft Agent Framework, Google ADK, Claude Agent SDK
HostingRuns agents at scaleAzure AI Foundry, Google Cloud Run, a team's own servers
RecordWhat was decided, why, by whom, and with what resultYours to keep

A framework is not a model and not an agent. It is the harness one or more agents run in.

What frameworks provide

The main options converge on a similar feature list, with different emphasis.

State and durable execution. LangGraph lists durable execution as a core capability, so agents "persist through failures and can run for extended periods". For commercial work this matters when a run must wait days for an approval and then resume where it stopped.

Human in the loop. LangGraph lets people inspect and modify agent state mid-run. The OpenAI Agents SDK lists built-in mechanisms for involving humans during runs. This is where autonomy levels are enforced in code.

Guardrails. OpenAI's SDK treats input and output validation as a primitive. A guardrail can block a draft that quotes a price outside policy before anyone sees it.

Tracing. OpenAI's SDK has built-in tracing; Microsoft says it contributed to OpenTelemetry, an open observability standard, so agent traces can flow into existing monitoring tools.

Multi-agent patterns. Microsoft's 1.0 release supports sequential, concurrent, handoff and group-chat orchestration. Google's ADK supports fixed "workflow agents" alongside model-led routing. Many commercial tasks need none of these at first.

Open standards. Microsoft names MCP, A2A and OpenAPI support. Standard tool interfaces are what keep a framework replaceable.

Why it matters for a commercial team

Most mid-size firms do not need to choose a framework first. An assistant with connectors covers answering and drafting, levels 0 and 1 on lowob's dial. A framework becomes necessary when a firm builds its own agent that acts on systems: updating CRM records, routing approvals, or running overnight jobs at level 3.

The framework is wiring for the reasoning layer. Rent it. What should not live inside it are the things that carry a firm's judgment: the instructions, the precedents, the evaluation cases and the decision record. If those sit in plain files and databases you control, moving from one framework to another is an engineering task, not a loss of history. We compare five production options in Top 5 agent frameworks for production.

What to check before choosing

QuestionWhy it mattersWhat good looks like
Can a run pause for approval and resume days later?Commercial approvals are slowCheckpointed state that survives restarts
Can it stop before a named action?Enforces the autonomy levelPer-tool approval or blocking hooks
Is every step traced and exportable?Audit and debuggingStandard trace format, exportable logs
Does it support several model providers?Avoids lock-in to one modelDocumented support for more than one
Are tools connected through MCP or OpenAPI?Keeps tools reusableStandard interfaces, not custom glue
Is there a long-term support commitment?Frameworks are young and changeStable release with stated support

lowob takeaways

  • A framework runs the loop. It handles state, tools, approvals and tracing.
  • Most firms need one later than they think. Assistants with connectors cover answering and drafting.
  • Choose on state and approvals. Demos show the happy path; pauses and resumes show the product.
  • Keep judgment outside it. Instructions, precedents, tests and records stay yours.

Common questions

What are AI agent frameworks?

Software libraries that handle the repeated work of running an AI agent: calling the model, executing tools, keeping state, pausing for approval and logging each step. Examples include LangGraph, the OpenAI Agents SDK, Microsoft Agent Framework and Google ADK.

Do I need an agent framework to use AI agents?

Not to start. Assistants with connectors cover answering and drafting. A framework matters when you build your own agent that acts on systems or runs unattended.

What replaced AutoGen?

Microsoft Agent Framework, announced in October 2025 and released as 1.0 in April 2026, is the successor for new work. AutoGen now receives bug fixes and security patches only.

Sources and notes

What Is an AI Agent, and Where Does It Fit in the Brain?

Read next in The Build Order