LeanCTX
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
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. Maturity: Active. We last checked the official link on 2026-10-18.
LeanCTX at a glance
- Category: Memory & RAG
- Built for: Developers and teams building with AI agents
- Pricing: Open source (as the maker states it)
- Licence: Apache License 2.0 (OSI-approved open source)
- GitHub: yvgude/lean-ctx · 3,896 stars (as of Oct 21, 2026)
- Latest release: v3.11.4 — LeanCTX Engine: more reliable…, Oct 19, 2026
- Last commit: Oct 19, 2026
- Official site: github.com/yvgude/lean-ctx
- Listed on AgentScout: Oct 18, 2026
LeanCTX FAQ
What is LeanCTX?
Open-source context gateway that sits between AI tools and your code and data to control and shrink what the model sees.
How much does LeanCTX cost?
LeanCTX's pricing, as the maker states it: Open source. 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's GitHub repository is published under the Apache License 2.0, according to the licence file in the repo.
Where can I find LeanCTX's source code?
On GitHub at yvgude/lean-ctx, which had 3,896 stars as of Oct 21, 2026. The latest release is v3.11.4 — LeanCTX Engine: more reliable agent tool calls (Oct 19, 2026).
What are alternatives to LeanCTX?
Similar tools include ktx, KiwiFS, OpenLore, ai-memory, OpenViking and Pieces.
Facts from our link-checked listing, the GitHub repository and the official site. See something wrong? Suggest an edit.
LeanCTX ratings and reviews
Be the first to rate LeanCTX: tap 1 to 5 stars below. A written review is optional.
LeanCTX alternatives
Other memory & RAG tools in our directory. See all memory & RAG tools →
ktx
An open-source context layer for data and analytics agents that gives Claude Code, Codex and other agents a self-improving map of your warehouse, metrics and business definitions.
KiwiFS
A markdown filesystem for agents and teams: searchable, structured and versioned knowledge in a single binary that agents can read and write.
OpenLore
A self-hosted knowledge repository for AI agents written in Go, where agents and teams share docs, notes and findings over SSH and MCP with scoped access.
ai-memory
Fabio Akita's open-source long-term memory layer for coding agents: one Rust binary that keeps plain-markdown project memory and typed handoffs shared across 20+ harnesses such as Claude Code, Codex, Cursor and Gemini CLI, so you can switch agents, machines or teammates without re-explaining the project.
OpenViking
Context database for AI agents that keeps memory, knowledge and skills in one inspectable virtual filesystem agents can navigate.
Pieces
AI memory layer that captures context from your work so you and your AI tools can recover decisions and resume where you left off.
Related lists
🏆 See also: MarkItDown alternatives · All best-of lists
Badge for makers
Built LeanCTX? Add this badge to your README or site. It links back to this page. About badges