0% read on this device
Browse the curriculum

Start Here

Vision

First Principles

Operating Model

Domain Model

Agent Factory

Runtime Architecture

AI Engineering

Autonomous Workflows

Verification & Delivery

Factory Platform

Quality Engineering

Security & Governance

Case Studies

Labs

Interview Practice

Research Journal

Reference

Curriculum/AI Engineering/A focused view of boundaries, contracts, state, authority, failure paths, and tradeoffs drawn from this chapter.
AI Engineering5 min readchapterQuick Read

Multi-Agent Topologies and Collaboration Contracts

Select and govern multiple agents only when specialization, parallelism, or independent assurance creates measurable value.

Status: Review readyRisk: highLifecycle: plan · execute · verify · learnContent reviewed 2026-08-30Maturity guide →
Claim boundaryThis is curriculum guidance. It does not by itself prove a production implementation.
architecture mode

A focused view of boundaries, contracts, state, authority, failure paths, and tradeoffs drawn from this chapter.

3. Collaboration contract

Every delegated assignment declares parent work, delegator identity, delegate profile/version, purpose, owned scope, allowed tools and data, maximum delegation depth, input package, expected output schema, completion criteria, deadline, budget, evidence requirement, failure policy, and return channel. The delegate cannot widen scope, re-delegate unless explicitly allowed, or claim acceptance.

delegation:
  id: delegation-204
  parent_attempt: attempt-31
  delegator: agent:supervisor@7
  delegate: agent:security-reviewer@4
  purpose: "Review changed authorization paths"
  scope: [files:security/**]
  authority: [repository-read, test-run]
  context_package: context:sec-review-88
  completion: schema:security-findings@3
  deadline: 2026-08-30T19:00:00Z
  budget: {model_calls: 6, cost_usd: 3}
  on_failure: return-partial-and-escalate

4. Context and shared state

Use private context when independence or least privilege matters. Use shared state only through versioned records with ownership and merge rules. Never pass an unbounded transcript as the only handoff. Summaries identify source, author, confidence, unresolved questions, and exact artifacts. Governing contracts are immutable; a delegate's observation cannot overwrite them.

8. Failure containment

FailureContainmentRecovery
Delegate exceeds scopeGateway denies and supervisor pauses branchReview attempted calls; reissue narrower assignment if safe
Child fails after mutationStop sibling work on dependent stateReconcile effect, compensate or replan
Supervisor failsDurable graph and delegation ledger preserve stateNew controller reconciles leases and child results
Conflicting editsOwnership/merge conflict blocks aggregationRebase or deterministic conflict owner decides
Correlated reviewers miss defectIndependence monitor and injected faultReplace review path and rerun affected evidence
Budget fan-outParent reservation denies new childReturn partial results and escalate

10. Versioning, tradeoffs, and nonclaims

Topology, role profiles, collaboration schemas, and join policies are versioned as part of the workflow. Changing authority or merge semantics is breaking. Multi-agent systems can improve specialization and latency but usually cost more and are harder to reproduce. This review-ready reference does not prove that any multi-agent topology beats a simpler baseline.

External review

Review this chapter.

Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.

  • Claim
  • Boundary
  • Failure
  • Evidence