Package Exports
- opencode-orchestrator
Readme
The STARSHIP hovers above an uncharted planet. No docs. No tests. Just a mission. The Commander speaks: "We don't assume. We explore. We adapt. We conquer." β OpenCode Orchestrator is that STARSHIP, deploying AI crews to complete missions in any planet.
β‘ Quick Start
npm install -g opencode-orchestratorThen in OpenCode:
/task "Build a REST API with authentication"The STARSHIP deploys. The crew lands. The mission begins.
πΈ The STARSHIP Protocol
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π EXPLORE β π LEARN β π ADAPT β β‘ ACT β
β Scan Document Adjust Execute β
βββββββββββββββββββββββββββββββββββββββββββββββββββββπ¨βπ The Crew
When the STARSHIP arrives, four specialists deploy:
| Agent | Role | Mission |
|---|---|---|
| π― Commander | The Captain | "I lead the mission. I delegate. I don't leave until it's done." |
| π Planner | The Scientist | "I map the terrain. I document everything. I create paths to follow." |
| π¨ Worker | The Engineer | "I build with local materials. I adapt to what I find." |
| β Reviewer | The Inspector | "Nothing launches until I verify it. Zero defects." |
π The Codex
These are the rules every crew member lives by:
| Principle | In Practice |
|---|---|
| π Never Assume Gravity | Read context.md, detect stack, find actual commands |
| π Document for Future Missions | Record patterns, conventions, and findings for reuse |
| π Evidence Over Memory | Cite docs, run commands, complete only with proof |
| π Adapt to the Terrain | Behavior evolves based on what we've documented |
| π€ Each Crew Member Has a Role | Specialists don't overlap β they collaborate |
ποΈ Mission Control
Inside the STARSHIP, Mission Control coordinates everything:
π UNKNOWN CODEBASE
β
/task "Build REST API"
β
βββββββββββββββββββββββββββββββββββββ
β πΈ STARSHIP MISSION CONTROL β
β ββββββββββββββββββββββββββββββββββββ£
β π― COMMANDER β "Deploy the crew" β
βββββββββββββββββ€ββββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββ
βΌ βΌ βΌ
βββββββββ βββββββββ βββββββββ
βPLANNERβ βWORKER β βWORKER β β π₯ 50 PARALLEL
βplan.mdβ βauth.tsβ βapi.ts β DEPLOYMENTS
βββββββββ βββββββββ βββββββββ
β β β
βββββββββββββββββΌββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββ
β β
REVIEWER β "Final inspection" β
βββββββββββββββββ€ββββββββββββββββββββ
β
ββββββββββ΄βββββββββ
β TODO 100%? β
β Issues = 0? β
ββββββββββ¬βββββββββ
No β β Yes
β»οΈ LOOP ποΈ MISSION SEALEDπ STARSHIP Capabilities
The STARSHIP isn't just any vessel. It's built for the impossible:
| Capability | What It Means |
|---|---|
| β‘ 50 Parallel Deployments | Deploy up to 50 crew members simultaneously |
| π₯ Multi-Zone Operations | Workers build different sectors at the same time |
| π§© Smart Crew Assignment | One file = one specialist. Zero conflicts |
| π Real-Time Comms | Shared .opencode/ state syncs all agents |
| π‘οΈ Pre-Launch Verification | E2E tests, import checks, integration validation |
| π©Ή Self-Repair Systems | Auto-recovery with 3 retries per session |
| 𧬠Adaptive AI Cores | Agents evolve based on what they discover |
π¨ Emergency Protocols
When things go wrong in space, the STARSHIP knows what to do:
| Emergency | Recovery Action |
|---|---|
| π₯ Tool crash | Inject recovery prompt |
| π¦ Rate limit hit | Exponential backoff + retry |
| π¦ Context overflow | Smart compaction |
| β±οΈ Session timeout | Resume from checkpoint |
| π¨ Build failure | Loop back, fix, retry |
πΈ Screenshots
TUI
Window
π Documentation
- System Architecture β Full technical deep-dive
πΉ Developer's Words
π License
MIT License. LICENSE