Control plane

Coordinate reliable agent workflows

A control-plane view that treats policies, failure states, and human recovery as first-class components.

Source-reviewed guideUpdated July 14, 2026Independent reference
01

What agentic orchestration controls

Agentic orchestration is the runtime control layer around agents and tools. It decides what acts next, what state and permissions travel with the task, and which event moves the run toward success, recovery, review, or termination. The agent may choose an action; the orchestrator still owns the allowed state transitions.

  • Routing and delegation between specialized capabilities
  • State, context, ownership, and expected outputs
  • Tool permissions, approvals, budgets, and terminal conditions
  • Recovery, observability, and evidence for later evaluation

Sources [1][4][6]

Original diagram A control plane around an agent run
02

Routing, delegation, and handoffs

Routing selects a downstream path while delegation assigns a bounded subtask. A handoff transfers control to another agent and therefore needs a typed payload, a reason, an owner, and an expected result. OpenAI represents handoffs as tools and allows input filtering; that makes the transfer inspectable, but the application must still define what context is appropriate to pass.

  • Use deterministic routing when categories and consequences are stable
  • Use model-based routing only when ambiguous inputs justify the added cost
  • Prefer a compact task packet over forwarding an unfiltered transcript
  • Record who transferred control, why, and what the receiver must return

Sources [1][2]

03

Shared state without shared confusion

Conversation history is not the same as workflow state. Durable orchestration separates immutable inputs, current task state, agent-local working memory, external source-of-truth data, and an append-only event log. Checkpoints then make a run resumable without asking agents to reconstruct progress from prose.

  • Store business records in the system that already owns them
  • Persist the smallest state needed to resume safely
  • Version state schemas and validate every handoff payload
  • Keep secrets and permission tokens out of model-visible memory

Sources [4][5][7]

04

Permissions and tool boundaries

The control plane should authorize actions, not merely describe permissions inside a prompt. Give each agent the smallest toolset and data scope needed for its current task. Require explicit approval before irreversible, high-value, or externally visible actions such as refunds, deployments, deletions, or outbound messages.

  • Separate read, propose, and execute capabilities
  • Issue short-lived credentials scoped to the current step
  • Validate tool inputs and outputs independently of the agent
  • Fail closed when policy or identity context is missing

Sources [4][8]

05

Retries, timeouts, and idempotency

Failure is a state, not an exception to the design. Retry only errors that are plausibly temporary, use backoff and a hard attempt limit, and make side-effecting steps idempotent before they can be replayed. Completed expensive steps should be checkpointed so a resumed run does not repeat them.

  • Classify errors as retryable, blocked, policy-denied, or terminal
  • Attach an idempotency key to every external side effect
  • Set time and cost budgets for both a step and the entire run
  • Escalate with the current state, attempted actions, and evidence

Sources [5][7][8]

Original diagram Treat recovery as explicit state transitions
06

Human approval and manual recovery

Human-in-the-loop is a resumable protocol, not a notification. The workflow must pause at a checkpoint, show the proposed action and relevant evidence, accept approve, edit, or reject input, and continue from the same state. The reviewer should not need to reverse-engineer the preceding agent conversation.

  • Place approval before the side effect, not after it
  • Include alternatives, confidence, sources, and expected impact
  • Define timeout ownership and what happens when nobody responds
  • Allow a human to edit state or route the task to manual handling

Sources [4][5][8]

07

Centralized and decentralized control

A central orchestrator makes policy, tracing, and recovery easier to reason about. Decentralized handoffs can reduce bottlenecks and support specialized teams, but increase the risk of context drift and ambiguous ownership. Most production systems benefit from a hybrid: local agent decisions inside centrally enforced policy and state boundaries.

  • Centralize identity, policy, budgets, state transitions, and audit logs
  • Decentralize domain reasoning and reversible local choices
  • Use explicit contracts at every boundary between teams or runtimes
  • Keep one authoritative run identifier across all participants

Sources [2][4][6]

08

Observability and evaluation

A final answer is not enough to debug an orchestrated system. Capture the run as a hierarchy of traces and spans covering model generations, tool calls, handoffs, guardrails, approvals, retries, and state transitions. Then evaluate both outcome quality and operational behavior such as cost, latency, recovery rate, and unnecessary autonomy.

  • Correlate every event with the same run and task identifiers
  • Redact sensitive inputs before exporting traces
  • Measure success, manual intervention, cost, and time to recovery
  • Replay representative failures after every policy or prompt change

Sources [3][7]

Control-plane map

Orchestration is more than routing

A reliable orchestrator owns state transitions, permissions, timeouts, retries, approvals, traces, and terminal outcomes.

Use the framework above as a review sequence

Primary sources

Documentation reviewed for this guide

Claims about framework behavior are tied to current first-party documentation. The design recommendations are our synthesis of those documented capabilities.

  1. 01
  2. 02
  3. 03
  4. 04
  5. 05
  6. 06
  7. 07
  8. 08