Skip to content

dotbrains/opencode-multi-team

Repository files navigation

opencode-multi-team

License: PolyForm Shield 1.0.0

Standalone multi-team orchestration config for OpenCode, extracted from dotbrains/opencode.

Based on IndyDevDan's "One Agent Is NOT ENOUGH".

Architecture

Orchestrator Lead
├── Planning Team (planning-lead → planning-agent + plan-reviewer)
├── Engineering Team (engineering-lead → frontend-dev + backend-dev + devops-specialist)
└── Validation Team (validation-lead → reviewer + security-reviewer + qa-engineer)

What's Included

  • agent/ - Orchestrator + team leads/workers + requirements clarifier
  • skills/mt-* - Multi-team workflow skills (mt-feature, mt-review, mt-audit, mt-fix, mt-lookup)
  • expertise/ - Team expertise docs (planning, engineering, validation, orchestrator)
  • teams.yaml - Team membership sets
  • orchestrator.yaml - Routing, model tiers, team definitions, preprocessing rules
  • multi-team-config.yaml - Compatibility copy of orchestrator.yaml
  • agent-chain.yaml - Sequential chain definitions
  • MULTI-TEAM.md - Detailed reference docs

Install

Option 1: Keep this as a separate repo and copy files into ~/.config/opencode

cp -R agent ~/.config/opencode/
cp -R skills ~/.config/opencode/
cp -R expertise ~/.config/opencode/
cp teams.yaml orchestrator.yaml agent-chain.yaml ~/.config/opencode/

Option 2: Add as a submodule inside your OpenCode config

cd ~/.config/opencode
git submodule add <repo-url> multi-team

Then copy/sync the same files from multi-team/ into the root OpenCode config.

Usage

  1. Ensure your OpenCode config (~/.config/opencode/opencode.json) has:
    • "default_agent": "orchestrator" (optional, but recommended)
  2. Start OpenCode and use orchestrator directly, or invoke:
    • @mt-feature for full lifecycle (plan → engineer → validate)
    • @mt-fix for bug fix workflow
    • @mt-review or @mt-audit for focused validation/security

Model Tiers

Tier Model Use For
Planning opencode/nemotron-3-ultra-free Orchestrator, planning, architecture
Engineering opencode/north-mini-code-free Implementation
Validation opencode/north-mini-code-free Review, QA, security

License

PolyForm Shield License 1.0.0 (see LICENSE).

About

Standalone multi-team orchestration config for OpenCode

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors