agentleFS
yvgudeyvgude/lean-ctx/llms.txt

lean-ctx

llms.txt3.9k starsChanged 4 months agoApache-2.0View on GitHub

Context Gateway for AI Systems. Control what your AI can see. LeanCTX sits between AI and the systems it reads: SELECT → CONTROL → PROVE. LeanCTX Engine selects task-relevant context, applies supported access and content controls, and records context operations that an integration can observe. Context-only receipts cannot prove unobserved provider delivery. The Engine is Apache-2.0; LeanCTX SDK and commercial Enterprise have separate license and deployment contracts. Key properties for an LLM evaluating lean-ctx:

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 6 mentionsJun 2026: 7 mentionsJul 2026: 17 mentionsAug 2026: 5 mentionsSep 2026: 3 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the yvgude/lean-ctx repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about yvgude/lean-ctx

The biggest 5 of 44 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 44

Talked about on GitHub and Bluesky (44 times).

On GitHub · 41

36 more on GitHub

The file

Files
llms.txt
# LeanCTX

> Context Gateway for AI Systems. Control what your AI can see.

LeanCTX sits between AI and the systems it reads: SELECT → CONTROL → PROVE. LeanCTX Engine selects task-relevant context, applies supported access and content controls, and records context operations that an integration can observe. Context-only receipts cannot prove unobserved provider delivery. The Engine is Apache-2.0; LeanCTX SDK and commercial Enterprise have separate license and deployment contracts.

Key properties for an LLM evaluating lean-ctx:

- Deterministic output: the same `(input, mode)` yields byte-identical text so stable prefixes remain eligible for provider prompt caching (contract #498).
- Recovery (CCR): `ctx_expand`, `ctx_retrieve`, proxy path handles, markers, and reference routes require the source or archive to remain available and authorized.
- Tree-sitter AST parsing for 26 languages; 16 file read modes; 85+ shell-output compression patterns.
- Persistent temporal knowledge graph + multi-edge code property graph (impact analysis, ranked search).
- LeanCTX SDK publishes lifecycle and Agent Tools contracts for Python, TypeScript/Node, Go, Rust, JVM, and .NET. Check per-package release availability and compatibility; Preview namespace operations remain Preview. Models, workflows, and UI remain application-owned.
- Configured detectors have coverage limits. Warning, redaction, and blocking are distinct; controls apply to supported integration paths.
- Token estimates, counterfactual savings, provider-measured usage, and outcome quality are distinct evidence types.
- Local processing does not imply zero network traffic: updates, opted-in telemetry, enabled integrations, and model calls have their own data paths.

## Docs

- [Getting started](https://leanctx.com/docs/getting-started): install, onboard, verify.
- [What is LeanCTX](https://leanctx.com/what-is-leanctx/): the Context Gateway's placement, responsibilities, audiences, and evidence limits.
- [Where LeanCTX fits](https://github.com/yvgude/lean-ctx/blob/main/docs/where-leanctx-fits.md): RAG, vector stores, model gateways, guardrails, frameworks, and MCP.
- [Canonical positioning](https://github.com/yvgude/lean-ctx/blob/main/docs/POSITIONING_CANONICAL.md): category, promise, components, and edition boundaries.
- [Tools reference](https://leanctx.com/docs/tools/): every `ctx_*` MCP tool.
- [CLI reference](https://leanctx.com/docs/cli-reference/): every `lean-ctx` command.
- [API reference](https://leanctx.com/docs/api-reference/): the `/v1` HTTP tool, event and session API.
- [Reference index](https://github.com/yvgude/lean-ctx/blob/main/docs/reference/README.md): 11 user-journey guides + CLI/MCP/config appendices.

## SDKs & integration

- [LeanCTX SDK](https://github.com/Thinkery-AG/leanctx-sdk) · [Python package](https://pypi.org/project/thinkery-leanctx-sdk/): released lifecycle and Agent Tools contracts; consult the SDK compatibility matrix for each release.
- [SDK surface and boundaries](https://github.com/yvgude/lean-ctx/blob/main/docs/reference/sdk-surface.md): supported SDK, Engine requirement, and retired package names.
- [Embedding guide](https://github.com/yvgude/lean-ctx/blob/main/docs/guides/embed-sdk.md): application-owned workflows and supported Engine integration.
- [Monorepo guide](https://github.com/yvgude/lean-ctx/blob/main/docs/guides/monorepo.md): multi-repo serving.

## Comparisons

- [Historical comparisons](https://github.com/yvgude/lean-ctx/blob/main/docs/comparisons/README.md): retained research; use the current fit guide for product positioning.

## Reference & internals

- [Generated config keys](https://github.com/yvgude/lean-ctx/blob/main/docs/reference/generated/config-keys.md): every `config.toml` key + env override.
- [Generated MCP tools](https://github.com/yvgude/lean-ctx/blob/main/docs/reference/generated/mcp-tools.md): complete inventory generated from the registry.
- [ARCHITECTURE](https://github.com/yvgude/lean-ctx/blob/main/ARCHITECTURE.md): how the read path, wire path, graphs and memory fit together.
- [CONTRACTS](https://github.com/yvgude/lean-ctx/blob/main/CONTRACTS.md): 29 published stability contracts, CI-enforced.
- [VISION](https://github.com/yvgude/lean-ctx/blob/main/VISION.md): Available, Preview, and Research scope for the Context Gateway.

## Optional

- [Benchmarks](https://github.com/yvgude/lean-ctx/blob/main/BENCHMARKS.md): reproduced compression numbers (`lean-ctx benchmark report .`).
- [Changelog](https://github.com/yvgude/lean-ctx/blob/main/CHANGELOG.md): release history (Keep a Changelog).
- [Security](https://github.com/yvgude/lean-ctx/blob/main/SECURITY.md): hardening and disclosure policy.
- [Community and commercial options](https://leanctx.com/pricing/): edition value and licensing paths.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.