frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
308•josharsh•12h ago•140 comments

Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize

https://github.com/DeepMyst/Mysti
141•bahaAbunojaim•4d ago•117 comments

Show HN: InsideStack – Find curated tech articles with semantic search

https://insidestack.it
4•kivarada•1h ago•0 comments

Show HN: Drop-in maps for Markdown and HTML, wrapping leaflet and OSM

https://github.com/cfe84/mapdown
2•charles_f•1h ago•0 comments

Show HN: Witr – Explain why a process is running on your Linux system

https://github.com/pranshuparmar/witr
463•pranshuparmar•1d ago•88 comments

Show HN: AgentFuse – A local circuit breaker to prevent $500 OpenAI bills

https://github.com/AbdulBasitA/agent-fuse
3•abdulbasitali•2h ago•2 comments

Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

https://github.com/valdanylchuk/xcc700
145•isitcontent•1d ago•32 comments

Show HN: I'm 15. I built an offline AI Terminal Agent that fixes errors

https://github.com/TaklaXBR/zai-shell
2•taklaxbr•4h ago•1 comments

Show HN: Jsonic – Python JSON serialization that works

https://medium.com/dev-genius/jsonic-python-serialization-that-just-works-3b38d07c426d
5•orrbenyamini•7h ago•1 comments

Show HN: An immutable ostree-based Arch Linux image

https://github.com/myyc/vyy
6•mxxc•7h ago•6 comments

Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago

https://acadlisp.de/noscript.html
127•holg•1d ago•39 comments

Show HN: PatchMyGear – a living map for your studio gear (cables and checklist)

https://patchmygear.com
2•sumamedi•6h ago•0 comments

Show HN: Workaround for YouTube's "Save to Watch Later" Broken in Firefox

https://gist.github.com/beenotung/6cfb46bd5f4f800ac5393317536714fe
2•aabbcc1241•7h ago•1 comments

Show HN: Feather – a fresh Tcl reimplementation (WASM, Go)

https://www.feather-lang.dev
2•dhamidi•7h ago•0 comments

Show HN: Create old-timey silent-film style caption cards

https://caption.joeldare.com
2•codazoda•8h ago•2 comments

Show HN: Lamp Carousel – DIY kinetic sculpture powered by lamp heat (2024)

https://evan.widloski.com/posts/spinners/
96•Evidlo•3d ago•20 comments

Show HN: Gaming Couch – a local multiplayer party game platform for 8 players

https://gamingcouch.com
427•ChaosOp•6d ago•115 comments

Show HN: GeneGuessr – a daily biology web puzzle

https://geneguessr.brinedew.bio/
86•brinedew•4d ago•20 comments

Show HN: The bedtime, another little bedside clock

https://www.stavros.io/posts/i-made-another-little-bedside-clock/
2•stavros•9h ago•0 comments

Show HN: Mole – Deep clean and optimize your Mac

https://github.com/tw93/Mole
6•orbanlevi•10h ago•0 comments

Show HN: Minimalist editor that lives in browser, stores everything in the URL

https://github.com/antonmedv/textarea
463•medv•3d ago•164 comments

Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator

https://github.com/VibiumDev/vibium
437•hugs•3d ago•122 comments

Show HN: Hybrid-Transpiler – A tool to convert C++ to Rust and Go

https://github.com/cmc-labo/hybrid-transpiler
7•hpscript•1d ago•2 comments

Show HN: CineCLI – Browse and torrent movies directly from your terminal

https://github.com/eyeblech/cinecli
343•samsep10l•4d ago•107 comments

Show HN: Spacelist, a TUI for Aerospace window manager

https://github.com/magicmark/spacelist
4•markl42•22h ago•1 comments

Show HN: Jmail – Google Suite for Epstein files

https://www.jmail.world
1552•lukeigel•1w ago•360 comments

Show HN: Automoderated Anonymous Wall of Messages

https://wall.tulv.in/
5•atulvi•1d ago•3 comments

Show HN: Turn raw HTML into production-ready images for free

https://html2png.dev
151•alvinunreal•3d ago•80 comments

Show HN: I embedded 10M StreetView images

https://view.geospot.sdan.io/
13•sdan•2d ago•5 comments

Show HN: Domain Search MCP – AI-powered domain availability checker

https://github.com/dorukardahan/domain-search-mcp
5•dorukardahan•1d ago•3 comments
Open in hackernews

Show HN: AgentFuse – A local circuit breaker to prevent $500 OpenAI bills

https://github.com/AbdulBasitA/agent-fuse
3•abdulbasitali•2h ago
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.

Comments

dmarwicke•1h ago
had this happen with a retry loop. hit $80 on anthropic before i caught it. how does this handle retries? seems like an agent could just keep retrying and blow past the limit
abdulbasitali•1h ago
That is exactly why we enforce a hard budget cap (default is $1.00).

The system runs a pre-flight check before every LLM call. If you're about to go over budget, it kills the process immediately (SentinelBudgetExceeded).

We don't have a specific "max retries" counter wired up yet, but I'll likely add that soon based on your feedback. For now, the budget cap would have caught it at $1.