Providers

Enhance works with Claude Code, OpenCode, and Codex CLI. Run enhance setup to auto-detect which tools you have installed and configure them all at once.

Auto-detect all providers

Terminal
# Detects installed tools, installs /enhance for each
enhance setup

# Force install for all tools (even if not in PATH)
enhance setup --all

# Overwrite existing installations
enhance setup --force

Supported providers

Claude Coderecommended

Built by Anthropic. The default and most capable provider. Slash command works after enhance setup.

Register /enhance command

enhance setup

Required API key

export ANTHROPIC_API_KEY=your-key-here
Claude Code documentation →
OpenCodesupported

Open-source AI coding tool. Install it, then run enhance setup to register the /enhance command.

Install provider

npm install -g opencode

Register /enhance command

enhance setup

Required API key

export OPENAI_API_KEY or ANTHROPIC_API_KEY=your-key-here
OpenCode documentation →
Codex CLIsupported

OpenAI's coding agent. Install it, then run enhance setup.

Install provider

npm install -g @openai/codex

Register /enhance command

enhance setup

Required API key

export OPENAI_API_KEY=your-key-here
Codex CLI documentation →

Standalone CLI mode

Use enhance directly from your terminal — no AI coding tool needed. Calls Claude API directly and streams the response.

Terminal
export ANTHROPIC_API_KEY=sk-ant-...

# Use Claude (default)
enhance "build a login page"

# Use a specific provider via CLI flag
enhance "build a login page" --provider codex
enhance "build a login page" --provider opencode

Slash command vs standalone CLI

Slash command (/enhance) — Works inside Claude Code, OpenCode, or Codex. AI runs in the tool's session. No API key needed in your env.
Standalone CLI (enhance "...") — Calls AI directly from terminal. Needs ANTHROPIC_API_KEY. Good for scripting or when outside an AI coding session.