opencode-swarm
by zaxbysauce
Architect-centric swarm orchestration for code generation with SME review
Summary
Orchestrates hub-and-spoke agent swarms focused on code tasks with SME consultation, automated code generation, and QA review. Uses an architect-centric plugin model for OpenCode that routes work to specialist agents and checkpoints results through human-in-the-loop reviewers. Distinctive features include built-in code-review gates and explicit roles (architect, SMEs, reviewers) to reduce silent failure modes in automated coding workflows. For advanced orchestration strategies, see the Sub-Agent Delegation Pattern and Mutual Verification Pattern to align delegation and verification across agents.
Key Benefits
Ideal For
Developer teams using OpenCode who want structured multi-agent workflows for code generation, review, and guarded automation. This approach aligns with the Open Agent Specification (Agent Spec) for standardized tool integration.
Real-World Examples
- Orchestrating specialist coding agents and routing tasks through an architect role for complex feature development
- Adding human-in-the-loop SME checkpoints to agent-generated patches to catch logic or security issues before merge
- Enforcing code-review and QA gates in automated pull request generation pipelines