Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / memory & RAG / LeanCTX
memory & RAGOpen sourceAdded Oct 18, 2026

LeanCTX logoLeanCTX

No ratings yet★ Rate this tool

Open-source context gateway that sits between AI tools and your code and data to control and shrink what the model sees.

Updated

✨ Try AgentScout's free AI image generator →

Good for: writing code, memory for agents

Use cases

Get featured

About LeanCTX

LeanCTX is listed in our memory & RAG category and is aimed at builders. Open-source context gateway that sits between AI tools and your code and data to control and shrink what the model sees. Pricing, as the maker states it: Open source engine (Apache-2.0); Enterprise pricing not verified. Maturity: Active. We last checked the official link on 2026-12-01.

What is LeanCTX?

LeanCTX is a context gateway that sits between AI tools and the information they read. It selects task-relevant context with search, structural views, compression and reuse, applies configured path permissions, content filters and context budgets, and records the context operations it can observe.

The open-source LeanCTX Engine runs locally through a CLI, an MCP server, hooks and supported proxy paths, and an SDK embeds its capabilities in your own app. Your application, agent loop and model stay your own; organization-wide controls are offered as a separate licensed Enterprise option.

Sources: the official README and our directory listing, checked 2026-10-24. Official site: github.com/yvgude/lean-ctx.

Who is LeanCTX for?

Developers and teams who want to control and trim what context their AI tools see.

LeanCTX at a glance

  • Open source: Yes (Apache License 2.0)
  • GitHub: yvgude/lean-ctx · 3,971 stars (as of Dec 2, 2026)

Key features

  • Task-relevant context selection
  • Compression and context budgets
  • Path permissions and content filters
  • CLI, MCP, hooks and proxy
  • Embeddable SDK

LeanCTX FAQ

What is LeanCTX?

LeanCTX is a context gateway that sits between AI tools and the information they read. It selects task-relevant context with search, structural views, compression and reuse, applies configured path permissions, content filters and context budgets, and records the context operations it can observe.

Who is LeanCTX for?

Developers and teams who want to control and trim what context their AI tools see.

Is LeanCTX free?

LeanCTX's pricing, as the maker states it: Open source engine (Apache-2.0); Enterprise pricing not verified. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.

Is LeanCTX open source?

Yes. LeanCTX is released under the Apache License 2.0, according to its GitHub repository.

What are alternatives to LeanCTX?

Similar tools include ktx, Headroom, ComfyUI Copilot, Eko, Hyper Extract and KiwiFS.

LeanCTX ratings and reviews

No ratings yet. Be the first to review LeanCTX.

Be the first to rate LeanCTX: tap 1 to 5 stars below. A written review is optional.

Your rating of LeanCTX

LeanCTX alternatives

Other memory & RAG tools in our directory. See all memory & RAG tools →