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: From Source

git clone https://github.com/junghwaYang/oh-my-codex.git
cd oh-my-codex
./install.sh

Requirements

  • Python 3.10+
  • Codex CLI installed
  • 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
Trivial gpt-5-nano
Simple gpt-5-mini
Standard gpt-5.1-codex
Complex gpt-5.2-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.2-codex) ralph, ultrapilot, debug
# Manual override
omx --reasoning xhigh "complex architecture decision"
omx --model gpt-5.2-codex "critical task"

Agents (32)

Orchestration

Agent Model Role
PM gpt-5.2-codex Master orchestrator, delegates tasks
Coordinator gpt-5.2-codex Manages parallel execution
Executor gpt-5.1-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.2-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/config.toml

[model]
default = "gpt-5.1-codex"

[model.routing]
nano = "gpt-5-nano"
mini = "gpt-5-mini"
standard = "gpt-5.1-codex"
powerful = "gpt-5.2-codex"
max = "gpt-5.1-codex-max"

[model.reasoning]
default = "none"
autopilot = "high"
ralph = "xhigh"
eco = "none"

[billing]
provider = "codex"  # or "openai"

[skills]
auto_load = true

Architecture

User: omx "autopilot: build API"
         โ”‚
         โ–ผ
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ”‚ Mode Detect โ”‚ โ†’ autopilot
    โ”‚ Model Route โ”‚ โ†’ gpt-5.2-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.3.tar.gz (37.6 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.3-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oh_my_codex-0.1.3.tar.gz
  • Upload date:
  • Size: 37.6 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.3.tar.gz
Algorithm Hash digest
SHA256 e8df7879573d9f1b11f5b8ec1e27ba8d7f29f8e70f56d44dd82a3857bfd0c94f
MD5 6c2102a5650bc0035c8fecc96b0a0d7a
BLAKE2b-256 f32d8829920eb913abd679bbec267d4e0a5f3190f3c04fede629b1cf23c0c264

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oh_my_codex-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 37.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 37228ac88249db7082dc86a6c03625830a8d62d50383966b479c308f0c761edf
MD5 96021cc6dc979189387137ec949eafb7
BLAKE2b-256 a74961c90f1246cff1f3cf737f9a9bb4dca1cb36b17b0fab8da18498f39dd8a5

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