Overview
Jean supports three AI backends:- Claude CLI - Official Anthropic Claude desktop CLI
- Codex CLI - OpenAI’s Codex CLI for GPT models
- OpenCode - Open-source AI coding assistant
Backend Comparison
| Feature | Claude CLI | Codex CLI | OpenCode |
|---|---|---|---|
| Provider | Anthropic | OpenAI | Open Source |
| Models | Opus, Sonnet, Haiku | GPT-5.x series | Multiple providers |
| Thinking Levels | Yes (off/think/mega/ultra) | No | No |
| Reasoning Effort | Yes (Opus 4.6 adaptive) | Yes (low/medium/high/xhigh) | No |
| MCP Support | Yes (.claude.json) | Yes (config.toml) | Yes (opencode.json) |
| Installation | via Jean UI | via Jean UI | via Jean UI |
| Authentication | claude auth | codex auth | opencode auth |
Installing Backends
Via Jean UI
- Open Preferences (
Cmd/Ctrl + ,) - Navigate to Backends tab
- For each backend:
- View installation status
- Click Install if not installed
- Click Authenticate after install
- Verify status shows “Authenticated”
Manual Installation
Claude CLI
Codex CLI
OpenCode
Configuration Files
Claude CLI
Global settings:~/.claude/settings.json
.claude/settings.json in project root
MCP servers: .claude.json (global) or .mcp.json (project)
Codex CLI
Global config:~/.codex/config.toml
.codex/config.toml in project root
OpenCode
Global config:~/.config/opencode/opencode.json
opencode.json in project root
Default Backend
Set the default backend for new sessions: Global default:- Preferences > General
- Default Backend dropdown
- Select: Claude, Codex, or OpenCode
- Right-click project > Project Settings
- Navigate to General tab
- Default Backend dropdown
- Select backend or “Use Global Default”
Switching Backends
In Active Session
You cannot change backend mid-session. Backend is locked when session starts. To switch:- Create new session (
Cmd/Ctrl + T) - Select different backend from toolbar
- Start chatting
For Existing Session
Backend is stored with session metadata and persists across restarts.Backend-Specific Features
Claude CLI
Thinking Levels:off- No extended thinkingthink- 4K thinking tokensmegathink- 10K thinking tokensultrathink- 32K thinking tokens
low- Minimal reasoningmedium- Moderate reasoninghigh- Deep reasoningmax- No limits
Codex CLI
Models:gpt-5.3-codex- Latest flagshipgpt-5.2-codex- Previous flagshipgpt-5.1-codex-max- Maximum capabilitygpt-5.2- General purposegpt-5.1-codex-mini- Fast, lightweight
- Enable: Preferences > Codex > Multi-Agent Enabled
- Max threads: 1-8 concurrent agents
OpenCode
Provider Support:- Anthropic
- OpenAI
- OpenRouter
- Local models (Ollama, LM Studio)
- Custom API endpoints
opencode/[provider]/[model]
Example:
Custom CLI Profiles
For Claude CLI, you can configure custom provider profiles:Predefined Profiles
OpenRouter:Creating Custom Profiles
- Preferences > Advanced > CLI Profiles
- Click Add Profile
- Enter profile name
- Paste settings JSON
- Check Supports Thinking if provider supports it
- Save profile
Using Custom Profiles
- Select custom provider from toolbar dropdown
- Profile’s settings override global Claude CLI config
- Environment variables are merged with defaults
Per-Prompt Backend Overrides
You can force specific backends for magic prompts: Example: Always use Claude for code reviews, Codex for commit messages:Version Management
Checking Versions
Via Jean UI:- Preferences > Backends
- View installed version for each backend
Updating Backends
Via Jean UI:- Preferences > Backends
- Click Check for Updates
- If update available, click Update
Backend Health Checks
Jean monitors backend health: Checks:- CLI binary exists and is executable
- Version can be queried
- Authentication is valid
- MCP servers are accessible (if configured)
- Preferences > Backends > [Backend] > Health Status
Troubleshooting
Backend Not Found
- Install backend via Jean UI or manually
- Add to PATH:
export PATH="$PATH:/path/to/cli" - Restart Jean
Authentication Failed
- Open terminal
- Run:
claude auth(orcodex auth,opencode auth) - Follow authentication flow
- Restart Jean
Wrong Backend Version
MCP Servers Not Loading
Ensure MCP config uses correct format for backend:- Claude:
.claude.json/.mcp.json - Codex:
config.toml - OpenCode:
opencode.json
Session Crashes After Backend Switch
Backend cannot be changed mid-session. Create new session instead.Best Practices
- Install all backends: Maximum flexibility per-project
- Set project defaults: Match backend to project needs
- Claude: Complex reasoning, long context
- Codex: Fast iteration, code-heavy tasks
- OpenCode: Custom providers, local models
- Test authentication: Verify all backends before heavy use
- Keep updated: Update CLIs regularly for new features
- Separate configs: Use project configs to isolate backend settings
- Profile per project: Create custom profiles for different API keys/endpoints
Advanced: Backend Detection
Jean detects installed backends at startup: Detection logic:- System PATH
- Common installation directories
- Platform-specific locations