DocsStart
Getting started
This guide helps you route your coding agent through condense with the dense CLI. When you finish, your agent runs through condense and your existing Claude auth keeps working.
Help me set up condense on this machine. condense manages my coding agent's context and lowers my AI bill. dense is its CLI. Install dense with the command for my system. macOS or Linux: curl -fsSL https://cli.condense.chat/unix | sh Windows PowerShell: irm https://cli.condense.chat/nt | iex It installs dense, then signs in. A browser tab opens on a condense approval page, and I press Approve there. The command keeps waiting until I do, for up to 10 minutes, so run it with a long timeout or in the background and keep reading its output. Do not stop it early. Show me the sign-in code it prints so I can check it matches the approval page. If no tab opens, show me the link it prints so I can open it myself. Without a terminal, setup takes its defaults: it adds dense to my PATH and routes every coding tool it finds through condense. If that happens, tell me which tools it changed and that dense unpersist <tool> undoes it. When it finishes, run dense status, using the full path from the installer output if dense is not on PATH yet. token: present means I am signed in. If the code expired, run dense setup to get a new one and repeat these steps. If dense was already installed and token is missing, run dense login instead. Then check which of Claude Code (claude), Codex (codex) and OpenCode (opencode) are installed, ask which one I want to use, and show me the command to start it: dense claude, dense codex or dense opencode. Do not change this project's code or my provider credentials.
Prerequisites
- A coding agent you already use: Claude Code, Codex or OpenCode. dense routes the agents you have and doesn't bundle them.
- macOS or Linux (x86_64 or aarch64), or Windows. Other platforms build from source.
Set up dense
Install the CLI once. The same login then backs every agent.
Install dense
Run the installer for your platform:
bash
curl -fsSL https://cli.condense.chat/unix | shpowershell
irm https://cli.condense.chat/nt | iexThe installer puts the
densebinary on your PATH and hands off todense setup, which logs you in.Check your login
Setup logs you in during the install. To log in again later, run:
bash
dense loginThis opens
login.condense.chatwith a one-time code, so you don't copy or paste a key.Verify the install
Check that the install is wired correctly:
bash
dense doctorRun your agent
For Claude Code, run it through dense:
bash
dense claudeCodex and OpenCode use a one-time config instead. See Connect your coding agent.
Keep typing claude
Setup offers to route the bare claude command through dense. To turn this on later, run:
bashdense persistThe real binary is never moved or modified. To remove the shim, run dense unpersist.
Call condense from your own app
To route your own app instead of a coding agent, point your SDK at a condense provider route. Follow the Quickstart.
Next steps
- Connect your coding agent: set up Claude Code, Codex or OpenCode.
- dense CLI: look up every command and how dense wraps your agent.
- Quickstart: send your first API request through condense.
- Rate limits: see the request and credit limits for each plan.