Raw JSON goes straight into the model
Every tool response, API payload and document lands unprocessed in the prompt. You pay for noise on every single call.
Use case · Custom bots
LeanCTX embeds in any custom bot or agent via a versioned /v1 HTTP API (OpenAPI + /v1/capabilities) with GA Python and TypeScript SDKs plus a Rust SDK. Your bot gets compressed reads, persistent memory, a knowledge graph, the ctx_tools gateway and governance, without building any of it. One local Rust binary, lean-ctx serve, zero cloud dependency.
Same engine. Different workflow. Always the right context.
Every tool response, API payload and document lands unprocessed in the prompt. You pay for noise on every single call.
A vector store bolted to a cron job is not a memory system. Findings vanish, sessions reset, and nobody trusts the recall.
Caching, deduplication, retrieval, budgets: each new bot reinvents the context stack instead of shipping its actual job.
Everything below ships in the open-source binary today. No roadmap items, no waitlists.
OpenAPI spec + /v1/capabilities discovery; read, search, memory and shell endpoints
Python & TypeScript SDKs GA with a 14-check conformance kit, plus a Rust SDK
bridge external MCP servers and plugins through one governed entry point
a sandboxed WASM runtime and plugins extend the layer without forking it
built-in personas (coding, research, support…) plus custom; one switch reshapes tool set, read mode, compression and intents
facts, decisions and blockers persist across sessions and restarts
$ lean-ctx serve$ curl localhost:8080/v1/capabilities$ pip install lean-ctx-client$ client = LeanCtxClient("http://127.0.0.1:8080")$ client.call_tool_text("ctx_read", {"path": "data/report.pdf"})Every /v1 endpoint with request and response shapes.
Learn moreEmbed LeanCTX in your own agent, end to end.
Learn moreTune the layer for your bot’s domain.
Learn moreThe full 81-tool catalog your bot can call.
Learn moreNo. lean-ctx serve runs a versioned /v1 HTTP API on your machine. Any process (a Slack bot, a support agent, a pipeline) can use compressed reads, memory and search via the Python, TypeScript or Rust SDK.
Yes. The Python and TypeScript SDKs are GA against the frozen /v1 contract, and a 14-check conformance kit keeps every client honest. A Rust SDK and an OpenAPI spec (/v1/openapi.json) round out the surface, and extensions run as sandboxed WASM or plugins so you extend the layer without forking it.
On your machine. LeanCTX is local-first with zero telemetry: cache, knowledge store and ledger are local files. Nothing leaves unless you build something that sends it.
Nothing. Local use is free forever, enforced by a public CI gate. Paid plans only add hosted sync and team planes on top.
Free for local use, forever. CI enforces it. One binary, ten minutes to the first measured gain.
Cookie preferences
We use analytics to understand how our site is used. You choose what's allowed — no tracking runs until you decide.
Essential
Site functionality, security, preferences
Analytics
Pageviews & usage patterns · PostHog EU (Frankfurt) · No cross-site tracking
Read our Privacy Policy for full details. You can change your preferences anytime.