Skip to main content

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

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

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

License

MIT ยฉ junghwaYang

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oh_my_codex-0.1.6.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oh_my_codex-0.1.6-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file oh_my_codex-0.1.6.tar.gz.

File metadata

  • Download URL: oh_my_codex-0.1.6.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for oh_my_codex-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1f39408bf49f34483503f9344637b71d399874ede97363e8b8bbb9d5a46a2b76
MD5 b2b170f86a97f7c62a5fca275a8683dd
BLAKE2b-256 5409a197f7a0bcdecafae80adc1fc11064235f4703eed6fd7929aa9d57437083

See more details on using hashes here.

File details

Details for the file oh_my_codex-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: oh_my_codex-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for oh_my_codex-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 06971125befe576b3ba646fa1f0a68e2afbc597ed7cd0d5f38ef04f3a5420250
MD5 abc209638a0f8b45788e88e4a50af7f8
BLAKE2b-256 40fd7deb0ed6e114c882192355f0e0bf7416a053deba37db253811bc535ca9e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page