toonarrow is a local proxy that trims what Claude Code, Codex, OpenCode and Kora send to the model, before it reaches the provider. Your agents keep working as before; they just stop paying for noise.
npm install -g https://github.com/andsigno82/toonarrow/releases/download/v0.1.0/toonarrow-0.1.0.tgz && toonarrow install
macOS, Node.js 24 or later. Open-source under Apache-2.0, no account.
“I have discovered a truly marvelous proof of this, which this margin is too narrow to contain.”
Coding agents resend the whole conversation on every turn: system prompt, tool definitions, every file they read, every command output. Most of it the model does not need verbatim.
The skill listing is the big one: with hundreds of skills installed, their descriptions alone are most of the prompt.
ls -l, git log, grep, tsc, test runners, package installs and more. Pipes and && chains are left alone, and every trimmed output tells the model how to get the raw one.toonarrow skills --write picks them from your own history.Search, which reads several files per call and folds grep results, and Edit, which applies batched edits atomically.A local dashboard and toonarrow stats show what was saved, in tokens, per day, session, model and client.
Every rewrite is a pure, deterministic function of the block it touches, so the same history produces the same bytes on every request and your provider's prompt cache keeps hitting.
When toonarrow is not running, your agents run exactly as if it were not installed. Nothing leaves your machine except the requests your agents were already sending: no account, no telemetry.
It works with the coding agents you already use, started exactly as before:
Small shims first in your PATH check whether the proxy is up, then hand over to the real client.
Kora is a free, native AI workspace for macOS: chat, editor, terminal and Git in one window, with your own models and keys. toonarrow works with both Kora Desktop and Kora CLI, which share the same sessions.
kora. When toonarrow is running, the shim points Kora at it through KORA_LLM_PROXY, the way ANTHROPIC_BASE_URL works for Claude Code.In both, the skill listing and the output of executeCommand are trimmed, and the dashboard shows Desktop and CLI as separate clients.
Kora's own guides, including the Smart Token Engine settings, are at docs.kora-ai.download.
Fermat's Last Token showed that a local proxy and better file tools can cut an agent's bill. toonarrow takes the same idea to every coding agent, in the open.
| toonarrow | Fermat's Last Token | |
|---|---|---|
| Source | Open source, Apache-2.0 | Proprietary |
| Account | None | Required |
| Clients | Claude Code, Codex, OpenCode, Kora Desktop and CLI | Claude Code |
| Dashboard | Local, in tokens | Cloud |
Based on public information as of October 2026. toonarrow is not affiliated with or endorsed by Quotient Labs; Fermat's Last Token is their product and trademark.
npm install -g https://github.com/andsigno82/toonarrow/releases/download/v0.1.0/toonarrow-0.1.0.tgz toonarrow install
toonarrow dashboard.toonarrow uninstall removes the service, the command and the shims; your usage data stays in ~/.toonarrow.