What is LeanCTX?
The Context Gateway for AI systems
LeanCTX sits between AI and the systems it reads. It selects relevant context, applies supported controls, and records what the integration can observe.
The approach
Keep your application. Keep your model.
LeanCTX sits between the AI systems you already use and the information they can access. It complements retrieval systems, vector databases, model gateways, guardrails and agent frameworks; it does not replace your application, agent loop, model or interface.
What is LeanCTX?
Select. Control. Learn. Prove.
Choose relevant context for the task. Apply the access and content controls supported by your integration before delivery. Inspect source references and the delivery evidence that integration can observe. In context-only use, the host makes the model call.
What is LeanCTX?
Choose task-relevant context.
Select permitted information for the task, prepare the needed detail and keep references to its sources.
What is LeanCTX?
Apply supported rules before delivery.
Use the source permissions, configured content checks and budgets supported by the active integration.
What is LeanCTX?
Keep what the work teaches.
Retain decisions, findings and how your sources connect, with references to check what still holds, so the next session starts from what is known.
What is LeanCTX?
Inspect the evidence the integration can observe.
Review source references, policy outcomes and recorded usage; in context-only integrations, the host owns the model call.
What is LeanCTX?
Where LeanCTX fits
Keep your application, agent loop, model choice and user interface. LeanCTX connects permitted sources to the context your AI uses, and can govern supported model or tool calls when those calls use its configured runtime.
What is LeanCTX?
Community Engine
Use the open-source Engine locally or through configured provider and proxy routes for supported requests. Context-only use needs no hosted service. Routing, proxy budgets and other controls depend on the configured integration; local processing does not mean local inference.
What is LeanCTX?
SDK / OEM
Embed supported Engine capabilities through five stable SDK primitives and six Agent Tools language contracts. Preview operations stay in the Python namespace leanctx_sdk.preview. Production and OEM rights require a separate signed written agreement.
What is LeanCTX?
Enterprise
Enterprise is the commercial offer for organization identity, policy and reporting across supported AI workflows. Deployment, retention and support depend on the licensed release and agreement.
Questions & answers
About the name.
How do you write and say LeanCTX?
LeanCTX, one word, said “lean C-T-X”. The CLI and package name is lean-ctx.
Is LeanCTX related to the leanctx packages on npm and PyPI?
No. LeanCTX by Thinkery AG (CLI and packages: lean-ctx, lean-ctx-bin, @thinkery/leanctx-sdk) is not related to the leanctx prompt-compression packages on npm and PyPI.
Start with LeanCTX
Choose the path that fits your work.
Start with one project. Set your sources and rules. See what reaches your model.
Local-first. Model-agnostic. Your context.