// readme

Cortex

top for your coding agent. Watch every model call, tool call and dollar your agent spends, live β€” then cut the waste.

Claude Code Β· OpenCode Β· Codex Β· IBM Bob Β· Pi Β· any agent that can use an HTTPS proxy. One binary on macOS or Linux. No Kubernetes, no account.

 alt="A terminal installs Cortex with one command, and a second command points Claude Code at it. Three Claude Code sessions run in separate directories, and agentop then lists all three with their token counts, cost and remaining context. Pressing $ breaks the spend down by tier, where cache reads dominate. Drilling into the busiest session shows the whole conversation and the fifteen-tool manifest it re-sends on every turn.">

Quick start

curl -fsSL https://www.rossoctl.dev/cortex/install.sh | sh

Then, in a new terminal:

agentop configure claude-code enable    # once β€” or opencode, codex, bob, pi
claude                                  # start (or restart) your agent as you always do
agentop observe                         # in another terminal: watch it live

Setup asks once before changing anything. If something looks wrong, agentop doctor names the fix. Can’t reach…