| name | oh-my-openagent-orchestration |
| description | Orchestrate multi-agent AI workflows with ultrawork, discipline agents, team mode, and hash-anchored editing for autonomous code development |
| triggers | ["set up oh-my-openagent for multi-agent orchestration","use ultrawork to build this feature","configure team mode with multiple AI agents","enable discipline agents for autonomous development","use hash-anchored editing to prevent stale line errors","run ralph loop until task is complete","orchestrate parallel AI agents with oh-my-openagent","configure IntentGate for better agent understanding"] |
Oh My OpenAgent Orchestration
Skill by ara.so — AI Agent Skills collection.
Oh My OpenAgent (omo) is an AI agent orchestration framework that coordinates multiple specialized AI agents (Sisyphus, Hephaestus, Oracle, Librarian, Explore) to work in parallel on complex development tasks. It provides hash-anchored editing to prevent stale-line errors, LSP integration for IDE-level precision, background agents for parallel work, and Team Mode for coordinating up to 8 agents simultaneously.
Installation
Quick Install (Recommended)
npm install -g oh-my-opencode
npx oh-my-opencode
Configuration Setup
Create opencode.json or opencode.jsonc in your project root:
{
"mcpServers": {
"oh-my-openagent": {
"command": "npx",
"args": ["-y", "oh-my-opencode"]
}
}
}
For legacy compatibility, oh-my-opencode entries are still supported but will show a deprecation warning.
Environment Variables
export OMO_SEND_ANONYMOUS_TELEMETRY=0
export OMO_DISABLE_POSTHOG=1
export OMO_CONFIG_PATH=/path/to/custom/config.json
Key Commands
ultrawork / ulw
The primary command that activates all discipline agents and doesn't stop until the task is complete.
ultrawork: Implement user authentication with OAuth2
or shorthand:
ulw: Refactor the payment module to use Stripe
Ralph Loop (/ulw-loop)
Self-referential loop that continues iterating until 100% done.
/ulw-loop: Fix all TypeScript errors in the codebase
Team Mode Commands
Team Mode (v4.0+) allows a lead agent to coordinate up to 8 parallel member agents.
{
"teamMode": {
"enabled": true,
"maxMembers": 8,
"visualization": "tmux"
}
}
Available team tools:
team_spawn - Create a new team member agent
team_message - Send message to a team member
team_status - Check status of all team members
team_terminate - Terminate a team member
Example team mode session:
hyperplan: Review this API design for security vulnerabilities
security-research: Analyze this authentication flow
Discipline Agents
Oh My OpenAgent includes specialized agents that work in parallel:
- Sisyphus - Lead orchestrator, coordinates other agents
- Hephaestus - Code implementation and refactoring
- Oracle - Architecture and design decisions
- Librarian - Documentation and knowledge retrieval
- Explore - Codebase exploration and analysis
These agents activate automatically with ultrawork.
Hash-Anchored Editing
Prevents stale-line errors by validating content with hash anchors:
edit_file({
path: "src/utils.ts",
old_content: "function oldName() {",
new_content: "function newName() {"
});
edit_file({
path: "src/utils.ts",
line_id: "L42#a8f3b2c1",
old_content: "function oldName() {",
new_content: "function newName() {"
});
The LINE#ID format includes a content hash that ensures the line hasn't changed since it was read.
LSP Integration
Access IDE-level features through the agent:
lsp_rename({
file: "src/models/User.ts",
position: { line: 10, character: 15 },
newName: "UserAccount"
});
const diagnostics = await lsp_diagnostics({
file: "src/app.ts"
});
ast_grep({
pattern: "function $NAME($PARAMS) { $BODY }",
language: "typescript"
});
Background Agents
Fire multiple specialist agents in parallel while keeping context lean:
const tasks = [
background_agent({ role: "security", task: "Audit auth flow" }),
background_agent({ role: "performance", task: "Analyze bottlenecks" }),
background_agent({ role: "testing", task: "Generate test cases" }),
background_agent({ role: "docs", task: "Update API documentation" }),
background_agent({ role: "refactor", task: "Clean up legacy code" })
];
Built-in MCPs (Model Context Protocol)
Oh My OpenAgent includes three built-in MCPs:
Exa (Web Search)
exa: latest TypeScript 5.4 features
Context7 (Official Documentation)
context7: React useEffect hook documentation
Grep.app (GitHub Code Search)
grep.app: how to implement OAuth2 refresh token rotation
Real-World Usage Examples
Example 1: Full Feature Implementation
ultrawork: Build a REST API for a todo app with:
- User authentication (JWT)
- CRUD operations for todos
- PostgreSQL database
- Input validation
- Unit tests
- API documentation
The agent will:
- Analyze requirements through IntentGate
- Spawn discipline agents (Hephaestus for code, Oracle for architecture, Librarian for docs)
- Use LSP for workspace-aware refactoring
- Validate all edits with hash-anchored changes
- Run until 100% complete
Example 2: Security Audit
security-research: Audit the authentication system for vulnerabilities
Example 3: Large-Scale Refactoring
/ulw-loop: Migrate the entire codebase from JavaScript to TypeScript
Example 4: Automated Code Review
hyperplan: Review this pull request for:
- Security vulnerabilities
- Performance issues
- Code quality
- Test coverage
- Documentation completeness
Configuration
Basic Configuration (oh-my-opencode.json)
{
"teamMode": {
"enabled": true,
"maxMembers": 8,
"visualization": "tmux",
"presets": ["hyperplan", "security-research"]
},
"agents": {
"sisyphus": { "enabled": true },
"hephaestus": { "enabled": true },
"oracle": { "enabled": true },
"librarian"
Model Recommendations
For optimal performance with ultrawork:
Common Patterns
Pattern 1: Iterative Development
ulw: Build a blog platform
ulw: Add markdown support and syntax highlighting
ulw: Implement comment system with moderation
Pattern 2: Multi-Phase Projects
ultrawork: Design the database schema and API structure
ultrawork: Implement the backend API
ultrawork: Build the React frontend
ultrawork: Add comprehensive tests and deploy to production
Pattern 3: Background Research
background_agent({
task: "Research best practices for Redis caching strategies"
})
ulw: Implement user session management
Troubleshooting
Issue: Stale Line Errors
Problem: Traditional agents fail with "line changed" errors.
Solution: Oh My OpenAgent's hash-anchored editing prevents this automatically. No action needed.
Issue: Agents Getting Stuck
Problem: Agent stops making progress.
Solution: Use ralph loop for self-correcting behavior:
/ulw-loop: Complete the remaining tasks
Issue: Team Members Not Coordinating
Problem: Team mode agents working in silos.
Solution: Check tmux visualization:
tmux attach-session -t omo-team
team_status
Issue: LSP Features Not Working
Problem: Rename, diagnostics not available.
Solution: Ensure language server is installed:
npm install -g typescript typescript-language-server
pip install python-lsp-server
{
"lsp": {
"enabled": true,
"debug": true
}
}
Issue: High API Costs
Problem: Too many concurrent agents.
Solution: Adjust background agent limits:
{
"backgroundAgents": {
"maxConcurrent": 3,
"timeout": 1800
}
}
Issue: IntentGate Misunderstanding
Problem: Agent misinterprets user intent.
Solution: Be more explicit in your prompts:
ulw: fix the bug
ultrawork: Fix the null pointer exception in src/auth/login.ts line 42
when user email is undefined
Advanced Usage
Custom Agent Presets
Create custom team configurations:
{
"teamMode": {
"customPresets": {
"fullstack-sprint": {
"members": [
{ "role": "backend", "model": "claude-sonnet-4" },
{ "role": "frontend", "model": "gpt-4" },
{ "role": "database", "model": "kimi-k2.6" },
{ "role": "testing", "model": "claude-sonnet-4" },
{ "role": "docs",
Usage:
fullstack-sprint: Build a SaaS dashboard for analytics
Programmatic API
import { OhMyOpenAgent } from 'oh-my-opencode';
const omo = new OhMyOpenAgent({
teamMode: { enabled: true, maxMembers: 8 },
lsp: { enabled: true }
});
await omo.ultrawork({
task: "Implement payment processing",
context: {
provider: "stripe",
features: ["subscriptions", "refunds"]
}
});
omo.on('progress', (status) => {
console.log(`Progress: ${status.percentage}%`);
});
await omo.waitForCompletion();
Integration with Popular AI Agents
Claude Code
ultrawork: your task here
Cursor
@oh-my-openagent ultrawork: your task here
AmpCode
/ulw: your task here
Best Practices
- Start with
ultrawork - Let the orchestration handle complexity
- Use ralph loop for completion - Ensures tasks finish to 100%
- Leverage team mode for large tasks - Parallel agents = faster results
- Trust hash-anchored editing - No need to manually verify line changes
- Use background agents for research - Keep main agent focused
- Be specific with IntentGate - Clear intent = better results
- Monitor team status in tmux - Visual feedback prevents confusion
- Use presets for common workflows -
hyperplan, security-research, etc.
Resources