I built an optimization layer underneath coding agents instead of building another agent
▲ 3 r/OpenaiCodex+2 crossposts

I built an optimization layer underneath coding agents instead of building another agent

There are already enough coding agents.

I was more interested in what happens underneath them.

Agents repeatedly interact with deterministic tools:

tests, typecheckers, linters, file reads, builds, git commands, etc.

Those can produce a lot of low-signal output and repeated work.

So I built TidyRun, an opensource local optimization layer around that part of the loop.

It doesn’t choose what code to write and it doesn’t call another model.

Instead it handles things like:

  • deterministic tool-output compression
  • recoverable raw artifacts
  • safe verified command reuse
  • duplicate-read avoidance
  • large-file guards
  • loop detection
  • incremental test impact

Install:

npx tidyrun@latest init

The result that surprised me:

In a 10-task Codex comparison, TidyRun reduced agent-visible tool output 14.2% with the same 10/10 task success...

...but total tokens and wall time got worse, not better.

So I don’t think “less context = cheaper agent” is as simple as I originally assumed.

I’d like to test the architecture with other agents/workloads rather than optimize to one benchmark.

Where do you think deterministic optimization belongs in an agent stack?

Agent layer? Tool wrapper? MCP? Shell hooks? Somewhere else?

Repo is Apache-2.0; forks/PRs/benchmark results are welcome.

github.com
u/Dismal-Reveal-6898 — 17 hours ago

I got tired of asking Codex to do things that didn't need Codex, so I built this

https://github.com/tzuiffrfe/AI-HQ

I've been using coding agents a lot lately and realized I was doing something pretty dumb: I was sending everything to AI.

git status Git
15% of 80 calculator
run tests test runner

None of that needs an LLM, so I built AI HQ, a little terminal layer that sits in front of my AI workflow and asks:

Do I actually need AI for this?

If yes, it figures out the rest: skill, context, model, verification.

It also ended up with prompt/context optimization, workflow audits, stack advice, plugins, skills and local-model support.

I wanted to see whether the idea actually held up, so I tested it:

Naive workflow: 4/4 deterministic tasks → AI
AI HQ: 0/4
Tools: 4/4 · Skills: 5/5 · Verification: 5/5 · Routing: 7/7

362 tests passing.

I'm not going to claim it “saves 40%” because I haven't measured that properly.

Would you actually want something like this sitting in front of your coding agent, or would it just get in the way?

u/Dismal-Reveal-6898 — 3 days ago

What’s the best AI setup I can get for €20/month?

Hey, I’m trying to find the best AI setup possible for €20/month max.

I use AI a lot for coding, research, learning, brainstorming and building stuff.

Could be one subscription or a combination of different tools.

If you had €20 to spend, what would you get? And how much do you actually use it / do you hit limits?

(could also be a 1 time offer or cheaper with VPN or so)

reddit.com
u/Dismal-Reveal-6898 — 4 days ago

What’s the best AI setup I can get for €20/month?

Hey, I’m trying to find the best AI setup possible for €20/month max.

I use AI a lot for coding, research, learning, brainstorming and building stuff.

Could be one subscription or a combination of different tools.

If you had €20 to spend, what would you get? And how much do you actually use it / do you hit limits?

(could also be a 1 time offer or cheaper with VPN or so)

reddit.com
u/Dismal-Reveal-6898 — 4 days ago
▲ 5 r/cursor

What’s the best AI setup I can get for €20/month?

Hey, I’m trying to find the best AI setup possible for €20/month max.

I use AI a lot for coding, research, learning, brainstorming and building stuff.

Could be one subscription or a combination of different tools.

If you had €20 to spend, what would you get? And how much do you actually use it / do you hit limits?

(could also be a 1 time offer or cheaper with VPN or so)

reddit.com
u/Dismal-Reveal-6898 — 4 days ago
▲ 2 r/IMadeThis+1 crossposts

I built a debate app

I’ve been building SideShift, an app where you choose a side, make your strongest argument and receive a direct rebuttal.

After the debate, SideShift shows:

where your argument held up;

where you lost ground;

your strongest move;

one concrete improvement;

possible common ground.

The app can cover football, gaming, AI, films, school, society and politics.

At first, I kept adding more features: profiles, groups, friend challenges, different modes, statistics and customisation.

But I eventually realised that none of those matter when the first debate itself isn’t compelling enough.

So the entire private beta now revolves around one question:

>

The attached trailer shows the intended experience.

I’m looking for people willing to test the early version critically. I’m especially interested in hearing:

whether the rebuttal responds to your actual point;

whether the result feels useful or generic;

where the experience becomes confusing;

what would make you return the next day.

Would you personally be more interested in debating AI, challenging a friend, or arguing both sides of the same issue?

u/Dismal-Reveal-6898 — 26 days ago
▲ 2 r/cursor

Cursor $20 plan worth it?

Hi! I’m looking for an AI tool to use alongside my $20 ChatGPT Plus plan with Codex. I’m working on two major projects as well as several smaller side projects.

Would Cursor’s $20 plan be the best choice based on its usage limits, coding performance, reliability, and overall value for money? And if not, then what's the best?

reddit.com
u/Dismal-Reveal-6898 — 1 month ago

Best $20 subscription alongside Codex?

I already have ChatGPT Plus + Codex. What’s the best extra subscription for building 2 big projects + side projects

What gives the best quality, usage limits, and value?

reddit.com
u/Dismal-Reveal-6898 — 1 month ago
▲ 2 r/GeminiAI+1 crossposts

Gemini or Chatgpt?

Hi. As the title suggests, I'm considering switching from ChatGPT to Gemini.

I only use the free tier, and ChatGPT has been pretty frustrating lately.

I've tried Gemini a bit, but I'm not a huge fan of the UI, and I'm running into issues with hallucinations and ignored instructions.

Which one would you recommend, and how can I maximize or optimize my experience with them?

reddit.com
u/Dismal-Reveal-6898 — 2 months ago