Show HN: Circuit Breaker – runtime cost ceilings for AI agents
Category: library
Tags: ai-agents, circuit-breaker, cost-control
Score: 7.0/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 7)
A TypeScript library that provides a circuit breaker pattern tailored for AI agents, offering token budget guarding and loop/killer detection to prevent runaway execution costs. Its modular design with adapters for LangChain, OpenAI Agents SDK, and Claude Agent SDK makes it a practical and timely tool for developers building agentic systems.
Target audience: backend devs
Repository: https://github.com/MonetiseBG/circuit-breaker · TypeScript · Apache-2.0 · 16 stars
View on Hacker News