Back to list
High-Potential
Rust
🧩 LeanCTX: Context Gateway for AI Systems
3,854 stars352 forksRust
agentic-codingaiai-agentsai-codingai-governanceclaude-codecontext-engineeringcontext-gatewaycontext-intelligencecopilotcursordeveloper-tools
In AI-assisted coding and agentic systems, controlling exactly what the model can "see" often dictates the quality of its output. LeanCTX is built to address this specific challenge, positioning itself as a context gateway for AI systems.
In short, it is an open-source engine for context selection. When an AI tool or agent needs to read a codebase or documentation, LeanCTX acts as an intermediary layer. It precisely controls which pieces of information are fed into the model's context window, while supporting access controls and providing evidence of what was shared. Written in Rust, it ensures high performance when processing large volumes of text.
The hard part is not stuffing every file into a prompt, but filtering the most relevant information within a limited token window. LeanCTX abstracts "context engineering" into a standalone infrastructure component, making it a highly relevant tool for teams building complex AI coding assistants or governance systems.