// devtools · yvgude/lean-ctx

lean-ctx

lean-ctx — проект с открытым исходным кодом из категории «Инструменты разработчика» от yvgude (yvgude/lean-ctx на GitHub). У него 3 870 звёзд на GitHub и 351 форк, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 8 октября 2026.

LeanCTX — the Rust context gateway that controls what your AI coding tools can see.

★ 3,9 тыс. звёзд⑂ 351 форкApache-2.0обновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
yvgude/lean-ctx
Звёзды GitHub
3 870
Форки
351
Лицензия
Apache-2.0
Последнее обновление на GitHub
8 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide the first concrete outcome you want from it, so you can pick the right example, template or mode instead of exploring everything at once.

  2. Get the project

    Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.

  3. Install and configure

    Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.

  4. Run your first task

    Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.

// возможности

Почему его любят

Context compression

16 read modes (full, map, signatures, diff, density and more), 85+ shell-output compression patterns and cached re-reads that return compact references.

Intelligent triage

An IntentEngine classifies query complexity and a ModePredictor learns the best read mode per file type, so simple lookups stay cheap.

Knowledge routing

Session memory, a temporal knowledge graph and a property graph of imports/calls/exports power impact analysis and search ranking.

Controls and governance

Configured path permissions, content filters and context budgets applied before delivery, with per-agent budgets and throttling profiles.

Cost intelligence

Local token/cost tracking, Shadow Mode savings estimates and CPAO (cost per accepted outcome) reporting via lean-ctx savings.

Inspectable proof

ctx_proof / ctx_verify export an audit trail of sources, policy decisions and pipeline provenance.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Get the source so you can inspect, configure and run it locally.

    git clone https://github.com/yvgude/lean-ctx.git
    cd lean-ctx
  2. Set up your AI tool integration

    After installing LeanCTX (see the README install matrix for your platform), configure a supported integration.

    lean-ctx setup  # see README for the exact install command for your platform
  3. Track value

    Enable Shadow Mode, work normally, then check what LeanCTX saved.

    lean-ctx config set shadow.enabled true
    lean-ctx savings
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains lean-ctx?

It is maintained by yvgude on GitHub (yvgude/lean-ctx), where the source, issues and releases live.

Is it free to use?

Yes — it is free and open source under Apache-2.0, which permits use, modification and commercial redistribution, with licence/notice retention.

Does it need a paid API key?

No LLM API key of its own — LeanCTX prepares context locally; your existing AI tool keeps using its own model and key.

How does it compare to raw MCP filesystem servers or manual context stuffing?

Compared with raw MCP filesystem servers or manual context stuffing, lean-ctx's distinguishing focus is: leanCTX — the Rust context gateway that controls what your AI coding tools can see. Pick it when that focus matches your need; the alternative may suit you better if its broader or different scope is the priority.

How do I get started?

Clone https://github.com/yvgude/lean-ctx (or install its published package), follow the README quick start to install and configure it, then run the smallest documented example — the Run section on this page mirrors those steps.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

ctx

Hunt down the lowest-cost AI coding setup your repo can rely on.

★ 588 звёздMIT
Смотреть руководство →
Инструменты разработчика

agentacct

See what your coding agents did — and what each task cost in tokens.

★ 763 звездыMIT
Смотреть руководство →
Инструменты разработчика

context-mode

Context optimization for coding agents: sandbox tool output, keep sessions lean, remember more

★ 25,7 тыс. звёздElastic License 2.0
Смотреть руководство →
Инструменты разработчика

context-engineering-intro

Context engineering is the new vibe coding - it's the way to actually make AI coding assistants work. Claude Code is the best for this so that's what this re…

★ 13,9 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

InsForge

All-in-one open-source backend for agentic coding: database, auth, storage, hosting and AI gateway.

★ 13,1 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

GrapeRoot

MCP graph engine that compounds context across AI coding assistants.

★ 1,0 тыс. звёздApache-2.0
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если lean-ctx вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к lean-ctx — продолжайте изучать полку по обе стороны от него.

Получить lean-ctx

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.