llm-budget
llm-budget is an AI agent budget control library written in Rust that provides hard dollar caps for agent calls. It prices each call according to a price table with dates and source citations, reserves cost before the call based on the worst case, rejects calls that would exceed the budget or cannot be priced precisely, and supports a unified cap for an entire agent cluster, a one-switch kill switch, and degradation to a cheaper model when the balance is insufficient.