aiagent.club
中文
GitHub repo

yvgude/lean-ctx

Rust Tracked since 2026-03-23 Updated 2026-10-26 View source ↗

#382 of 813 by Stars among GitHub repos

3.9k Stars

LeanCTX is the Context Gateway for AI Systems. Select task-relevant context, apply supported controls, connect local knowledge and inspect recorded evidence. Open-source Engine: CLI, MCP, hooks and supported proxy paths.

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.9k 2026-10-26
Forks 357 2026-10-26
Commits 8.6k 2026-10-26
Releases 257 2026-10-26
Watchers 22 2026-10-26
Open issues 9 2026-10-26
Open PRs 1 2026-10-26