Cue CLI can control multiple coding agents — Claude Code, Codex, and Gemini — all from one interface. Control them from your terminal or your phone.

Supported Agents

AgentProviderDescription
Claude CodeAnthropicAnthropic’s coding agent
CodexOpenAIOpenAI’s coding agent
GeminiGoogleGoogle’s coding agent

How It Works

Cue CLI acts as a router that spawns and controls these agents:
Your Phone / Terminal

Cue CLI (AgentControlRouter)

┌──────────────┬──────────────┬──────────────┐
│ Claude Code  │    Codex     │   Gemini     │
│  (Anthropic) │   (OpenAI)   │   (Google)   │
└──────────────┴──────────────┴──────────────┘
  • Unified control — One CLI to manage all agents
  • Phone control — Send prompts from iOS, agent runs on your computer
  • Session management — Resume, list, and manage sessions
  • Real-time streaming — See output as it generates

Installation

Install each agent’s CLI separately:
# Claude Code (Anthropic)
npm install -g @anthropic-ai/claude-code

# Codex (OpenAI)
npm install -g @openai/codex

# Gemini (Google)
npm install -g @google/gemini-cli

Authentication

Each agent needs its own API key:
# Claude Code
export ANTHROPIC_API_KEY=sk-ant-...

# Codex
export OPENAI_API_KEY=sk-...

# Gemini
export GEMINI_API_KEY=...
# Or authenticate via OAuth:
gemini  # Follow browser auth flow

Using from Terminal

Claude Code

# Interactive
cue
/claude Write a function to parse JSON

# Non-interactive
cue --cc "What is 2 + 2?"

# Resume session
cue --cc "continue" -r <session-id>

Codex

# Interactive
cue
/codex Analyze this codebase

# Non-interactive
cue --codex "What is 2 + 2?"

# Resume session
cue --codex "continue" -r <session-id>

Gemini

# Interactive
cue
/gemini Explain this code

# Non-interactive
cue --gemini "What is 2 + 2?"

# Resume session
cue --gemini "continue" -r <session-id>

Using from Your Phone

Once Cue CLI is running and connected:
  1. Open Cue on your phone
  2. Select a coding conversation
  3. Choose the agent (Claude Code, Codex, or Gemini)
  4. Send a message — it runs on your computer
  5. See real-time output on your phone

Session Management

List sessions for each agent:
# List Claude Code sessions
cue --sessions claude

# List Codex sessions
cue --sessions codex

# List Gemini sessions
cue --sessions gemini

Session Storage

Each agent stores sessions in its own location:
AgentStorage Path
Claude Code~/.claude/projects/
Codex~/.codex/sessions/
Gemini~/.gemini/tmp/

Comparison

FeatureClaude CodeCodexGemini
Session formatJSONLJSONLJSON
Auth methodAPI keyAPI keyOAuth / API key
StreamingYesYesYes
Session resumeYesYesYes

Next Steps

Cue Agent

Use Cue’s native agent

Utilities

Browse the command categories available through Cue CLI