Lagrange
A macOS workstation for AI CLIs: fewer tokens, less routine, everything at hand. The Ghostty terminal, a compact assistant and a single window for projects, history, brief, stats and settings don't overlap each other. Claude, Codex, Gemini, Qwen and a local model — from one place. You install only what you need (modules), free and open, on a subscription or a CLI's free login.
Install · Guide · All commands · Architecture · Benefits · Roadmap
A typical workflow
After setup you write a task once — in the terminal or the assistant. Lagrange picks an allowed CLI and model based on the task type and limits, opens the run in Ghostty, and the context, history and status stay in one workspace.
- Set the task with
ai …or the assistant field. - Continue in the chosen CLI: Claude, Codex or a local model.
- Check the result in Projects, History, Brief and Stats of the shared workspace.
The only interactive demo scene is on the Lagrange start page. The full documentation does not repeat the interface.
Features
Token savings
- Quiet output:
cc-run-bgandcc-logtailput a singlePASS|FAILline and a short digest into the context instead of thousands of log lines; the RTK hook compresses the output of common commands. - A short
CLAUDE.mdthat points todocs/; local answers without a model (voice commands, project choice,/airules);cchist recallsuggests a past solution before any code digging starts. - Stats: 5h/7d limits per account and an "Effect and resources"
section with "measured" and "estimate" labels;
cc-footprintshows what Lagrange and the CLIs take. Numbers with sources — benefits.
Convenience
- One workspace with a single layout of Ghostty, the assistant and the window: Projects, History, Brief, Stats, Docs, Settings and "Roadmap" switch inside a shared frame.
- Spaces (personal, work): their own projects, allowed AI providers
and Chrome profile;
ccset privatekeeps private names per zone. - A Backlog.md board in every project:
bin/cc-roadmap status|next, a task counter in "Projects". - One-button update: plan, apply, rollback.
Integrations
- Claude, Codex, Gemini, Qwen and several accounts from one manifest;
/aiaccounts for availability and limits,--via claude|codex|localleaves the choice to you. - Claude and Codex session history in one feed, search by text and
meaning; voice (dictation, Live, "Claude, …") on local whisper; Chrome
per space; the
cowork-localMCP; skills and agents. - 25 modules are enabled and rolled back from Settings
(
install.sh --with/--without).
Installation and checks
curl -fsSLo /tmp/lagrange-install https://lagrange.feelcouch.date/install.sh && bash /tmp/lagrange-install
The installer downloads the published release, verifies its SHA-256
and only then runs the usual interactive install.sh. Repeat
the same command to update. After installing:
~/.local/share/Lagrange/current/install.sh --check. Before
a release: bin/dev/cc-release-check; to refresh the live
demos: bin/dev/cc-release-check --visual.
Documentation without duplicates
| You need | Source |
|---|---|
| Get started and configure | guide.html |
| Find a key or command | reference.html |
| Understand the design | architecture.html |
| Understand why you need it | benefits.html |
| See what's next | roadmap.html |
This page is generated locally from docs/index.md by the
existing mdview; the command
bin/dev/cc-docsync --write updates it together with the
other derived documents.