Multi-agent orchestration for OpenAI Codex CLI - Turn Codex into a team of AI agents
Project description
Oh My Codex
๐ Multi-agent orchestration for OpenAI Codex CLI
Turn Codex into a team of AI agents
Installation โข Quick Start โข Modes โข Agents โข Tools โข ํ๊ตญ์ด
Why Oh My Codex?
Codex CLI is powerful alone. Oh My Codex makes it a team.
| Codex CLI | Oh My Codex |
|---|---|
| Single agent | 32 specialized agents |
| Manual model selection | Auto model routing |
| Sequential execution | Parallel execution |
| No session memory | Session persistence |
Based on Vercel's research: AGENTS.md achieves 100% pass rate vs 79% for skills-only.
Installation
Option 1: PyPI (Recommended)
pip install oh-my-codex
omx-setup # Interactive setup wizard
Option 2: pip with full orchestration
pip install "oh-my-codex[full]" # Includes OpenAI Agents SDK
omx-setup
Option 3: From Source
git clone https://github.com/junghwaYang/oh-my-codex.git
cd oh-my-codex
./install.sh
Option 4: uv (fast)
uv pip install "oh-my-codex[full]"
omx-setup
Requirements
- Python 3.10+
- Codex CLI installed (
npm i -g @openai/codex) - OpenAI API key or Codex Pro subscription
Quick Start
# Basic usage (direct Codex)
omx "fix the bug in auth.py"
# Multi-agent autonomous execution
omx "autopilot: build a REST API with auth"
# Parallel execution
omx "ulw: refactor all components to TypeScript"
# Never give up mode
omx "ralph: fix all failing tests"
Execution Modes
| Keyword | Mode | Description | Agents |
|---|---|---|---|
autopilot: |
Autopilot | Full autonomous execution | PM โ Executor โ Tester โ Reviewer |
ulw: |
Ultrawork | Parallel multi-agent | PM + Frontend + Backend + Tester |
ultrapilot: |
Ultrapilot | Maximum parallelism | All specialists |
team: |
Team | Pipeline orchestration | plan โ exec โ verify โ fix loop |
ralph: |
Ralph | Persistent (never gives up) | PM โ Executor โ Debugger |
plan: |
Plan | Planning only, no execution | Planner + Architect |
eco: |
Eco | Token-efficient, fast | Single Executor |
tdd: |
TDD | Test-driven development | Tester โ Executor |
review: |
Review | Code review | Reviewer + Security |
debug: |
Debug | Systematic debugging | Debugger + Analyst |
Examples
# Complex feature development
omx "autopilot: implement OAuth2 with Google and GitHub"
# Parallel refactoring
omx "ulw: convert all class components to hooks"
# Persistent bug fixing
omx "ralph: the login redirect isn't working, fix it"
# Architecture planning
omx "plan: design a microservices architecture"
# Quick fix (token-efficient)
omx "eco: add error handling to api calls"
# Test-driven development
omx "tdd: implement password validation"
# Security review
omx "review: audit the authentication module"
Models & Reasoning
Auto Model Selection
| Task Complexity | Model |
|---|---|
| Real-time | gpt-5.3-codex-spark |
| Simple | gpt-5-codex-mini |
| Standard | gpt-5.2-codex |
| Complex | gpt-5.3-codex |
| Long-running | gpt-5.1-codex-max |
Reasoning Effort
| Level | Usage | Auto-mapped Modes |
|---|---|---|
none |
Fast responses | eco |
low |
Light tasks | tdd, pipeline |
medium |
Balanced | plan, ultrawork |
high |
Deep thinking | autopilot, review |
xhigh |
Maximum (5.3-codex) | ralph, ultrapilot, debug |
# Manual override
omx --reasoning xhigh "complex architecture decision"
omx --model gpt-5.3-codex "critical task"
Agents (32)
Orchestration
| Agent | Model | Role |
|---|---|---|
| PM | gpt-5.3-codex | Master orchestrator, delegates tasks |
| Coordinator | gpt-5.3-codex | Manages parallel execution |
| Executor | gpt-5.2-codex | Gets things done |
Development
| Agent | Expertise |
|---|---|
| Frontend | React, Vue, TypeScript, CSS |
| Backend | Node.js, Python, APIs, DBs |
| Fullstack | End-to-end development |
| Mobile | React Native, Flutter |
| DevOps | CI/CD, Docker, K8s |
Quality
| Agent | Focus |
|---|---|
| Tester | Unit, integration, E2E tests |
| Reviewer | Code review, best practices |
| Security | Vulnerabilities, OWASP |
| Debugger | Systematic bug hunting |
Specialized
| Agent | Domain |
|---|---|
| Architect | System design, patterns |
| Researcher | Information gathering |
| Data/ML | Data engineering, ML |
| Writer | Documentation |
Tools (9)
Agents have access to these tools:
| Tool | Description |
|---|---|
run_shell |
Execute terminal commands |
read_file |
Read file contents |
write_file |
Create/overwrite files |
edit_file |
Precise text replacement |
list_directory |
Browse directories |
search_files |
Find files by name/content |
git_status |
Check git state |
git_diff |
View changes |
run_tests |
Auto-detect & run tests |
Skills (31)
Installed to ~/.codex/skills/:
| Category | Skills |
|---|---|
| Orchestration | team, autopilot, ultrawork, ultrapilot, ralph, pipeline, swarm |
| Planning | planner, ralplan, analyze, research, deepsearch |
| Development | eco, tdd, build-fix, deepinit, release |
| Quality | reviewer, code-review, security-review, ultraqa |
| Utilities | git-master, playwright, debug, mcp-setup, doctor, hud, trace |
CLI Reference
# Basic
omx "task" # Auto-detect mode
omx "autopilot: task" # Explicit mode
# Options
omx --model gpt-5.3-codex "task" # Model override
omx --reasoning high "task" # Reasoning level
omx --provider openai "task" # Use API billing
omx -v "task" # Verbose output
# Sessions
omx --list # List all sessions
omx --resume <session_id> # Resume session
omx --status # Show current config
# Setup
omx-setup # Run setup wizard
omx --set-provider codex # Change billing
Configuration
~/.codex/omx-config.yaml
billing:
provider: codex # or "openai"
model:
default: gpt-5.3-codex
routing:
spark: gpt-5.3-codex-spark
mini: gpt-5-codex-mini
standard: gpt-5.2-codex
powerful: gpt-5.3-codex
max: gpt-5.1-codex-max
reasoning:
default: none
autopilot: high
ralph: xhigh
eco: none
skills:
auto_load: true
Architecture
User: omx "autopilot: build API"
โ
โผ
โโโโโโโโโโโโโโโ
โ Mode Detect โ โ autopilot
โ Model Route โ โ gpt-5.3-codex
โ Reasoning โ โ high
โโโโโโโโฌโโโโโโโ
โผ
โโโโโโโโโโโโโโโ
โ PM Agent โ โ tools: shell, files, git
โ + Handoffs โ โ [Executor, Tester, Reviewer]
โโโโโโโโฌโโโโโโโ
โผ
โโโโโโโโโโโโโโโ
โ Runner.run โ โ OpenAI Agents SDK
โ Autonomous โ
โโโโโโโโฌโโโโโโโ
โผ
Results
Comparison
| Feature | Codex CLI | omx |
|---|---|---|
| Single agent | โ | โ |
| Multi-agent | โ | โ 32 agents |
| Parallel execution | โ | โ ultrawork |
| Auto model routing | โ | โ |
| Reasoning control | Manual | โ Auto-mapped |
| Session persistence | โ | โ |
| Skills | โ | โ 31 included |
Credits
- oh-my-claudecode โ Original inspiration
- OpenAI Agents SDK โ Multi-agent framework
- Vercel Research โ AGENTS.md philosophy
License
MIT ยฉ junghwaYang
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oh_my_codex-0.2.0.tar.gz.
File metadata
- Download URL: oh_my_codex-0.2.0.tar.gz
- Upload date:
- Size: 57.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfa9461e9a608d851ff0f833137cee23b6a0fd3c5ee4c2de4d5d6b65c4b9bf0
|
|
| MD5 |
fa702b73a5c3774a2d95f8274345a0aa
|
|
| BLAKE2b-256 |
3339403442194a2c5191e7534ad51922c3e0a149264b7f400c27477155b2ecf9
|
File details
Details for the file oh_my_codex-0.2.0-py3-none-any.whl.
File metadata
- Download URL: oh_my_codex-0.2.0-py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13def8dfbc6c71a03ec727ddf002ba76e45b462683ffd9892e9fb8439ff8d4ec
|
|
| MD5 |
b467f13df8c27695a4d4c33dc10aaef0
|
|
| BLAKE2b-256 |
d6cfffdc679f8887938922d40b2dcd1da244d190ddcefdd660cda64849d7d73a
|