cd /news/ai-agents/i-stopped-picking-between-claude-cod… · home › topics › ai-agents › article
[ARTICLE · art-145935] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

I stopped picking between Claude Code, Codex and Gemini, so I built a shell that picks for me

A developer built Caspian, an open-source terminal copilot that runs Claude Code, OpenAI Codex, Gemini and Cursor in the background and automatically routes each request to the most suitable agent based on task triage. The tool pins tools manually via `/use codex` or hands control back with `/use auto`, shows cost and change estimates before large edits, and persists decisions and changes to `.caspian/context.md` so context carries across tools. It is free, requires Node 20.18+ and at least one signed-in AI coding CLI, and runs on Windows, macOS and Linux.

by read2 min views5 publishedOct 6, 2026

I pay for more than one AI coding tool. Most of you probably do too.

And every day I hit the same friction:

So I built Caspian: one terminal copilot that sits on top of the agents you already have and picks the right one for each request.

Caspian runs Claude Code, OpenAI Codex, Gemini and Cursor in the background and shows their answers in one session.

For every request it triages the task and routes it:

The rules are simple:

/use codex pins a tool if you want control; /use auto hands it back. Before a large change runs, Caspian shows an estimate: files touched, lines changed, turns, tokens and time, next to what the fast model would cost. You choose: run it, run it on the fast model, or cancel. Dollar amounts only appear when you're billed per token.

Type add a forgot pasword link to it and a cheap model rewrites it as:

Add a "Forgot password?" link to the login page in src/pages/login.tsx.

You pick whether to send the refined version, the original, or edit it.

Decisions and changes are written to .caspian/context.md, so when work moves from Claude Code to Codex, the context moves with it.

The header shows how much of each tool's plan you've used, including the 5-hour and weekly windows and reset times. No more surprise rate limits mid-task.

Questions are read-only. Shell commands stay off until you press Shift+Tab. Big changes ask first.

You need at least one AI coding CLI installed and signed in, plus Node 20.18+.

npm install -g @caspianmd/caspian
cd my-project && caspian

It's free and runs on Windows, macOS and Linux. Requests go to each tool's own provider, exactly as if you ran it yourself.

I'd love feedback, especially on the routing. Which tasks do you think it should send where? Drop a comment!

── more in #ai-agents 4 stories · sorted by recency
── more on @caspian 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-stopped-picking-be…] indexed:0 read:2min 2026-10-06 · —