sahiljagtap08 / agentbudget
PublicAgentBudget is the ulimit for AI agents. Just like Unix systems have ulimit to prevent a single process from consuming all system resources, AgentBudget prevents a single agent session from consuming your entire AI budget.
AgentBudget is an open-source Python library for enforcing real-time dollar spending limits on AI agent sessions across multiple LLM providers and tools.
How It Works
You learn about a handy tool that keeps AI helpers from spending too much money unexpectedly.
You simply include this cost-watching helper in your project with one easy step.
You choose a total budget like $5.00 so your AI stays within what you can afford.
Your AI agent does its work just like always, but now safely watches every expense.
You check real-time totals, remaining funds, and details on what's costing money.
If the limit nears, it warns you and stops to prevent any overspending.
You receive a clear summary of all costs, knowing everything stayed under budget.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.