0mni-cli
v0.1.1
Published
Multi-agent coding CLI combining Claude, Gemini, and Codex into a single TUI
Maintainers
Readme
0mni
A TUI coding agent that combines Claude, Gemini, and Codex into a single CLI. Uses your locally installed coding agents as the runtime — no API keys needed.
┌─────────────────────────────────────────┐
│ 0mni v0.1.0 · ● claude-sonnet-4-6 │
├─────────────────────────────────────────┤
│ │
│ You: Fix the login bug in auth.ts │
│ │
│ ● Claude: I'll look at auth.ts... │
│ → read_file src/auth.ts │
│ → edit_file src/auth.ts │
│ │
│ Done. Fixed the null check on line 42. │
│ │
├─────────────────────────────────────────┤
│ > _ │
└─────────────────────────────────────────┘Install
npm install -g 0mni-cliOr run directly:
npx 0mni-cli "fix the failing tests"Prerequisites
You need at least one of these coding agents installed and authenticated:
- Claude Code —
npm install -g @anthropic-ai/claude-code - Gemini CLI —
npm install -g @google/gemini-cli - Codex CLI —
npm install -g @openai/codex
0mni uses your existing CLI authentication. No separate API keys required.
Usage
# Interactive TUI
0mni
# Start with a prompt
0mni "explain this codebase"
# Force a specific provider
0mni --provider claude "fix the bug"
0mni -p gemini "search for the error"
0mni -p codex "refactor the auth module"
# Auto-route to best provider per task
0mni --auto "find and fix the performance issue"
# Specify a model
0mni -m claude-opus-4-6 "design the new API"
# Auto-approve all tool calls
0mni --yolo "fix all lint errors"Slash Commands
Inside the TUI, use these commands:
| Command | Description |
|---------|-------------|
| /claude | Switch to Claude |
| /gemini | Switch to Gemini |
| /codex | Switch to Codex |
| /auto | Toggle auto-routing |
| /model <name> | Set a specific model |
| /clear | Clear conversation |
| /cost | Show token usage and cost |
| /help | Show all commands |
Auto-Routing
When --auto is enabled, 0mni classifies your task and routes to the best provider:
| Task Type | Provider | Why | |-----------|----------|-----| | Complex reasoning, debugging | Claude | Best at multi-step reasoning | | Code generation, review | Claude | Strong code understanding | | Search, web queries | Gemini | Built-in Google Search grounding | | Multimodal (images) | Gemini | Best multimodal support | | Refactoring | Codex | Optimized for code transforms | | Simple Q&A | Claude Haiku | Fast and cheap |
How It Works
0mni is a TUI wrapper that spawns your installed coding agents as subprocesses:
0mni TUI (React + Ink)
│
├── claude -p "prompt" --output-format stream-json
├── gemini -p "prompt" --output-format stream-json
└── codex exec "prompt" --jsonEach CLI handles its own:
- Tool execution (file editing, shell commands, search)
- Authentication (OAuth, API keys)
- Sandboxing and permissions
0mni parses the streaming JSON output and displays it in a unified terminal UI.
Skills
0mni supports skills.sh for extensibility:
# Install skills
0mni skills add vercel-labs/agent-skills
0mni skills add anthropic/skills
# List installed skills
0mni skills listConfiguration
Create .0mni/config.toml in your project or ~/.config/0mni/config.toml globally:
defaultProvider = "claude"
autoRoute = false
yolo = false
[models]
claude = "claude-sonnet-4-6"
gemini = "gemini-2.5-flash"
codex = "gpt-5.4"License
MIT
