Implementation patterns: PydanticAI multi-agent applications.
Agents SDK orchestration · Handoffs.
A tool result returns to its caller. A handoff moves responsibility for the next response to the receiving agent.
Agents as tools · Handoff semantics.
Agents SDK handoff semantics and history filters.
PydanticAI structured outputs · Structured output limitations.
Independent audits can overlap. A scientific review waits for the draft it examines. Both workflows need a shared run budget.
PydanticAI delegation and shared usage limits.
Both agents receive the same computed evidence. The person judges its scientific meaning and approves the current content before export.
Data: Vasco (vascos), Swiss Popular Voting, Kaggle, version 1, MIT. National proposal records. See dataset/README.md.
dataset/README.md
Application design using TypeSafe Choice and structured state. Profiles and selection priorities come from the host.
This example selects Model B. Models A and C stay idle. An unusable decision follows the separate fallback branch.
PPQ Decisions API · TypeSafe routing pattern.
PPQ request contract · Choice fields · Decision-model catalog.
Choice response contract · PydanticAI model overrides. Transport, validation, and error handling surround this dispatch excerpt.
TypeSafe confidence · When none of the choices fits. The baseline comparison is a proposed evaluation design.
These interfaces can coexist. A remote agent reached through A2A can use MCP tools and return a structured result.
MCP · A2A specification · Agent Client Protocol.
MCP tools and their user interaction model.
A2A concepts · Normative specification. Current bindings include JSON-RPC, gRPC, and HTTP.
Official merger announcement, 25 August 2025 · Agent Client Protocol architecture.
Codex subagents · Codex worktrees.
Prompt adapted to this course from Codex delegation guidance. Availability depends on the student's tool and account.
Worktrees in a coding assistant · Git worktrees.
Separate folders allow independent changes. A person still checks whether those changes work together.
Coding-assistant worktrees.
Optional reading · Google Cloud, 5 agent orchestration patterns backed by research, 19 November 2026.
Open the profile migration video.
Open video separately · 1 min 13 s · William Droz · all Idiap personal websites converted to corporate profiles
Open the profile comparison video.
Open video separately · 42 s · William Droz · original and generated pages side by side
Kim et al., Towards a Science of Scaling Agent Systems, v3, April 2026.
Discussed example: YC Labs, Agents in Games, October 2026.
A fully connected directed network has N(N−1) possible sender–receiver links. The topology does not determine how many messages agents actually send.
Cemri et al., Why Do Multi-Agent LLM Systems Fail?, v3, October 2025. The MAST study organizes annotated failures into design, inter-agent alignment, and verification.
Anthropic Frontier Red Team, Patterns and problems in emerging multiagent systems, 13 August 2026, “Incompatible goals”.
Case evidence: Anthropic, Patterns and problems in emerging multiagent systems, 13 August 2026, “Incompatible goals”. Design responses are course interpretation.
Towards a Science of Scaling Agent Systems, v3, 8 April 2026 · Silo-Bench, v2, 13 April 2026.
Examples: ScaleMAS, October 2026 · G-Memory, 2025 · CoMem, September 2026.
The shared store survives an agent leaving the task. Each reader receives selected notes rather than the full discussion.
Qi et al., ScaleMAS, 12 October 2026, v1 preprint, §2. Simplified architecture.
A later team receives selected experience from earlier tasks, with different context for different agent roles.
Zhang et al., G-Memory, NeurIPS 2025 · Architecture, §3. Simplified diagram.
Private stores preserve agent-specific experience. Selected lessons reach the collective pool, and both stores inform later tasks.
Yu et al., CoMem, 14 September 2026, v1 preprint, §3. Simplified architecture.
ScaleMAS · G-Memory · CoMem.
YC Labs, Agents in Games, October 2026. These are observations from specific configurations.
Short quotations from YC Labs, Agents in Games. Observations apply to the reported runs.
YC Labs replay and experiment description.
Case evidence: YC Labs, Agents in Games. Experimental comparisons above are proposed discussion designs.
Instructor-supplied clips from X. Original posts and authorship unverified. “Grok” is an on-screen label, not verified model provenance. Clip provenance.
Open the trading desk clip.
Open the trading terminal clip.
From X · original posts unknown · authenticity unverified · Clip provenance
Open the role network clip.
Open the task routing clip.
Rune desktop UI · Rig agents · Android Bluetooth Classic.
Particles trace active jobs. The highlighted row shows the story currently at the reviewer.
Data: Vasco (vascos), Swiss Popular Voting, Kaggle, version 1, MIT. See dataset/README.md.
Each new draft gets its own request. A decision for an earlier draft cannot advance the current one.
Android emulator. Data: Vasco (vascos), Swiss Popular Voting, Kaggle, version 1, MIT.
Visual references: the supplied role-network clip from X with unverified provenance and Anomaly's Rune showcase.
MCP tools · stdio transport.