The terminal you already use,
now with a brain.
Caicaini Code is a single-binary terminal client for Caicaini. It auto-loads your project's CLAUDE.md, streams responses live, and shows a real credit meter as you work. Same account, same credits, same conversations as the web app.
Available on Pro, Power, and Ultra plans. macOS, Linux, and Windows (x64).
Install.
One curl line. The script detects your platform, downloads the right binary from GitHub Releases, verifies the SHA-256, and drops it on your $PATH.
$ curl -fsSL https://caicaini.com/install | bash$ irm https://caicaini.com/install.ps1 | iexmacOS
Apple Silicon
caicaini-darwin-arm64macOS
Intel
caicaini-darwin-x64Linux
x64
caicaini-linux-x64Linux
arm64
caicaini-linux-arm64Windows
x64
caicaini-windows-x64.exeWhat you get.
Built so the CLI feels like the web app, not a separate product.
Project memory, automatic
Drops you in already aware of your project. Caicaini Code reads any
CLAUDE.mdat your project root (and a global one in~/.config/caicaini/) and includes it as context on every session.Slash commands you already know
/help,/clear,/model,/status,/cost,/memory,/exit. Switch models mid-session, check spend, reset context.Live credit meter
Every response ends with the credits charged for that turn and the credits you have left this period. No surprise bills, no per-seat tax.
Same account, one bill
The CLI hits the same backend as the web app. Conversations sync to your account. Revoke the API key from your dashboard and the CLI signs out.
Slash commands.
Type these at the prompt. They're client-side — they never count against your credit balance. Press during a streaming response to cancel that turn.
| Command | What it does |
|---|---|
| /help | Show all commands. |
| /clear | Start a fresh conversation. Forgets prior turns. |
| /model [name] | Show current model, or switch (caicaini/auto, /opus, /sonnet, /haiku, /kimi). |
| /status | User, plan, credits used this period, this session totals. |
| /cost | Credits charged this session and turns counted. |
| /memory | List the CLAUDE.md files loaded for this session. |
| /exit, /quit | Leave the CLI. |
Project memory.
Drop a CLAUDE.md at your project root and Caicaini Code reads it on every session. Stop re-pasting the same architecture notes.
Project root is detected by walking up from your current dir until we hit a , , or directory.
$ caicaini init- 1. ~/.config/caicaini/CLAUDE.md — global preferences
- 2. <project root>/CLAUDE.md — project memory
- 3. <project root>/.caicaini/CLAUDE.md — project overrides
Upgrading.
The CLI checks for updates once a day and tells you in the status bar when one is out. Run the install command again to upgrade.
Want to uninstall? Delete the binary and / on macOS/Linux, or on Windows, to forget your saved credentials and config.
$ curl -fsSL https://caicaini.com/install | bash$ irm https://caicaini.com/install.ps1 | iex$ curl -fsSL https://caicaini.com/install | bash -s -- --version 0.1.2