Use case · Workflow automation

Every tool call becomes model input.

LeanCTX normalizes, compresses and audits the tool output your automations feed to models: 95+ shell patterns, provider connectors for GitHub, GitLab, Jira and Postgres, composable context via ctx_compose, and a complete audit trail. Pipelines get cheaper, deterministic and reviewable.

Same engine. Different workflow. Always the right context.

What it costs you today.

CI logs torch your budget

A failing pipeline dumps megabytes of logs into your triage agent. The signal is three lines; you pay for all of them.

Each integration is bespoke

Jira here, GitHub there, a database somewhere. Every workflow glues its own fetch-and-paste code with no shared layer.

Nobody can audit what agents saw

When an automation acts on stale or wrong context, you need to know exactly what it read. Most stacks can’t answer that.

The capabilities that do the work.

Everything below ships in the open-source binary today. No roadmap items, no waitlists.

Your toolsLeanCTXModel

95+ shell patterns

cargo, npm, docker, terraform, pytest… 88–99% smaller output

Provider pipeline

GitHub, GitLab, Jira, Postgres and REST sources, one consolidation path

ctx_compose

assemble task-scoped context packs deterministically

Audit trail

every read, command and saving is recorded locally

Budgets

per-role token budgets keep pipelines inside limits

From zero to first gain.

terminal
# compress any command in a pipeline$ lean-ctx -c "npm test"
# works for builds, containers, terraform…$ lean-ctx -c "docker compose up --build"
# review what your automation consumed and saved$ lean-ctx savings summary
# reproducible savings + recall + latency scorecard$ lean-ctx benchmark scorecard

Questions teams ask before adopting.

Take back control of your context.

Free for local use, forever. CI enforces it. One binary, ten minutes to the first measured gain.

Support this project