The Contexto project provides a context engine designed for long running AI agents.
lean-ctx
LeanCTX provides context intelligence for AI systems and tools that use contextual information.

About lean-ctx
LeanCTX is an open-source context gateway that sits between AI tools and the files, repositories, tool results and configured providers they read. It selects task-relevant context, applies configured access and content controls before delivery, and records the context operations and delivery evidence it can observe.
The engine runs locally through CLI, MCP, hooks and proxy paths, and supported capabilities can be embedded in applications via the SDK. Controls apply to supported calls and results, and a context-only integration records its prepared result while the host application handles the subsequent model call.
Key features
- Selects task-relevant context using search and structural views
- Compresses context output and supports reuse across calls
- Applies configured path permissions to supported calls
- Filters supported results and enforces context budgets
- Records source references, policy decisions and usage evidence
- Runs locally via CLI, MCP, hooks and proxy paths
- Open-source engine that runs locally
- Works alongside existing applications, agent loops and models without replacing them
- Provides inspectable source references, policy decisions and usage evidence
- Access, filtering and budget controls apply only to supported calls and results
- Context-only integrations record the prepared result; the host controls the later model call
- Installation support varies, with a matrix distinguishing first-class paths from other references
lean-ctx at a glance
- Website
- github.com/yvgude/lean-ctx
- Category
- AI & Machine Learning › AI Agent Frameworks
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
lean-ctx alternatives
Tools and sites you could use instead, ranked by how closely they match.
The open-multi-agent project provides a self-hosted TypeScript runtime with approvals and verifiable records.
Aeon provides an AI agent framework that runs unattended on GitHub Actions and can drive Claude Code, Grok, and Codex.
CompozyOS coordinates agent command line tools as a team that shares project memory and tasks.
Strands Agents SDK provides an open source toolkit for building and controlling production agents in Python and TypeScript.
CrewAI lets developers coordinate autonomous agents that take on different roles.
Popular in AI Agent Frameworks
Well-known listings from the same topic.
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












