Skip to main content

Oh My Codex

🚀 Multi-agent orchestration for OpenAI Codex CLI
Turn Codex into a team of AI agents

PyPI License Stars

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

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

License

MIT © junghwaYang

Metadata

Release files for oh-my-codex 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oh-my-codex 0.3.0
File Size Uploaded Provenance Actions
oh_my_codex-0.3.0.tar.gz 80.1 kB Without provenance Details for oh_my_codex-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oh-my-codex 0.3.0
File Interpreter ABI Platform Actions
oh_my_codex-0.3.0-py3-none-any.whl Python 3 none any Details for oh_my_codex-0.3.0-py3-none-any.whl

Total release size: 149.5 kB

Release files / oh_my_codex-0.3.0.tar.gz

Download URL oh_my_codex-0.3.0.tar.gz
Size 80.1 kB
Tags Source
SHA-256 checksum
How to use checksums
abc1d367c506174beaf6520a927e75832640d78ebf7ed170932e0351ab77e072
BLAKE2b-256 checksum
How to use checksums
24ea0ab05bfbfa37aa1d43279c73f0d85f57480058ee2ff78bafb0012c16fa82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / oh_my_codex-0.3.0-py3-none-any.whl

Download URL oh_my_codex-0.3.0-py3-none-any.whl
Size 69.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cc7dd5c5fa219cd2d14a62779eb4a0b658c28ecfbf7601b4f652a23b64279dd
BLAKE2b-256 checksum
How to use checksums
494ea1d411f3de1b7d5dfcdcc9e5c4be1d71ca22530fbf02891902ec36cbbf23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for oh-my-codex 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page