Follow one real task from start to finish — understand how OMO (Oh My OpenCode) uses Sisyphus orchestrator + multi-specialist Agents + automatic recovery to complete complex code refactoring.
Keywords: Oh My OpenCode, OMO, OpenCode, Sisyphus, Claude Code, AI Agent, Multi-Agent Collaboration, Ralph Loop, Auto-retry, AST-grep, LSP Tools, Plugin System, Code Refactoring, OpenCLAW
This is not API docs or a feature list. It's a story:
You tell OMO "refactor this module for me", then follow that task through the entire system — from Plugin Bootstrap all the way to Ralph Loop automatic retry until the task completes.
Each chapter picks up where the previous one ended. Each chapter follows the code. Each chapter covers one thing.
| Capability | Bare OpenCode | OpenCode + OMO | Claude Code |
|---|---|---|---|
| Multi-specialist Agents | ❌ Not supported | ✅ 8+ specialist agents | ✅ Built-in |
| Auto-retry loop ( Ralph Loop) | ❌ Not supported | ✅ Ralph Loop | ❌ Not supported |
| AST-aware search | ❌ Not supported | ✅ ast-grep (25+ languages) | ❌ Not supported |
| Full LSP toolchain | ❌ Not supported | ✅ definition/refs/rename | |
| Plan→Review pipeline | ❌ Not supported | ✅ Prometheus→Metis→Momus | ❌ Not supported |
| Error auto-recovery | ❌ Not supported | ✅ 3 recovery hooks | ❌ Not supported |
| Customizability | Medium | Very High (30+ hook points) | Low |
🏗️ Senior developer? Quick architecture overview → Architecture Design
📖 New to OMO? Start from scratch → Chapter 1: Plugin Bootstrap
| # | Chapter | Core Content |
|---|---|---|
| 01 | Plugin Bootstrap | How OMO plugin loads into OpenCode, registers hooks/tools/agents |
| 02 | Sisyphus Receives Task | Sisyphus analyzes intent, assesses codebase, makes an execution plan |
| 03 | Delegation System | How delegate_task dispatches work to Sisyphus-Junior + skills |
| 04 | Specialist Agents | How Oracle/Explore/Librarian three specialist agents collaborate |
| 05 | Hook Pipeline | How think-mode, rules injection, context management transparently enhance the system |
| 06 | Error Recovery | How edit failures, session crashes, context overflow auto-recover |
| 07 | Background Execution | How to run multiple agents in parallel with concurrent search & execution |
| 08 | Dynamic Prompts | How each agent's prompt is assembled on-the-fly from available resources |
| 09 | Crafted Tools | How AST-grep, LSP, interactive bash go beyond native capabilities |
| 10 | CC Compatibility | How Claude Code users migrate to OMO with zero config changes |
| 11 | Ralph Loop | Auto-loop until task complete — OMO's killer feature |
Read front to back — chapters form a continuous story, each building on the last.
Read alongside the code — every snippet includes file paths and line numbers. Open the source code and follow along.
- Oh My OpenCode: https://github.com/opensoft/oh-my-opencode
- OpenCode: https://github.com/opencode-ai/opencode
- OpenCLAW: https://openclaw.ai
MIT
