Overview
Oh My OpenCode orchestrates 11 specialized agents, each with a distinct role, default model, and tool permissions. Agents fall into three modes: primary (respects UI model selection), subagent (uses own fallback chain), and all (available in both contexts).Agent Inventory
| Agent | Default Model | Temp | Mode | Purpose |
|---|---|---|---|---|
| Sisyphus | claude-opus-4-6 | 0.1 | primary | Main orchestrator, plans + delegates |
| Hephaestus | gpt-5.3-codex | 0.1 | primary | Autonomous deep worker (GPT-native) |
| Oracle | gpt-5.2 | 0.1 | subagent | Read-only architectural consultation |
| Librarian | gemini-3-flash | 0.1 | subagent | External docs/code search |
| Explore | grok-code-fast-1 | 0.1 | subagent | Fast codebase grep |
| Multimodal-Looker | gemini-3-flash | 0.1 | subagent | PDF/image/screenshot analysis |
| Metis | claude-opus-4-6 | 0.3 | subagent | Pre-planning gap analysis |
| Momus | gpt-5.2 | 0.1 | subagent | Plan review and validation |
| Atlas | claude-sonnet-4-6 | 0.1 | primary | Todo-list orchestrator |
| Prometheus | claude-opus-4-6 | 0.1 | internal | Strategic planning (interview mode) |
| Sisyphus-Junior | claude-sonnet-4-6 | 0.1 | all | Category-spawned executor |
Metis is the only agent with elevated temperature (0.3) to encourage creative gap discovery.
Agent Modes
Primary Agents
Definition: Respect the UI-selected model, with fallback chain if unavailable. Agents: Sisyphus, Hephaestus, Atlas Behavior:Subagents
Definition: Use their own fallback chain, ignore UI selection. Agents: Oracle, Librarian, Explore, Multimodal-Looker, Metis, Momus Behavior:call_omo_agent() or task(). They optimize for their specific role regardless of user’s UI choice.
All Mode
Definition: Available in both primary and subagent contexts. Agents: Sisyphus-Junior Usage:- As primary: For simple tasks where Sisyphus is overkill
- As subagent: Spawned by category delegation (
task(category="quick"))
Agent Profiles
Sisyphus: The Main Orchestrator
File:src/agents/sisyphus.ts (559 LOC)
Named After: Greek myth - rolls the boulder every day, never stops, never gives up.
Role: Main orchestration agent. Plans, delegates to specialists, drives tasks to completion.
Default Model: claude-opus-4-6 (variant: max)
Fallback Chain:
src/agents/dynamic-agent-prompt-builder.ts):
- Phase 0: Intent Gate - Classifies user intent before acting
- Phase 1: Codebase Assessment - Evaluates project discipline
- Phase 2A: Exploration & Research - Tool selection table
- Phase 2B: Delegation - Agent delegation table, category guide
- Phase 3: Execution - Implementation patterns
- Phase 4: Verification - Quality checks
src/agents/sisyphus.ts:202):
- Claude Opus 4.6 - Optimal (prompt engineered for Claude)
- Kimi K2.5 - Excellent alternative (Claude-like behavior)
- GLM 5 - Solid via Z.ai
Hephaestus: The Autonomous Craftsman
File:src/agents/hephaestus.ts (507 LOC)
Named With Irony: Anthropic blocked OpenCode API access, so the team built a GPT-native autonomous agent.
Role: Deep autonomous worker. Receives goals, not instructions. Explores codebase, researches patterns, executes end-to-end.
Default Model: gpt-5.3-codex (variant: medium)
Fallback Chain:
["openai", "github-copilot", "venice", "opencode"] - Will not activate without one.
Prompt Structure (GPT-optimized):
- Phase 0: Intent Gate - Similar to Sisyphus but GPT-tuned
- Autonomous Execution Mindset - Explicit instruction to explore first, act second
- No Hand-Holding - Expects goals, figures out implementation independently
- Multi-model orchestration: Routes tasks to optimal models (GPT for deep reasoning, Gemini for frontend, Haiku for speed)
- Background agents: Parallel execution (5+ agents simultaneously)
- Category system: Intent-based routing, not manual model selection
- Accumulated wisdom: Subagents learn from previous results
- Deep architectural reasoning
- Complex debugging across many files
- Cross-domain knowledge synthesis
- Tasks requiring GPT-5.3 codex’s reasoning depth
Oracle: The Strategic Consultant
File:src/agents/oracle.ts
Role: Read-only high-IQ consultant for architecture decisions and complex debugging.
Default Model: gpt-5.2 (variant: high)
Tool Restrictions: Denied: write, edit, task, call_omo_agent
Fallback Chain:
- Complex architecture design
- After completing significant work (self-review)
- 2+ failed fix attempts
- Unfamiliar code patterns
- Security/performance concerns
- Multi-system tradeoffs
- Simple file operations (use direct tools)
- First attempt at any fix (try yourself first)
- Questions answerable from code you’ve read
- Trivial decisions (variable names, formatting)
src/agents/oracle.ts:50):
- Bias toward simplicity: Least complex solution
- Leverage existing code: Favor modifications over new components
- One clear path: Single primary recommendation
- Effort tags: Quick (1h), Short (1-4h), Medium (1-2d), Large (3d+)
Librarian: The Documentation Searcher
File:src/agents/librarian.ts
Role: External documentation and OSS code search. Stays current on library APIs and best practices.
Default Model: gemini-3-flash
Tool Restrictions: Denied: write, edit, task, call_omo_agent
Fallback Chain:
- “How does X library work?”
- “Find examples of Y pattern”
- “What’s the API for Z?”
- Researching unfamiliar dependencies
- Sisyphus receives question about external library
- Delegates to Librarian:
call_omo_agent(subagent_type="librarian", run_in_background=true, ...) - Librarian searches docs, returns findings
- Sisyphus synthesizes answer
Explore: The Fast Grep Agent
File:src/agents/explore.ts
Role: Contextual codebase grep. Uses speed-focused models for pattern discovery.
Default Model: grok-code-fast-1 (GitHub Copilot)
Tool Restrictions: Denied: write, edit, task, call_omo_agent
Fallback Chain:
- “Where is X defined?”
- “Find all usages of Y”
- “How is Z pattern used in this codebase?”
- Fast pattern discovery without full context
Multimodal-Looker: The Vision Agent
File:src/agents/multimodal-looker.ts
Role: PDF, image, and screenshot analysis.
Default Model: gemini-3-flash
Tool Restrictions: Only allowed: read (all other tools denied)
Fallback Chain (6 deep):
- Analyzing screenshots
- Extracting data from PDFs
- Describing images
- Visual debugging
look_at tool):
Metis: The Gap Analyzer
File:src/agents/metis.ts
Role: Pre-planning consultant. Catches what Prometheus missed before plans are finalized.
Default Model: claude-opus-4-6 (variant: max)
Temperature: 0.3 (only agent with elevated temperature for creative gap discovery)
Tool Restrictions: None (read-only by design)
When to Use: Invoked automatically by Prometheus during planning phase.
Prompt Focus:
- Identify missing requirements
- Surface edge cases
- Spot ambiguities
- Challenge assumptions
Momus: The Ruthless Reviewer
File:src/agents/momus.ts
Role: Plan validation. Reviews plans against clarity, verification, and context criteria.
Default Model: gpt-5.2 (variant: medium)
Tool Restrictions: Denied: write, edit, task
When to Use: Invoked automatically after Prometheus generates a plan.
Validation Criteria:
- Clarity: Are tasks unambiguous?
- Verification: Does each task have QA criteria?
- Dependencies: Is the dependency graph clear?
- Parallelization: Are parallel execution waves identified?
- Category/Skills: Are delegation recommendations present?
Atlas: The Todo Orchestrator
File:src/agents/atlas/agent.ts
Role: Executes Prometheus plans. Distributes tasks to specialized subagents, accumulates learnings, verifies completion.
Default Model: claude-sonnet-4-6
Tool Restrictions: Denied: task, call_omo_agent (uses TodoWrite/TaskCreate instead)
Fallback Chain:
- GPT models →
src/agents/atlas/gpt.ts - Gemini models →
src/agents/atlas/gemini.ts - Default (Claude) →
src/agents/atlas/default.ts
/start-work after creating a Prometheus plan.
See Also: Orchestration Guide for Atlas workflow.
Prometheus: The Strategic Planner
File:src/agents/prometheus/ (internal, not directly invocable)
Role: Interview-based planning. Asks clarifying questions, identifies scope, builds detailed plans.
Default Model: claude-opus-4-6 (variant: max)
Activation: Press Tab in OpenCode, or type @plan "your task" from Sisyphus.
Interview Mode (src/agents/prometheus/interview-mode.ts):
- Launch explore/librarian in background for context
- Present user request summary
- List uncertainties and clarifying questions
- Iterate until 100% clarity
- Generate structured plan with dependency graph
src/tools/delegate-task/constants.ts:249):
- Task Dependency Graph: Blockers and dependents for each task
- Parallel Execution Graph: Wave grouping for parallel dispatch
- Category + Skills Recommendations: For each task
- Actionable TODO List: Ready for TodoWrite/TaskCreate
Sisyphus-Junior: The Category Executor
File: Variant of Sisyphus with simplified prompt Role: Category-spawned executor. Handles tasks delegated viatask(category="...").
Default Model: claude-sonnet-4-6
When to Use: Automatically spawned when delegating via categories (not explicit subagent types).
Example:
Tool Restrictions Summary
| Agent | Denied Tools | Reason |
|---|---|---|
| Oracle | write, edit, task, call_omo_agent | Read-only consultant |
| Librarian | write, edit, task, call_omo_agent | External search only |
| Explore | write, edit, task, call_omo_agent | Fast grep, no mutations |
| Multimodal-Looker | ALL except read | Vision analysis only |
| Atlas | task, call_omo_agent | Uses TodoWrite/TaskCreate instead |
| Momus | write, edit, task | Plan review only |
src/shared/permission-compat.ts
Model Resolution Pipeline
File:src/shared/model-requirements.ts
Each agent has a fallback chain with provider + model + optional variant:
src/shared/model-resolution-pipeline.ts):
- Override: User config
agents.sisyphus.model - UI Selection: For primary agents only
- Fallback Chain: Try each entry until available model found
- System Default: Ultimate fallback
Agent Factory Pattern
File:src/agents/types.ts
All agents follow the factory pattern:
src/agents/builtin-agents.ts:32):
Custom Agents
You can register custom agents viacustom_agent_summaries:
Next Steps
Orchestration
Learn how agents delegate to each other and the Intent Gate
Categories
Explore the 8 task categories and model mapping
Configuration
Customize agent models and fallback chains
Tools
Complete catalog of 26 available tools