This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Saturday, December 27, 2025
Show HN: AgentFuse – A local circuit breaker to prevent $500 OpenAI bills https://ift.tt/CMV061E
Show HN: AgentFuse – A local circuit breaker to prevent $500 OpenAI bills Hey HN, I’ve been building agents recently, and I hit a problem: I fell asleep while a script was running, and my agent got stuck in a loop. I woke up to a drained OpenAI credit balance. I looked for a tool to prevent this, but most solutions were heavy enterprise proxies or cloud dashboards. I just wanted a simple "fuse" that runs on my laptop and stops the bleeding before it hits the API. So I built AgentFuse. It is a lightweight, local library that acts as a circuit breaker for LLM calls. Drop-in Shim: It wraps the openai client (and supports LangChain) so you don't have to rewrite your agent logic. Local State: It uses SQLite in WAL mode to track spend across multiple concurrent agents/terminal tabs. Hard Limits: It enforces a daily budget (e.g., stops execution at $5.00). It’s open source and available on PyPI (pip install agent-fuse). I’d love feedback on the implementation, specifically the SQLite concurrency logic! I tried to make it as robust as possible without needing a separate server process. https://ift.tt/xreA3WY December 28, 2025 at 12:46AM
Subscribe to:
Post Comments (Atom)
Show HN: ARF – a record format for AI evaluation runs, with reproducible digests https://ift.tt/eCOY5Hy
Show HN: ARF – a record format for AI evaluation runs, with reproducible digests https://www.korvo.xyz/arf August 7, 2026 at 04:55AM
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: Pixel text renderer using CSS linear-gradients (no JavaScript) I've been playing around with rendering pixel text using only CS...
-
Show HN: Total Recall – write-gated memory for Claude Code https://ift.tt/G7AugiK February 6, 2026 at 05:26AM
No comments:
Post a Comment