← ~/pillars / multi-agent-orchestration / framework-landscape
The framework landscape
Claude subagents and the Agent SDK, LangGraph, Google ADK, and the OpenAI Agents SDK: what actually differs between them, and why the topology patterns port across all four.
updated 2026-07-27 ~3 min read pattern 04/06 Architecture & Orchestration
on this page
Context
The topology patterns in this pillar (orchestrator-worker, verification by a fresh context, isolation and handoff) are framework-independent. The frameworks themselves are not interchangeable: they differ in where state lives, how work is handed off, and what enforcement surface you get. Teams usually inherit this decision from whichever ecosystem they already sit in, then discover the differences in production. Better to know them going in.
Forces
Claude Code subagents and the Agent SDK are harness-native: a subagent is
a fresh context window dispatched from a session, nestable three layers below
the main conversation by default (v2.1.219, configurable via
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH), with tool scoping per agent
(sub-agents).
The orchestration logic stays in the harness (or in Python/TypeScript via the
Agent SDK); the
strengths are the enforcement surface that comes with it (hooks, permission
modes, sandboxing) and zero orchestration code to own. The constraint is the
shape: tree-structured delegation, no arbitrary graphs.
LangGraph models the workflow as an explicit state graph: nodes, edges, and a persisted state object with durable execution and human-in-the-loop interrupts as first-class features (docs). It is the strongest choice when the workflow itself is the product (resumable, auditable, branching) and the cost is that you own a graph definition and its state schema as production code.
Google ADK is a code-first multi-agent framework with hierarchical agent composition and, unusually in this field, multi-language support including Java (adk.dev). That matters more than its feature list: JVM teams building orchestration inside their services have had no first-party option from Anthropic or OpenAI, and ADK is the first credible one.
The OpenAI Agents SDK is built around handoffs (an agent transferring a conversation to another agent), with tracing and guardrail hooks as the supporting cast (Agents SDK). It is the lightest-weight of the four for peer-to-peer delegation patterns; its enforcement surface is comparatively thin.
Resolution
Choose by where your verification lives, not by feature lists.
- If your quality gate is the harness (hooks, permission policy, CI on the agent’s output), Claude subagents plus headless fan-out give you topologies with zero framework code. This is the default this site recommends, and it is where the deterministic-guardrails patterns apply without translation.
- If your quality gate is workflow state (approvals, resumability, audit), LangGraph’s explicit graph earns its ownership cost.
- If your orchestration must live inside a JVM service, ADK’s Java support makes it the first-party-shaped option; evaluate it against calling the Managed Agents API over REST before committing to in-process orchestration.
- Whatever you choose, the topology decision rule from this pillar’s landing is unchanged: independence of subtasks decides whether parallelism pays, in every framework.
Worked example
The orchestrator-worker pattern expressed twice. In Claude Code, the orchestrator is the main session: it decomposes the task, dispatches each worker as a subagent with a scoped prompt and file ownership, and the workers’ tool use is governed by the same hooks and permission profile as the session itself: enforcement comes free. In LangGraph, the orchestrator is a node: it writes the task list into the graph state, a fan-out edge dispatches worker nodes, and their outputs merge back into state: durability comes free (a crashed run resumes from the last checkpoint), but every guardrail the harness gave you is now a node you write yourself. Same topology, same decision rule, different half of the work done for you. That trade, enforcement for durability, is the real content of the framework choice, and it is why this pillar teaches topologies first and frameworks second.