Filesystem confinement
Agents read only inside allowed roots. Traversal attempts are blocked and logged, enforced at runtime.
Enterprise · Security
LeanCTX is the context engineering layer for AI agents — built for your threat model: code never leaves the machine, boundaries are enforced in-process, and every action lands in a tamper-evident ledger you can verify without trusting us.
Controls
All controls run in-process in the same Rust binary that serves context: microseconds of overhead, no extra service, no agent that can be bypassed.
Agents read only inside allowed roots. Traversal attempts are blocked and logged, enforced at runtime.
Dangerous commands are stopped before execution. The allowlist is explicit, versionable and auditable.
Credentials and tokens are stripped from file and shell output before any model sees the content. Opt-in content filters extend this to PII classes (IBAN, payment cards, AHV) and confidential-classification gating.
Untrusted content (web pages, issues, third-party output) is screened for prompt-injection patterns before delivery.
Per-role token budgets cap what an agent may consume, enforced in-process rather than in a dashboard after the fact.
Reads, commands and savings land in an Ed25519-signed, hash-chained local ledger. One command verifies the chain.
Data flow
Nothing leaves the machine. Verify it.
Verification
$ lean-ctx doctor$ lean-ctx savings verify$ lean-ctx savings exportEngineering depth (sandboxing, the threat model, hardening checklist and disclosure policy) lives in the security documentation.
No. LeanCTX runs entirely on the developer machine with zero telemetry. Cache, knowledge store and audit ledger are local files. The only network egress is what your own configuration explicitly enables — and the audit trail records it.
Ledger entries are hash-chained and Ed25519-signed. Any modification breaks the chain. lean-ctx savings verify proves integrity end to end, and exports carry the signatures for external verification.
Yes. The binary operates fully offline: compression, cache, memory, search and the signed ledger are all local. Enterprise adds signed bundles and policy packs for offline distribution.
A pilot includes a security review session: your policies, your boundaries, and a signed report of everything the agents read, ran and saved.
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.