Mastra hosts multi-agent workshop: supervisors, swarms, signals
Mastra Head of Developer Experience Alex Booker walked developers through real TypeScript code for orchestrating multi-agent architectures—comparing supervisor, independent, decentralized, and hybrid patterns alongside memory, shared boards, and event-driven signals. The live session focused on when adding agents actually outperforms a single-agent baseline, using evals and online scorers to weigh quality, latency, and cost.
Most multi-agent demos fail in production because teams add extra agents for theater, paying compounding token costs and losing context across handoffs. Mastra's workshop stands out by leading with skepticism—treating single-agent baselines and quantitative evals as the bar any swarm has to clear.
- –TypeScript-first alternative to LangGraph and CrewAI: While Python frameworks dominate multi-agent tutorials, Mastra brings supervisor delegation hooks (`onDelegationStart`, `onDelegationComplete`, `messageFilter`) and rubric completion loops directly into full-stack TypeScript codebases alongside Vercel AI SDK and MCP support.
- –Signals address the async agent gap: Traditional request/response loops break down for long-running background agents; Mastra's thread-scoped state and notification signals let external webhooks from GitHub, CI pipelines, or Slack steer and wake idle agents without breaking execution streams.
- –Pattern choice matters more than agent count: Walking through supervisor, decentralized, and hybrid topologies highlights the core engineering tradeoff—centralized supervisors simplify auditing and debugging at the cost of latency bottlenecks, while swarms boost parallelism but risk handoff loops and duplicated work.
- –Evals as an anti-hype filter: Pairing multi-agent topologies with Mastra's built-in evaluations and online scorers pushes developers to prove coordination overhead actually improves accuracy over a single tightly scoped agent.
DISCOVERED
28m ago
2026-12-03
PUBLISHED
1h ago
2026-12-03
RELEVANCE
AUTHOR
mastra