Skip to content

Agent Architecture & Orchestration

One agent doing everything is a single point of failure with a full context window.

How multi-agent work gets structured: decomposing a goal into agent-sized tasks, choosing an orchestration topology, validating outputs at the seams, and recovering when an agent fails mid-flight.

  • Decompose work into focused, single-purpose agents
  • Validate outputs before acting on them
  • Build recovery into the architecture, not as an afterthought
  • Failures are the most expensive tokens; design to minimize them
  • Can the subtask be briefed in one message, with no mid-flight clarification?
  • Does it share mutable state (a branch, a file) with a concurrent agent? Disjoint scopes or serialize.
  • Is the acceptance criterion checkable by the orchestrator without redoing the work?
  • An agent’s report is a claim, not evidence: verify the artifact, not the summary
  • Fabrication happens; validation at the seam is what keeps it out of deliverables
  • Use Verification Loops at every handoff that feeds a downstream action
  • What happens when an agent times out, drifts from its brief, or returns garbage?
  • Prefer retriable, idempotent subtasks; design so a failed agent can be relaunched cold
  • Keep the orchestrator lean: coordination and decisions, not implementation
  • One mega-agent with an ever-growing prompt instead of decomposition
  • Trusting subagent reports without inspecting outputs
  • Parallel agents sharing a branch or file and merging by hope
  • Orchestrator doing the work itself, burning the coordination context