GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yangheng/learn-OMO: 深入拆解 Oh My OpenCode (opensoft/oh-my-opencode) 源码架构的 12 课时教程 | 12 sessions dissecting OMO: multi-agent system, hooks, Ralph Loop & more

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
.cursorindexingignore
.cursorindexingignore
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README-zh.md
README-zh.md
 
 
README.md
README.md
 
 

Repository files navigation

English | 中文

learn-OMO: Deep Dive into Oh My OpenCode Architecture

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

What This Is

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 Comparison

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 ⚠️ Partial
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

Architecture Overview

Architecture

Two Reading Paths

🏗️ Senior developer? Quick architecture overview → Architecture Design

📖 New to OMO? Start from scratch → Chapter 1: Plugin Bootstrap

All Chapters

# 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

How to Read

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.

Related Projects

  • Oh My OpenCode: https://github.com/opensoft/oh-my-opencode
  • OpenCode: https://github.com/opencode-ai/opencode
  • OpenCLAW: https://openclaw.ai

License

MIT

About

深入拆解 Oh My OpenCode (opensoft/oh-my-opencode) 源码架构的 12 课时教程 | 12 sessions dissecting OMO: multi-agent system, hooks, Ralph Loop & more

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.