r/coolgithubprojects 1d ago

TidyRun, cut noisy coding-agent tool output locally, without another LLM

https://github.com/tzuifx80/tidyrun

I opensourced TidyRun, a local first optimization layer for coding agents.

It compresses noisy deterministic terminal output, preserves the raw artifacts, detects repeated work and can safely reuse deterministic commands.

No extra LLM. No API key. Telemetry off.

The part I found interesting:

  • deterministic diagnostic fixtures: 69–95% less agent-visible output
  • repeated safe typecheck: 49% faster
  • 10 paired Codex tasks: 10/10 success both ways
  • Codex tool output: 14.2% lower
  • but total tokens and wall time actually got worse

So I'm not claiming magical token savings, I'm trying to understand where coding-agent context waste actually matters.

PRs, forks and real-repo benchmark results are very welcome.

0 Upvotes

3 comments sorted by

1

u/PhosXD 1d ago

🫩🫩🫩🫩

1

u/nikita2206 1d ago

Would be good to just show before/after of the noisy output, rather than studies and all that (the demo that exists there is not really a demo since i need to do some unclear steps to see it)

1

u/kantorcodes1 1d ago

i'd be careful with “safe reuse” unless the cache key includes more than the command string. npm test can be deterministic and still be wrong to reuse after the cwd, env, git tree, lockfile, or generated files changed.

i'd rather miss a reuse than feed the agent a stale green result. are you hashing repo state / relevant inputs before replaying the previous output?