JSPM

opencode-orchestrator

0.1.56
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2599
  • Score
    100M100P100Q105963F
  • License MIT

Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).

Package Exports

  • opencode-orchestrator

Readme

Logo

OpenCode Orchestrator

Multi-Agent Plugin for OpenCode

MIT License npm


What is this?

A 6-agent collaborative system that turns affordable LLMs into reliable engineering teams.

  • Relentless Loop — Auto-continues until mission complete
  • Atomic Decomposition — Tasks broken into verifiable micro-units
  • PDCA Loop — Plan → Do → Check → Act (self-correcting)
  • Parallel DAG — Independent tasks run concurrently
  • Quality Gate — Reviewer catches all errors before merge

Installation

npm install -g opencode-orchestrator

Restart OpenCode after installation.


Usage

Option 1: Select Orchestrator Agent

Press tab → Select Orchestrator → Just type your request!

"Implement user authentication with JWT"

Option 2: Use /task Command

/task "Implement user authentication with JWT"

Both methods activate Relentless Loop — the agent continues automatically until mission complete.

How It Works:

  1. Plan — Decompose into atomic tasks
  2. Search — Find patterns and context
  3. Code — Implement with precision
  4. Review — Verify via quality gate
  5. Fix — Self-heal if errors occur
  6. Loop — Repeat until ✅ MISSION COMPLETE

Agents

Agent Role
Orchestrator Team leader — coordinates the mission
Planner Decomposes work into atomic tasks
Coder Implements one task at a time
Reviewer Quality gate — catches all errors
Fixer Targeted error resolution
Searcher Finds context before coding

How It Works

     /task "mission"
           │
           ▼
    ┌─────────────┐
    │   PLANNER   │
    └──────┬──────┘
           │
    ┌──────┴──────┐
    ▼             ▼
 [Task A]     [Task B]  (parallel)
    │             │
    └──────┬──────┘
           ▼
    ┌─────────────┐
    │  REVIEWER   │
    └──────┬──────┘
           ▼
        ✅ DONE

PDCA Control Loop

┌─────────────────────────────────────────────────────┐
│                    PDCA LOOP                        │
│                                                     │
│   PLAN ──→ DO ──→ CHECK ──→ ACT                    │
│     │       │        │        │                     │
│   Planner  Coder   Reviewer  Orchestrator          │
│     ↓       ↓        ↓        ↓                     │
│   DAG     Code    Pass/Fail  Merge/Pivot           │
│                      │                              │
│              ┌───────┴───────┐                     │
│              ↓               ↓                     │
│           ✅ Pass         ❌ Fail → Fixer          │
└─────────────────────────────────────────────────────┘

Troubleshooting

If /task doesn't appear:

npm uninstall -g opencode-orchestrator
npm install -g opencode-orchestrator

Docs


License

MIT License. LICENSE


Fast-Paced Development — Updates are frequent. Keep your version fresh.