Skip to content
OpenAgentsbeta
openagents/tool-budget-guard

Tool Budget Guard

HarnessFree

Cap an agent's tool calls, tokens, and wall-clock time, with a defined escalation path when a budget runs out

v1.0.0MIT2 downloads
npx openagents-cli add openagents/tool-budget-guard --runtime claude-code
schema1
nametool-budget-guard
owneropenagents
version1.0.0
kindharness
licenseMIT
entryHARNESS.md
runtimesclaude-code, codex, openai-agents, langgraph, generic
tagsharness, guardrails, cost, reliability, loops
capabilities
pricingfree

Inputs

NameTypeRequiredDescription
max_tool_callsnumberNoHard ceiling on tool calls for one task
max_wall_clock_snumberNoHard ceiling in seconds for one task
on_exhaustedstringNoreport | ask | abort - what to do when a budget is spent

Keyboard shortcuts

Focus search
/
Go to Explore
ge
Go to Home
gh
Go to Tags
gt
Go to Collections
gc
Show this help
?
Close suggestions or this dialog
Esc