LeanCTX is a tool designed to manage and control the context available to AI systems, with a focus on optimizing what AI agents can perceive, process, and remember. It addresses the challenge of efficiently handling large volumes of data by providing mechanisms for context engineering, allowing users to govern and streamline the information flow to AI models.
The platform offers features such as perceiving, compressing, remembering, routing, and governing data for AI agents. LeanCTX includes subsystems for compression, filtering, deduplication, and caching, enabling the reduction of raw input data (for example, compressing 100,000 tokens down to approximately 5,000 tokens). These capabilities are intended to help AI agents avoid redundant processing and to optimize resource usage. LeanCTX is compatible with over 30 AI tools and editors, and supports integration via API and SDKs. It is applicable to a range of use cases including AI coding agents, custom bots, scrapers and crawlers, research agents, workflow automation, and enterprise agent governance.
The service provides documentation and a CLI reference, and offers community-driven extensions. Metrics are available to track community savings and energy usage. LeanCTX is positioned as a context engineering solution for developers and organizations seeking to normalize, govern, and audit the data their AI agents access and utilize.
LeanCTX is an AI & ML product. It focuses on reducing token usage and improving context management for AI agents by filtering and compressing input data. LeanCTX is an open-source project aimed at AI agent developers. The project is open source (Apache-2.0). It runs on the command line and API, and it can be self-hosted.
LeanCTX first shipped in 2026. The project is developed in the open on GitHub with 2.7k stars and 2.1k commits in the last 90 days. Across PulseGate's embedding index, LeanCTX has few near neighbours, marking it as relatively distinct. Among its 6 catalogued features are context filtering, token compression, and memory management. It exposes integrations via a public API.
Latest indexed changes and source events
leanctx.com discovered by the PulseGate indexer
Other apps tracked under the same category.