Skip to main content
← Guides

Agent frameworks: how to choose

Planning

Compare workflow control, session state, tool execution and deployment boundaries; distinguish SDK mechanisms from application configuration.

Choose the level you need

Write down what your application needs to control before choosing an SDK. Their abstraction levels differ. Low-level does not mean fewer capabilities, and one kind of tool's execution model does not describe the whole SDK.

RequirementInspect
Explicit workflow steps and branchesGraph, state, nodes and interruption recovery
Collaboration between agentsTools, handoffs, scheduling and responsibilities
Context across turnsSession backend, retained scope and recovery
Tools accessing files, commands or networksExecution process, permissions and isolation

Four frameworks

ProjectMechanisms in official documentationApplication decisions
LangGraphStateful orchestration, durable execution, streaming, human-in-the-loopState schema, storage configuration, branches and tool permissions
OpenAI Agents SDKAgent loop, tools, handoffs, Sessions, human-in-the-loopSession backend, tool authorisation, business approvals and model integration
Google ADKAgents, graph workflows, sequential/loop/parallel workflows and runtimeWorkflow design, state data and deployment configuration
Claude Agent SDKClaude Code capabilities, custom in-process MCP tools and external MCP connectionsCLI/tool permissions, deployment isolation and session lifecycle

A mechanism's existence does not mean it is configured for your application. Check language-specific SDK and version coverage separately.

When each fits

LangGraph: examine durable execution and interruption mechanisms when you need explicit graph, state and recovery control. Describe recovery from failure as well as the success path.

OpenAI Agents SDK: examine its runtime when you need an agent loop, tools and handoffs. For cross-turn context, inspect Sessions rather than describing it as having no state management. Check model compatibility against the tool-call and response capabilities you actually need.

Google ADK: examine graph, sequential, loop or parallel workflows for the appropriate task. Its documentation also provides an Agent Runtime; it is not merely a graph layer that cannot run agents.

Claude Agent SDK: examine the Python or TypeScript version when embedding Claude Code capabilities and custom tools. create_sdk_mcp_server() creates a tool server inside the Python application. That does not mean the whole SDK has no CLI subprocess or guarantee zero end-to-end IPC overhead.

Verification scope

On 2026-11-04, this page's mechanism comparison was checked against four official documents: the LangGraph overview, OpenAI Agents SDK introduction, Google ADK documentation and Claude Agent SDK Python reference.

Three boundaries were corrected: OpenAI Agents SDK has Sessions and human-in-the-loop mechanisms; ADK has an Agent Runtime; Claude's in-process MCP tools do not make the entire SDK single-process. No SDK was executed, no throughput was measured, and compatibility across all versions was not verified.

Common misreads

  • A persistence mechanism does not establish a working backup; check backend, retention and recovery.
  • Multiple-model support does not make substitution free; recheck prompts, tool schemas and evaluations.
  • Human-in-the-loop is not automatic safety; approval points must cover consequential actions.
  • In-process tools still need explicit file, command and network boundaries.
  • Feature names alone are insufficient; check language, version and deployment environment.

Sources

SourceURL
LangGraph official overview (orchestration and persistence mechanisms; 2026-11-04)https://docs.langchain.com/oss/python/langgraph/
OpenAI Agents SDK introduction (Sessions and human-in-the-loop; 2026-11-04)https://openai.github.io/openai-agents-python/
Google ADK documentation (agents, graph workflows and runtime; 2026-11-04)https://google.github.io/adk-docs/
Claude Agent SDK Python reference (in-process MCP tools versus CLI subprocess; 2026-11-04)https://platform.claude.com/docs/en/agent-sdk/python

Source snapshot: 2026-11-04; item-specific rechecks and their scope are recorded in the text or source notes. Features and terms may change; check the original sources before use.