← ~/pillars / multi-agent-orchestration/

Architecture and orchestration

When splitting work across agents pays, which topology fits which job, how the patterns port across Claude subagents, LangGraph, ADK, and the OpenAI Agents SDK, and the system design that lets an agent safely change the part it is given.

by Paul Grycuk

updated 2026-11-08 12 artifacts 6 patterns

~/playbook/multi-agent-orchestration stage · scale

When does splitting work across agents pay, and which topology fits?

standard
Fan out only when subtasks are genuinely independent: no shared files, no ordering.
check
Fresh-context verification: the reviewer is never the context that wrote the code.
skill
Orchestrator-worker dispatch, with context isolation and explicit handoff.
metric
Coordination-token overhead against wall-clock gain.
failure mode
Two agents silently overwriting each other's edits; tokens burned on false parallelism.
~/pillars/multi-agent-orchestration/artifacts 12
prompt-adr-author.mdx prompt

ADR author command

A /adr-author command that drafts a structured MADR record with YAML frontmatter from a one-line decision description. Always status: proposed, never invented facts.

✓ verified 2026-06-10

prompt-adversarial-reviewer.mdx prompt

Adversarial reviewer subagent

A fresh-context reviewer that verifies independently instead of trusting the implementer's report, with severity calibration and the always-finds-something caveat built into the prompt.

✓ verified 2026-06-10

prompt-implementer-subagent.mdx prompt

Implementer subagent and dispatch template

A scoped implementation worker for .claude/agents/ with file-ownership discipline, questions-before-work, mandatory self-review, and a fixed status-report format, plus the dispatch prompt that drives it.

✓ verified 2026-08-10

prompt-orchestrator-dispatch.mdx prompt

Orchestrator dispatch prompts

The dispatch-prompt anatomy for spawning agent teammates: scope, context the teammate cannot inherit, deliverable shape, and the adversarial-debate variant for competing hypotheses.

✓ verified 2026-07-18

prompt-subagent-definition.mdx prompt

Subagent definition: adversarial verifier

A complete .claude/agents/ definition for a read-only verifier subagent that tries to refute the main session's conclusion in a fresh context, with the frontmatter contract annotated.

✓ verified 2026-07-18

settings-agent-teams.mdx settings

Settings: agent teams, gated

The settings.json that enables experimental agent teams with quality-gate hooks on teammate idle and task completion, plus the limitations a team should read before turning it on.

✓ verified 2026-07-18

skill-api-agent-review.mdx skill

Skill: agent-callable API review

A review skill that audits an API against the agent-readiness bar: intent-revealing operations, RFC 9457 errors with recovery hints, idempotency keys, rate-limit headers, and programmatic auth.

✓ verified 2026-07-18

skill-runbook-incident.mdx skill

SKILL.md: incident runbook for a Java service on AWS

Symptom-matched runbooks with read-only investigation and human-approved remediation, adapted from the Anthropic SRE agent pattern to ECS, CloudWatch, and SSM.

✓ verified 2026-06-10

terraform-bedrock-agent-iam.mdx terraform

Terraform: least-privilege IAM for a Bedrock agent workload

Role, EU Geo-aware invocation policy, optional guardrail enforcement, and a cost-attributed application inference profile for an agent service.

✓ verified 2026-06-10

workflow-fan-out-review.mdx workflow

Fan-out review workflow

A headless script plus GitHub Actions wrapper that runs three domain reviewers (security, performance, test coverage) in parallel over a PR diff and gates on blocking findings.

✓ verified 2026-06-10

workflow-adr-validation.mdx workflow

Workflow: ADR validation in CI

A GitHub Actions workflow that validates architecture decision records against a schema, so agent-authored ADRs meet the same structural bar as human ones and the decision log stays machine-readable.

✓ verified 2026-07-18

workflow-llms-txt-generation.mdx workflow

Workflow: generated llms.txt, checked in CI

A build script that generates llms.txt from the docs tree plus a CI job that fails when the committed file goes stale, so the machine-readable index is a build product, not a chore.

✓ verified 2026-07-18

Copy-paste-complete files, each verified against the primary docs on the date shown.

// patterns

The reading behind the artifacts, one pattern per page.

❯ read the full guide ~3 min · why this pillar exists and how the pieces fit →