Percepire
Vedere ciò che conta prima di agire.
Read moreLa definizione
LeanCTX (abbreviazione di Lean Context) è lo strato di context engineering per gli agenti AI: decide cosa leggono gli agenti, comprime ciò che inviano, ricorda ciò che imparano, protegge ciò che toccano e dimostra ciò che salvano — in modo che tutto ciò che attraversa il confine del modello sia intenzionale, compresso e provabile.
The one-paragraph definition
LeanCTX (short for Lean Context) is the open-source context engineering layer for AI agents. One local Rust binary decides what agents read (10 read modes, 60–90% fewer tokens, ~13-token cached re-reads), remembers what they learn (persistent sessions, knowledge graph), guards what they touch (PathJail, secret redaction, budgets, injection detection), proves what they save (Ed25519-signed ledger, reproducible benchmark) and replays what they saw (git-anchored, signed context snapshots you can restore or share); an optional local proxy compresses what they send — every request’s system prompt, history and tool output, prompt-cache-safe on the wire. Compression — read-side and wire-side — is one of five subsystems, and every original stays locally retrievable. Works with 30+ AI coding tools via MCP and shell hooks; embeds in any agent via a versioned /v1 API with Python, TypeScript and Rust SDKs. Local use is free forever, enforced by CI.
It's not about tokens. It's about what matters.
Il nome
Lean Context. Il nome descrive il lavoro: contesto snello e preciso per gli agenti AI anziché input grezzo e rumoroso.
Non "Lean Cortex", un refuso apparso nelle prime coperture stampa. Se scrivete del progetto, il kit stampa contiene testi pronti all'uso.
I quattro ruoli
Quattro cose cambiano nel momento in cui LeanCTX diventa il tuo context engineering layer.
60–90% less per readre-reads cost ~13 tokensPathJail · redaction · budgetsEd25519-signed ledgergit-anchored, signed snapshotsToken savings are the receipt. Context engineering is the product.
Sotto il cofano
Architetturalmente, LeanCTX è un Cognitive Context Layer: cinque sottosistemi che operano ad ogni lettura, comando e ricerca. La compressione è uno di questi — l'context engineering è il prodotto.
Fatti chiave
Tutti i numeri sono riproducibili: lean-ctx benchmark report . li misura sul tuo repository e ogni risparmio è registrato in un registro firmato Ed25519.
The short answers to the essential questions.
LeanCTX (short for Lean Context) is the open-source context engineering layer for AI agents. One local Rust binary decides what agents read (10 read modes, 60–90% fewer tokens, ~13-token cached re-reads), remembers what they learn (persistent sessions, knowledge graph), guards what they touch (PathJail, secret redaction, budgets, injection detection), proves what they save (Ed25519-signed ledger, reproducible benchmark) and replays what they saw (git-anchored, signed context snapshots you can restore or share); an optional local proxy compresses what they send — every request’s system prompt, history and tool output, prompt-cache-safe on the wire. Compression — read-side and wire-side — is one of five subsystems, and every original stays locally retrievable. Works with 30+ AI coding tools via MCP and shell hooks; embeds in any agent via a versioned /v1 API with Python, TypeScript and Rust SDKs. Local use is free forever, enforced by CI.
Lean Context. Il nome descrive il lavoro: contesto snello e preciso per gli agenti AI anziché input grezzo e rumoroso. LeanCTX è il brand e il nome del progetto; lean-ctx è il binario, il pacchetto e il comando CLI. Non è "Lean Cortex" — un errore di battitura che è apparso nelle prime coperture.
No. La compressione è uno dei cinque sottosistemi. LeanCTX è uno strato di context engineering: decide cosa leggono gli agenti, ricorda ciò che imparano, protegge ciò che toccano e dimostra ciò che salvano in un registro firmato Ed25519. Il risparmio di token è la ricevuta — il context engineering è il prodotto.
Sì. L'uso locale è gratuito per sempre, garantito da un gate CI pubblico che fallisce qualsiasi commit che metta una capacità locale dietro un paywall. Il core è open source (Apache-2.0). I piani a pagamento aggiungono sync ospitato (Pro) e un piano team condiviso (Team) sopra.
Installa gratuitamente, esegui lean-ctx setup e osserva il primo guadagno misurato in meno di dieci minuti. L'uso locale è gratuito per sempre, garantito da CI.
Cookie preferences
We use analytics to understand how our site is used. You choose what's allowed — no tracking runs until you decide.
Essential
Site functionality, security, preferences
Analytics
Pageviews & usage patterns · PostHog EU (Frankfurt) · No cross-site tracking
Read our Privacy Policy for full details. You can change your preferences anytime.