Pattern matrix/White Paper/Collaboration
ADPS Agent Design Pattern White Paper · Module Overview
Collaboration · How multiple participants complete one body of work
The movement of tasks, context, authority, evidence, and responsibility across participants.
Collaboration pays off through task scale, specialist boundaries, independent review, or fault isolation. Adding participants also adds hand-off loss, resource conflicts, and goal drift. This module defines those boundaries and shows how the six collaboration patterns fit together.
Three collaboration planes
| Plane | Typical question | Engineering objects |
|---|---|---|
| Agent-Agent | How should work be divided, parallelized, handed off, reviewed, and isolated? | topology, role, artifact, handoff, workspace, trace |
| Human-Agent | Where do people set intent, provide evidence, approve, take over, and accept? | intent, interrupt, checkpoint, approval, acceptance |
| Human-Human around the agent | How do decisions and responsibility survive for later people and agents? | RFC, ADR, runbook, decision record |
The third plane often remains in meetings, chat, and individual memory. Decisions, evidence, and boundaries that affect later work belong in versioned assets; raw conversation does not need to be copied wholesale.
Design semantics and runtime primitives
Complex collaboration graphs often reduce to serial, parallel, and routing edges. These primitives describe connectivity. Loops, hierarchy, and orchestration retain higher-level semantics about global state, review, reassignment, and acceptance.
Hierarchical Delegation may compile to routing, parallel calls, and gather. Adversarial Review may compile to generate, review, adjudicate, and conditional loop. Similar edges still carry different responsibility. ADPS calls this topology lowering. Runtime records should preserve the design pattern, roles, contracts, and acceptance references.
Four layers of collaboration design
| Layer | Entries | Scope |
|---|---|---|
| Relationship patterns | C1 Hierarchical Delegation, C2 Fan-Out/Gather, C3 Adversarial Review, C4 Handoff Chain | Who collaborates, and where global state and responsibility live |
| Constraint | C5 Sub-Agent Isolation | Context, tools, credentials, budget, workspace, and failure propagation |
| Distributed candidate | C6 Choreography | Event collaboration without a central orchestrator |
| Mechanisms | hooks, skills, event buses, interpreters, agent protocols | Runtime capabilities used by several patterns |
An order flow may select payment, inventory, and notification agents at runtime. It remains dynamic orchestration while one interpreter owns the plan and gathers results. C6 begins when payment publishes an event, inventory and notification subscribe under local rules, and no node knows the complete flow. Ownership of the plan, not predefinition, is the criterion.
Topology governance matrix
| Structure | Identity | Authority | Safeguards | Provenance |
|---|---|---|---|---|
| Serial | Principal at each hop | Scoped per leg and reclaimed | Gates stop propagation | Linear responsibility chain |
| Parallel | Independent shard roles | Branch isolation; read-only gather | Branch checks plus global validation | One trace with child spans |
| Routing | Route matches identity and risk | Tighter scope on high-risk routes | Ingress and differentiated controls | Route reason and full path |
Topology describes how control unfolds; it does not replace authorization or audit. Effective authority narrows across the user, current task, agent role, tool, and resource.
Handoff Contract
Conversation history does not reliably express binding decisions, rejected paths, authority, or acceptance criteria.
handoff_id: h_01K...
goal: preserve the compatibility interface
from_role: requirements-agent
to_role: implementation-agent
artifacts:
- uri: artifact://spec/417
version: sha256:...
decisions:
- choice: keep the public schema
evidence: adr://23
authority:
allowed_tools: [repo_read, patch_write]
resource_scope: repo://service-a
acceptance:
checks: [unit_tests, contract_tests]
A Handoff Contract transfers goal, artifacts, decisions, responsibility, authority, and acceptance. The receiver explicitly accepts or rejects it, and temporary authority from the previous leg is reclaimed.
Same-stack, heterogeneous, and cross-session collaboration
Agents in one session share a runtime but still need constrained context and tools. Separate sessions or worktrees isolate files, not requirement IDs, shared configuration, databases, or external environments. The scheduler must declare a write-conflict domain before parallel execution.
Heterogeneous agents may use an upper-level coordinator or distributed capability discovery and message forwarding. Both designs require capability descriptions, identity, status, timeout, idempotency, and traceable hand-off.
Independent review and feedback
Separating generator and reviewer reduces self-review bias but can sever execution feedback. Review artifacts should carry evidence, risks, conditions, and revalidation requirements. C3 sets conditions, C4 transfers them, and X1/X2 verify the external result.
Hook composition
Hooks can advance stages, enforce policy decisions, record observation events, or preserve state for recovery. G5 keeps its historical identifier for unavoidable governance enforcement points. Cross-module use is documented in Hook Composition.
From exploration to production pinning
Development can try new task splits and topologies. Test and staging progressively pin agents, models, tools, policies, and the main runtime graph. Production keeps dynamic choices only inside evaluated boundaries. Version changes require new evidence.
When multiple agents are justified
- A long task inflates one context until early detail interferes with current judgement.
- Subtasks require different skills, tools, data, or authority.
- A high-risk artifact needs structurally independent review.
- Work can be partitioned safely and wall-clock gains exceed communication and aggregation cost.
If one agent with clear skills can complete the task, the single-agent baseline is usually steadier.
Verification
| Measure | What to observe |
|---|---|
| Goal retention | Whether the final artifact still meets the original goal and non-goals |
| Hand-off loss | Where decisions, evidence, authority, or open questions disappear |
| Resource conflict | Collisions over files, identifiers, configuration, and external state |
| Aggregation quality | Contradiction, duplication, partial failure, and evidence ranking |
| Isolation effect | Whether worker failure or excess authority stops locally |
| Collaboration overhead | Added tokens, latency, cost, and human review versus the baseline |
Workshop record
This overview incorporates the first Collaboration Module Workshop on 25 August 2026. Hosts: Haili Zhang and Jia Huang. Core workshop guests: Dong Zhang and Wei Wang.
Read the workshop record · Human-Agent collaboration · Abstraction and Reconstruction
Suggested citation: ADPS, Collaboration: How multiple participants complete one body of work, Agent Design Pattern White Paper v0.9, 26 August 2026.
Pattern catalog · Collaboration workshop · CC BY 4.0
This is a public review draft. Named implementations appear in the case library; internal examples discussed in workshops are anonymized.
Chronicle
- Recorded source
- First Collaboration Module Workshop (25 August 2026); Deep Agents dynamic collaboration study
- Source date
- First published on ADPS