LeanCTX 3.12.13
by Thinkery AG
Context gateway for AI systems that selects and compresses the context an agent reads before it reaches the model.
- Open source
- Windows
- Updated Dec 5, 2026
Official version from Thinkery AGDownloaded from the publisher’s site · Official website
- No download manager
- No bundled offers
- 0Views
- 0Downloads
- 0Likes
- Software Rank#18in Internet
Screenshots

About LeanCTX
LeanCTX sits between AI tools and the information they read. It selects task-relevant context, applies access and content controls before delivery, and records the context operations and delivery evidence it can observe. The open-source build runs locally through the command line, MCP, hooks and proxy paths, and leaves the agent loop and the model to you.
What’s new in 3.12.13
- The Pi integration's development dependencies now resolve cross-spawn 7.1.2 (Windows command and argument injection, GHSA-w3gc-668g-rf8f, GHSA-ghv9-86vm-4v8m, GHSA-m6qr-m48x-3xhh), minimatch 11.0.9 (quadratic pattern compile time, GHSA-cf2h-pxjq-68xw) and ws 8.23.0 (memory exhaustion through automatic pong replies, GHSA-37g9-w4hg-h9qr) through npm overrides; npm audit reports no vulnerabilities. The published pi-lean-ctx package ships none of them; @earendil-works/pi-coding-agent stays at 1.5.0.
Fixed
- Claude Code in replace mode sees its per-folder instructions again.
Claude Code loads some instructions only when it reads a file: the
CLAUDE.md and CLAUDE.local.md of a subfolder (a subfolder's AGENTS.md
in AGENTS.md projects) and .claude/rules files whose paths: match the
file. With the native Read denied, they never arrived. ctx_read now
delivers them once per session, including the YAML list and brace forms of
paths:, on Windows paths as well. The root instructions Claude Code loads
at launch are still not repeated.
- An idle MCP server gives the tokenizer tables back (#2291). The
tokenizer tables (about 60 MB) stayed in every lean-ctx mcp process for
its whole life, and on Linux sat in swap while the server was idle. The
idle release now drops them too; the next token count loads them again.
- node --test runs are no longer reported as "mocha: 0 passed" (#2294).
Any output containing " passing" or " failing" was taken for mocha, which
turned node:test runs, failures included, into a bogus summary. Mocha now
needs its own summary lines, and node:test runs (spec and TAP reporter) get
their own summary that keeps every failure in full; output cut before the
failure details stays uncompressed.
- git log and git show keep the file lists they were asked for
(#2298). --stat, --numstat, --name-only, --name-status and
--dirstat now keep every file line of every commit, and formats such as
--format=fuller show the commit subject instead of the AuthorDate: line.
- OpenCode 2.x sees ctx_read and ctx_search again (#2295). OpenCode
2.x exposes MCP servers through Code Mode by default, which hides part of
lean-ctx's tools. lean-ctx now writes "codemode": false on its server
entry when the installed OpenCode is 2.x or newer, keeps a value you set,
and leaves OpenCode 1.x configs without the key, which 1.x rejects.
- Clients without tool hooks get the tool mapping in their rules (#2296).
The rules block told OpenCode and other hook-less clients that native calls
auto-route to ctx_* whenever shadow mode was on, which only clients with
tool hooks do. They now get the explicit tool mapping, like the MCP
instructions.
- The OpenCode guide matches the code (#2297). Shadow mode is on by
default, permissions are written only with hook_mode = "replace" and their
value is ask, which opencode run --auto approves.
Upgrade
lean-ctx update # recommended (auto-downloads + refreshes shell hoo
Specifications
- Name
- LeanCTX
- Version
- 3.12.13
- Released
- December 5, 2026
- Publisher
- Thinkery AG
- Platform
- Windows
- Price
- Open source
- Category
- Internet
- On FamousWhy since
- December 2026
- Download from
- The publisher’s site
in Internet for Windows
out of 294 programsHow the score is made
Famous Software Rank compares LeanCTX with every program on FamousWhy, from 0 to 100. Most of it comes from visitors: downloads, visits, likes, followers and boosts. It is recalculated every night. How Famous Software Rank works
- Bronze0–19
- Silver20–39
- Gold40–59
- Platinum60–79
- Diamond80–100
Alternatives to LeanCTX
-
17Bronzecodeg 0.52.0
Aggregate and browse AI coding agent sessions (Claude Code, Codex, Gemini CLI, etc.) in one place. Desktop app, self-hosted server, or Docker.
-
17BronzeAmp CLI 0.0.1796572840-gea6091
The frontier coding agent for your terminal and editor.
-
17BronzeBeeper 4.3.386
All your chats in one app. Yes, really.
-
17BronzeCent Browser 5.3.1184.68
The most feature-rich Chromium.
-
17BronzeDiscord Canary 1.0.1392
Your Place to Talk and Hang Out.
Get more downloads for LeanCTX
Free badges, a live rank widget and share links, for the publisher and for everyone who likes the program. Each one links back here, and every visitor it brings counts towards the Famous Software Rank.
Show the live Famous Software Rank
- 👀More exposureEvery visitor the widget sends to your FamousWhy page raises the Famous Software Rank and moves the program up the category lists and the top 10.
- ⬇️More downloads and installsA higher place puts the program in front of more people who came to install something, every day.
- 👥Your visitors bring new usersFans who click the widget can like and boost the program, and every boost lifts it in front of new people.
Share LeanCTX
Post the page on your social accounts or in your newsletter. Visitors who arrive through these links count towards the Famous Software Rank too.
Questions about LeanCTX
Is LeanCTX free?
Yes. LeanCTX is open source and free to use.
Is it safe to download LeanCTX?
You get the official version released by Thinkery AG. FamousWhy doesn’t repackage it or add download managers, toolbars or other offers.
What is the latest version of LeanCTX?
The latest version we know of is 3.12.13, released on December 5, 2026.