A context gateway needs a recovery check
LeanCTX can change which parts of a file or command result reach an AI agent. The useful evaluation question is whether its selected context helps your workflow while leaving needed detail recoverable. Our recorded source run did not reach an installed-binary or agent-integration check, so this review separates that incomplete setup result from the README's capabilities.
The README describes a local Engine with CLI, MCP, hooks and an optional request proxy. The read path prepares files and tool output; the opt-in proxy transforms supported, configured requests before they reach a model provider. Session records and a repository graph support continuity and navigation. Compatibility depends on the client, transport and configuration, rather than the presence of a client name in a setup table.
What our recorded run establishes
We are using the stored run from October 12, 2026, at commit 3afe2bbffe0834ec58517ffd493e5a51c5c1ca57. Its configuration records 3 CPUs, 12 GB of memory and image lab-rust:1; that image label does not establish a runtime version. No new execution was performed for this correction.
| Stage | Recorded observation | Limit |
|---|---|---|
| Dependency preparation | Exit 0 in 20.771 seconds, rounded to 21 seconds; 520 dependencies recorded | The tail shows downloads, not an installed CLI check |
Source build under ./rust/ |
Timed out after 900 seconds, exit 124 | No completed build or diagnostic tail |
| Test command | Exit 101 after 209 seconds | Retained Rust invocation ends with signal 9, SIGKILL; no individual test result established |
The killed process does not identify a failing assertion, and the record does not establish the cause of the kill. We cannot attribute it to a product defect or a particular resource shortage. There is no verified passing-test count, audit result, installed-binary check or measured agent workload in this run.
The checkout summary recorded 4,391 files, approximately 1,020,363 source lines and 61.8 MB. It also recorded 17 CI workflows, a tests directory and no Dockerfile. Workflow files and a tests directory indicate repository structure; they do not establish executed coverage.
Recovery has explicit conditions
The README says supported compact views retain source or archive references for expansion through ctx_expand, ctx_retrieve or the reference API. Recovery depends on permissions, retention and the source remaining available. Treat those conditions as part of the trial: compare the recovered content with the original material your task needs.
Issue 1648 documents a historical MCP ctx_grep problem on LeanCTX 3.9.17. The reporter described missing context lines and an inflated count of 160 for 40 real matches once multi-file compression engaged. The issue was closed as completed through pull request 1649 on September 1, 2026. It is a useful regression scenario, but it does not establish a current defect at our measured commit or a defect in full-file reads. We did not reproduce it.
The v3.10.0 release notes separately describe read, search, edit and refactor fixes. They also state that no stable SDK was bundled into that Engine release. That is a version-specific boundary: the current README describes supported SDK interfaces under separate SDK/OEM terms. Our source run evaluated neither SDK offering.
Check the integration and network settings
The README documents lean-ctx wrap <agent> as registering MCP and configuring the supported local transport for that agent. It documents unwrap for reversal and distinguishes configuration from the subsequent diagnostic check. We did not observe those operations in our run.
Keep the documented recovery controls available during a trial: lean-ctx-off disables the current shell integration, lean-ctx -c --raw "git status" runs a command uncompressed, and shell_activation = "agents-only" limits shell activation to agent sessions. Preserve the original agent configuration so you can compare it after setup and removal.
Proxy behavior also depends on authentication. The README says lean-ctx wrap claude adds no proxy redirect for Claude Pro/Max subscription OAuth; Claude wire-level request compression requires ANTHROPIC_API_KEY. Do not assume that enabling MCP tools also enables request compression.
Inspect telemetry with lean-ctx telemetry status and lean-ctx telemetry show; the documented off switch is lean-ctx telemetry disable. Context processing runs locally, while configured source providers, proxy/model requests, submitted feedback, updates and enabled telemetry have separate network paths. The README describes experimental local team functionality, not a publicly available hosted team or cloud service.
Licensing also needs a closer look than the harness's Apache-2.0 label. The README describes mixed licensing: the Trust Core remains Apache-2.0, while explicitly mapped v4 modules may use commercial source-visible terms. Check the license matrix for the modules you intend to use.
Savings estimates do not establish answer quality
We measured no token savings, provider costs, latency improvement or completed-task quality. The README says Shadow Mode uses a simulated baseline rather than a second measured run. It also says a powered with/without quality study has not been run and that the proxy's compression holdout reports answer quality as unknown.
For a useful trial, keep the task and model settings comparable, inspect omitted and recovered material, and record whether the resulting work is correct. A smaller prompt alone cannot answer that question.
Two alternatives with different entry points
Context Mode describes sandbox tools that keep raw data outside the context window, plus SQLite-backed session events retrieved through FTS5 and BM25. Its documented MCP-only route omits automatic routing hooks. It is relevant when tool-output handling and session continuity are the main evaluation questions.
Headroom documents Python and TypeScript compression libraries, a local proxy, agent wrapping, MCP tools and shared memory. It is relevant when you need compression inside an application or through a proxy. Its wrapping and memory features overlap with LeanCTX, so the choice requires checking the integration you actually need. Neither alternative was executed in our run.
How to read the scores
These are provisional editorial ratings of the supplied evaluation evidence, not benchmark results. The rubric is: 1 means little usable evidence; 2 means partial evidence with major verification gaps; 3 means documented capability with limited corroboration; 4 means detailed documentation or a successfully verified scoped result with explicit limits; 5 requires broad corroboration that this review does not have. Unknown adoption or compatibility earns no extra credit.
Setup receives 2/5 because dependency preparation completed but the build and test commands did not complete successfully. Documentation receives 4/5 for concrete setup, reversal, recovery and measurement boundaries, without implying that every linked guide was checked. Community receives 2/5 because one historical issue response and release notes cannot establish current adoption or support capacity. Maturity receives 2/5 because the available run leaves operational verification incomplete, despite documented functionality and release fixes.
Start with one disposable agent profile and a representative repository. Verify the binary, integration and source recovery before evaluating whether LeanCTX improves completed work.

