Representation
Compare source and output with one tokenizer. Record read mode, omissions and recovery to measure input reduction.
Benchmarks & methodology
Compare input, runtime effort and task quality. Use a reproducible baseline to evaluate LeanCTX on your own work.
Three different questions
Judge the context representation, the cost of preparing it and the completed task separately.
Compare source and output with one tokenizer. Record read mode, omissions and recovery to measure input reduction.
Count preparation time, tool overhead, model input and output, retries and cache effects. Separate observed cost from estimates and unknowns.
Use the same task and acceptance criteria. Tests and review show whether the delivered context was enough.
Your repository
Compare context representations on your files. Save the result with the runtime version and repository revision.
lean-ctx --version
lean-ctx benchmark run . --json
lean-ctx benchmark report .These commands inspect your project. They do not run a controlled end-to-end agent experiment or establish answer quality.
From diagnostics to a decision
Read the evidence
Preserved code structure is useful evidence, but it does not establish a correct answer or a safe change. Verify the result against the original material.
Start with LeanCTX
Set up LeanCTX for your tool and evaluate the difference on a real task.
Local-first. Model-agnostic. Your context.
Cookie settings
Your privacy. Your choice.
We count public page requests without tracking cookies or visitor IDs. Essential only also disables this server statistic for future requests. With your permission, PostHog measures clicks and reading activity. Masked recordings need a separate choice. No advertising.
Essential
Theme, consent choice and account functionality.
Cookieless server statistics
Hourly request counts, without visitor recognition. Your refusal is stored as an essential preference.
Analytics
Optional page analytics · PostHog on our server. Off until you allow it.
Session recordings
Optional replay of public-page interactions, with text and inputs masked. Requires analytics.
Your browser requests privacy protection. Analytics and recordings stay off.
Change your choice anytime in Cookie settings.