picoagents
Teach the building blocks of production multi-agent systems through small, testable primitives.
Description
Minimal multi-agent framework published as companion code for Victor Dibia's book Designing Multi-Agent Systems (O'Reilly 2025). Pedagogic in scope but published on PyPI and actively maintained; demonstrates composable termination conditions, a pre/post/error middleware chain, and first-class interruptibility (cancellation + external signals) as separately-tested primitives.
Primary use cases
- Book companion code for working through multi-agent design exercises
- Reference implementation of composable termination and middleware contracts
Open the full interactive page →
Diagram, neighbourhood map, code examples, related patterns and full provenance.