This page introduces oh-my-openagent (formerly oh-my-opencode) as an OpenCode plugin and explains its architecture, initialization flow, and core components. It provides a high-level understanding of how the plugin extends OpenCode with multi-model AI agent orchestration, 54–61 lifecycle hooks, 20–39 tools, and batteries-included tooling for code editing, task delegation, and background execution.
For installation and setup instructions, see Quick Start. For detailed agent behavior and model matching, see Key Concepts and Agents. For tool usage patterns, see Tools and Features.
Sources: README.md103-110
Oh-my-openagent (npm package: oh-my-opencode, dual-published as oh-my-openagent during its rename transition AGENTS.md48) is an OpenCode plugin that transforms the base platform into a multi-agent orchestration system. It provides:
hashline_edit tool, which validates LINE#ID content hashing to ensure modification integrity AGENTS.md48The plugin targets technical users who require reliable multi-model orchestration with automatic fallback chains and zero-configuration agent-to-model matching. It ships in two editions: Ultimate (for OpenCode) and Light (for Codex CLI) docs/guide/installation.md3-8
Sources: README.md103-110 AGENTS.md48 docs/guide/installation.md3-8 docs/reference/features.md4-6
Plugin initialization and component assembly
This diagram shows how the pluginModule at packages/omo-opencode/src/index.ts4-6 serves as the entry point, delegating to createPluginModule packages/omo-opencode/src/index.ts4 The initialization flow moves from config loading to manager creation, tool registration, and hook composition, finally assembling the PluginInterface AGENTS.md58-72
Sources: packages/omo-opencode/src/index.ts1-19 AGENTS.md58-72
Plugin initialization sequence from load to runtime
The plugin follows a strict 7-step initialization order starting from pluginModule.server AGENTS.md69-80 Configuration loading merges user and project settings and validates via Zod. Managers are created to handle background tasks, terminal multiplexing, and MCPs AGENTS.md48
Sources: packages/omo-opencode/src/index.ts1-19 AGENTS.md58-72
The plugin provides 11 specialized agents, each with role-specific prompts and model configurations:
| Agent | Purpose | Mode | Recommended Model |
|---|---|---|---|
| Sisyphus | Main lead orchestrator | primary | Claude Opus / Kimi K2.6 |
| Hephaestus | Autonomous deep worker | primary | GPT-5.5 |
| Atlas | Todo-list orchestrator | primary | Claude Sonnet 4.6 |
| Prometheus | Strategic planner (interview mode) | primary | Claude Opus |
| Oracle | Read-only architecture consultant | subagent | GPT-5.5 |
| Librarian | External documentation search | subagent | Gemini 3 Flash |
| Explore | Fast codebase exploration | subagent | GPT-5.4-mini-fast |
| Multimodal-Looker | Visual content specialist | subagent | GPT-5.5 |
| Metis | Plan consultant | primary | Claude Sonnet 4.6 |
| Momus | Plan reviewer | primary | GPT-5.5 |
| Sisyphus-Junior | Category-spawned executor | subagent | Category-dependent |
For detailed agent behavior, see Agents.
Sources: docs/reference/features.md4-33 docs/guide/agent-model-matching.md13-39
Tools are organized into functional categories gated by configuration:
grep, glob, task (delegate), session_read, skill, background_cancel AGENTS.md48lsp_rename, ast_grep_search) AGENTS.md48look_at (vision), interactive_bash (tmux integration), hashline_edit (hash-anchored code edits), and team_* tools AGENTS.md48For detailed tool usage, see Tools and Features.
Sources: AGENTS.md48
Hooks intercept OpenCode events at multiple tiers AGENTS.md48:
ultrawork keyword detector packages/omo-opencode/src/hooks/AGENTS.md1createTodoContinuationEnforcer packages/omo-opencode/src/hooks/AGENTS.md1For hook internals, see Hook System.
Sources: AGENTS.md48 packages/omo-opencode/src/hooks/AGENTS.md1
Configuration is loaded and merged across levels docs/reference/configuration.md44-58:
~/.config/opencode/oh-my-openagent.jsonc)..opencode/oh-my-openagent.jsonc).Sources: AGENTS.md48 docs/reference/configuration.md44-58
The configuration provides extensive customization for agents and features:
| Field Category | Purpose |
|---|---|
| Disabling Features | Arrays controlling disabled MCPs, agents, skills, hooks, tools assets/oh-my-opencode.schema.json32-84 |
| Agent Overrides | Model, fallback_models, temperature, and per-agent thinking budget overrides assets/oh-my-opencode.schema.json108-183 |
| Behavior Flags | Flags such as hashline_edit, model_fallback, and new_task_system_enabled assets/oh-my-opencode.schema.json11-105 |
For full configuration details, see Configuration Reference.
Sources: assets/oh-my-opencode.schema.json1-101
The ultrawork (or ulw) command engages the Sisyphus orchestrator in "just do it" mode, running multiple agents aggressively in parallel to accomplish the requested task autonomously, until completion README.md109
Using /start-work initiates strategic planning with the Prometheus agent in interview mode to break down and clarify requirements before execution docs/reference/features.md22
The hashline_edit tool enforces editing safety by verifying line content hashes (LINE#ID), preventing accidental modification mismatches and race conditions when applying code changes AGENTS.md48
Sources: README.md109 docs/reference/features.md22 AGENTS.md48
To get started quickly with oh-my-openagent, follow these steps:
The recommended install method is to have an LLM agent perform Ultimate installation for you, automating subscription detection, model configuration, provider authentication, and config migration:
Install and configure oh-my-openagent by following the instructions here:
https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/refs/heads/dev/docs/guide/installation.md
This prompt can be pasted into your LLM session (e.g., Claude Code, AmpCode, Cursor) to handle setup.
Sources: docs/guide/installation.md20-29
Alternatively, see Installation and Setup for manual installation and provider authentication guidance.
ultrawork CommandAfter installation, initiate autonomous orchestration by running:
ultrawork
This command starts the Sisyphus agent to plan, delegate, and execute the full work cycle automatically.
Press Tab during execution to enter interview-style planning with Planning Agents if desired, then resume with /start-work for full orchestration.
Sources: README.md109
For further details on these and other core ideas, see the Quick Start and Key Concepts pages.
Refresh this wiki
This wiki was recently refreshed. Please wait 4 days to refresh again.