An open-source OpenCode plugin that separates planning, implementation, review, testing, and documentation across specialized agents with mandatory approval gates before code ships.
Adapted from @DanKornasAI coding is fast. Verifying it is the hard part. OpenCode Swarm is an OpenCode plugin for builders who want an architect-led team of AI coding roles inside one session. It helps you separate planning, implementation, review, testing, and documentation by coordinating specialized agents through gated execution instead of asking one model to judge its own work. Key features: • Architect-led coordination – the Swarm architect plans work and coordinates the internal roles automatically • Reviewer and test gates – required reviewer and test-engineer approval must pass before code ships • Independent auto-review – runs a bounded whole-diff review in a fresh read-only model session • Resumable project state – saves plans, evidence, context, knowledge, and telemetry in `.swarm/` • Configurable safeguards – supports role configuration plus scope enforcement and shell-write detection It’s open-source (MIT license). Link in the reply 👇