News for hackers. Stuff that matters.

mej2020

Re:Ask HN: How are you monitoring AI agents in production? on Wednesday March 11, 2026 @04:39PM (#47341291)
We built Lava to handle the surprise bills part. It has two products that work well for agents. The gateway is a proxy you point your agent at instead of calling APIs directly, and every request gets logged with usage and costs automatically. Spend keys are pre-funded API keys with hard spend limits, so you can hand one to an agent and it physically can't exceed the budget you set. Only posting because I think it could be helpful for what you are describing!

Show HN: I lost $200 from an agent loop, so I built per-tool AI budget controls

https://www.lava.so/products/ai-spend

I left an agent running before bed. It got stuck in a loop. By morning it had burned through $200 in LLM calls.That was the breaking point, but the real problem had been building for a while. I use tools like OpenClaw and Cursor daily, each hitting various AI providers. But I had no idea what each tool was actually costing me. One shared key across everything, no per-tool visibility, no way to...

( Read More... | 2 comments | on HN )