Built a BYOK API gateway after getting an unexpected bill from an overnight agent run — hard budget enforcement at the infra layer, not just alerts. Been running it myself for ~10 months, just opened it up.
HN user
qzira
qzira.com
That's a very real concern. For a long time programming felt like a craft: you build something, run it, improve it. Agent workflows introduce a different kind of work. You're not just building anymore, you're supervising. Some people enjoy that shift toward orchestration. Others really don't. I suspect we'll eventually see tools that try to restore the "build and run" feeling instead of turning developers into supervisors.
That's a really good analogy. The interesting part is that the "intern" is not only fast, but also extremely confident. A human intern usually hesitates, asks questions, or signals uncertainty when they are unsure. Agents often produce very clean-looking output even when the reasoning behind it is shaky. So part of the supervision isn't just checking the result, but trying to detect when the confidence is misleading.
I think a lot of people feel this tension. Programming used to be mostly about building things directly. You write code, run it, fix it, repeat. With agents it starts to shift toward supervision: define the task, watch the output, correct the drift. It's a different kind of work. Sometimes it feels less like programming and more like managing a very fast team that never gets tired but also never really understands the goal unless you spell it out extremely carefully. I suspect a lot of developers still enjoy the "building" part more than the "supervising" part.
When people talk about AI increasing developer productivity, they usually focus on the coding part. In my experience, the bigger change happens after the code is written. When you move from writing code to supervising agents, your output increases — but your cognitive load increases too. Instead of writing every line yourself, you're now monitoring systems: Did the agent go off-script? Did it retry 50 times while I was asleep? What did that run actually cost? The strange part is that the mental burden doesn't disappear just because the agent is autonomous. In some ways it gets worse, because failures become harder to notice early and harder to contain once they start. It starts to feel less like programming and more like running operations for a team of extremely fast, extremely literal junior developers. Curious if others are seeing the same shift.
Exactly! The feeling of creating something just because you want to, not because you have to, is rare. It's worth holding onto.
This resonates. The emotional side of returning to coding is real.
With Claude Code specifically, I've noticed that the longer it runs autonomously, the more cost anxiety creeps in. You stop thinking about the problem and start watching the token counter.
What finally let me stop worrying and just build again was building a hard budget limit outside the app — not just alerts, but an actual kill switch.
Glad you found the spark. It's worth protecting.
One thing I've noticed when running Claude Code in production is that the choice of tools matters less than the cost controls around them.
Claude Code can generate surprisingly large API bills when running autonomously overnight. I ended up building a separate gateway layer specifically to enforce budget caps before requests hit the provider — not just alerts, but hard stops.
Knowing that it can't exceed your budget regardless of what it picks makes the 'what tools does it choose' question a lot less stressful.
This matches what I observed running AI agents overnight for content generation. The temptation is always to add cost controls inside the application — but that logic doesn't survive when the agent goes off-script.
The fear of a 3am runaway was real enough that I ended up building a separate gateway layer just to have a kill switch that lives outside the application entirely.
"Build vs Buy" is the right framing, but for cost enforcement and kill switches specifically — building it inside the app is exactly the wrong layer.