Cookbook
Real-world patterns and architectures for building with Subway.
These recipes show how to build common multi-agent architectures with Subway. Each pattern is self-contained — pick the one closest to what you're building and adapt it.
All examples use the WebSocket bridge so they work from any language. Rust-native equivalents use the AgentNode API directly.
Agent Swarm
Orchestrator distributes tasks to a pool of workers, collects results.
Tool Mesh
Agents advertise capabilities. Others discover and call them dynamically.
Eval Pipeline
Chain agents into a review pipeline: generate → evaluate → approve.
Monitoring Dashboard
Agents report health metrics. A dashboard agent aggregates and alerts.