yvgude/lean-ctx
#385 of 783 by Stars among GitHub repos
Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.
About
LeanCTX — Lean Context Engineering for AI agents
LeanCTX — short for Lean Context — is the context engineering layer for AI agents. It runs as a single local binary between your agents and everything they touch — your code, shell, data, and the model itself: it decides what they read, compresses what they send (an optional local proxy shrinks every request — system prompt, history and tool results — prompt-cache-safe), remembers what they learn, guards what they touch — and proves what they save with a signed, verifiable savings ledger. The result: 60–90% fewer tokens. Zero config required. Local-first.
Control what your AI can see. LeanCTX — short for Lean Context — is the context…
Excerpted from github.com/yvgude/lean-ctx
Latest metrics
| Stars | 3.3k | 2026-07-16 |
|---|---|---|
| Forks | 301 | 2026-07-16 |
| Commits | 3.0k | 2026-07-16 |
| Releases | 236 | 2026-07-16 |
| Watchers | 21 | 2026-07-16 |
| Open issues | 48 | 2026-07-16 |
| Open PRs | 10 | 2026-07-16 |