Skip to content
Documentation

LeanCTX documentation

LeanCTX is the Context Gateway for AI systems.

It sits between AI and the systems it reads. It selects relevant context, applies supported controls, and records what the integration can observe.

Select. Control. Prove.

What is LeanCTX?
Select sources. Shape the view. Check supported reads before delivery.
Windows · macOS · Linux

Connect your AI tool.

Install on your system, connect your AI tool and verify your first read.

Get started
Build with LeanCTX

Build with the SDK.

Embed supported context selection, controls and evidence. Your host owns model calls; Python continuity handoffs remain Preview.

Explore the SDK

See the difference

Choose your read depth.

Start with the API surface. Recover the full implementation when the task needs it.

With LeanCTX installed, replace the path with a file in your project.

Understand read modes
Read. Inspect. Recover.CLI
# Inspect the API surface
lean-ctx read src/main.rs -m signatures

# Read the full source
lean-ctx read src/main.rs -m full --fresh

Two views of the same file. On Windows, macOS or Linux.

Learn the essentials

Learn the core capabilities.

Connect evidence, control input and execution, then evaluate and reuse the result.

Explore the complete capability map Put it into practice.Follow a complete task with the guided workflows.

Go straight to the source

Find the exact reference.

Find exact schemas and versioned runtime help alongside the shared Engine concepts.

Check versions and compatibility