Files
wehub-resource-sync 26382a7ac6
CI / Test (macos-latest) (push) Waiting to run
CI / Test (windows-latest) (push) Waiting to run
CI / Build (no embeddings / no ORT) (push) Waiting to run
CI / Format (push) Waiting to run
CI / Cookbook (Node) (push) Waiting to run
CI / Pi Extension (Node) (push) Waiting to run
CI / Rust SDK (lean-ctx-client) (push) Waiting to run
CI / Embed SDK (lean-ctx-sdk) (push) Waiting to run
CI / Python SDK (leanctx) (push) Waiting to run
CI / Hermes Plugin (Python) (push) Waiting to run
CI / SDK Conformance Matrix (push) Waiting to run
CI / Coverage (push) Waiting to run
CI / cargo-deny (push) Waiting to run
CI / Adversarial Safety (push) Waiting to run
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
JetBrains Plugin / Actionlint (push) Waiting to run
CI / Benchmarks (push) Waiting to run
CI / Output-Quality Gate (eval A/B) (push) Waiting to run
CI / Documentation (push) Waiting to run
CI / CI Green (push) Blocked by required conditions
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (rust) (push) Waiting to run
JetBrains Plugin / Validation (push) Waiting to run
JetBrains Plugin / Build (push) Waiting to run
JetBrains Plugin / Test (push) Blocked by required conditions
Security Check / Security Scan (push) Waiting to run
CI / Test (ubuntu-latest) (push) Has started running
CI / Clippy (push) Has started running
chore: import upstream snapshot with attribution
2026-07-13 12:35:30 +08:00

7.0 KiB
Raw Permalink Blame History

LeanCTX — Marketing & Submission Copy

Single source of truth for outbound copy across launch channels, directories, and package registries. Keep every channel below in sync with this file when the positioning changes.

Narrative: LeanCTX is the Context OS for AI Development — it governs every token between your code and the model across four dimensions: Compression, Routing, Memory, Verification.


Naming rule (non-negotiable)

Use Where
LeanCTX (brand, capitalized) Prose, headlines, titles, logo, SEO, store names, taglines
lean-ctx (lowercase) Binary, CLI command, package names, URLs, code blocks

Examples: "LeanCTX is the Context OS for AI development." · lean-ctx setup · npm install -g lean-ctx-bin · cargo install lean-ctx · github.com/yvgude/lean-ctx.


Canonical facts (verify before every launch)

  • One local binary (Rust), CLI-first, privacy-first, zero telemetry, local-first.
  • License: Apache-2.0 · open source.
  • 80 MCP tools, 10 read modes, 95+ shell compression patterns.
  • Up to 99% token savings; cached re-reads cost ~13 tokens.
  • Works with 25+ AI tools — Cursor, Claude Code, CodeBuddy, GitHub Copilot, Windsurf, OpenAI Codex CLI, Gemini CLI, Cline, JetBrains, VS Code, Zed, and more.
  • Three integration modes: CLI-Redirect (zero MCP overhead), Hybrid, Full MCP.

Taglines

  • One-liner: The Context OS for AI Development.
  • Short: LeanCTX governs every token between your code and the model — compress, route, remember, verify.
  • Medium: Your AI coding agent wastes thousands of tokens rereading files, parsing noisy shell output, and losing context between sessions. LeanCTX is the operating system for that context: one local binary that compresses what the AI reads, remembers what matters across sessions, routes each read to the right fidelity, and verifies what comes back.

The four dimensions (reusable block)

  1. Compression — input efficiency. 10 read modes, 95+ shell patterns, tree-sitter AST. Cached re-reads cost ~13 tokens.
  2. Routing — the right fidelity per read. Adaptive mode prediction and intent classification keep simple lookups cheap and deep reads precise.
  3. Memory — context that persists. Session memory, a temporal knowledge graph, and a multi-edge code graph survive across chats.
  4. Verification — control what reaches the model. Token dashboard, budgets/SLOs, and a verification engine with CI drift gates.

Channel: GitHub repository description

LeanCTX — the Context OS for AI development. One local binary that compresses, remembers, routes, and verifies every token between your code and the model. 68 MCP tools, 10 read modes, up to 99% token savings. Works with Cursor, Claude Code, Copilot, Windsurf, Codex, Gemini.

Channel: npm package (lean-ctx-bin) description

LeanCTX — the Context OS for AI coding agents. One local binary that compresses, remembers, routes, and verifies every token between your code and the model. No Rust required.

Channel: crates.io (lean-ctx) description

The Context OS for AI development — compress, route, remember, and verify the context between AI coding agents and your codebase. Single binary, CLI-first, zero telemetry.


Channel: Product Hunt

  • Name: LeanCTX
  • Tagline (≤60 chars): The Context OS for AI development
  • Description:

Your AI coding agent wastes thousands of tokens rereading files, parsing noisy shell output, and losing context between sessions — and you have no control over it. LeanCTX is the operating system for that context. One local binary compresses what the AI reads (up to 99%), remembers what matters across sessions, routes each read to the right fidelity, and verifies what comes back. Works with 24+ AI tools. Apache-2.0, zero telemetry, local-first.

  • First comment (maker):

Hi PH! I built LeanCTX because my agents kept burning tokens re-reading the same files and forgetting everything between chats. It sits between any AI tool and your codebase and treats context as a managed resource across four dimensions — compression, routing, memory, and verification. One lean-ctx setup wires up your shell and every detected editor. Everything runs locally; zero telemetry. Would love your feedback.


Channel: Hacker News (Show HN)

  • Title: Show HN: LeanCTX a Context OS for AI coding agents (Rust, local-first)
  • Body:

LeanCTX is an open-source context runtime that sits between AI coding agents (Cursor, Claude Code, Copilot, Windsurf, Codex, Gemini, …) and your codebase. It compresses file reads and shell output, persists session memory and a code/knowledge graph, and verifies outputs before they reach the model. Single Rust binary, CLI-first, zero telemetry, Apache-2.0. Cached re-reads cost ~13 tokens; typical sessions save ~88%.

Repo: https://github.com/yvgude/lean-ctx — feedback welcome, especially on the routing/verification layers.


Channel: Reddit (r/LocalLLaMA, r/programming, r/ChatGPTCoding)

  • Title: LeanCTX: an open-source Context OS that cuts AI agent token usage up to 99%
  • Body:

I kept watching my coding agents re-read the same files and lose context between chats, so I built LeanCTX — a local Rust binary that governs context across four dimensions: compression, routing, memory, and verification. It hooks into 24+ AI tools, caches reads (~13 tokens on re-read), keeps a knowledge + code graph across sessions, and verifies outputs. Apache-2.0, zero telemetry. Install: cargo install lean-ctx or npm i -g lean-ctx-bin, then lean-ctx setup.


Channel: X / Twitter

  • Launch post:

LeanCTX is the Context OS for AI development. One local binary that compresses, routes, remembers, and verifies every token between your code and the model.

Up to 99% fewer tokens. Works with 24+ AI tools. Apache-2.0, zero telemetry.

https://leanctx.com

  • Bio: The Context OS for AI development — compress · route · remember · verify.

Channel: directories & registries

Use the short description and the canonical facts block. Always submit the brand as LeanCTX and the package/command as lean-ctx.

  • AlternativeTo — category: Developer Tools / AI. Short description + four dimensions.
  • MCP registries / awesome-mcp lists — PR blurb:

LeanCTX — Context OS for AI coding agents. 80 MCP tools across compression, routing, memory, and verification. CLI-first, local, zero telemetry.

  • awesome-claude / awesome-cursor / awesome-ai-devtools — same PR blurb.
  • Dev tool roundups & newsletters — lead with the medium tagline + four dimensions.