Skip to content
OpenAgentsbeta
yaml
1schema: 1
2name: tool-budget-guard
3owner: openagents
4version: 1.0.0
5kind: harness
6title: Tool Budget Guard
7summary: "Cap an agent's tool calls, tokens, and wall-clock time, with a defined escalation path when a budget runs out"
8license: MIT
9tags: [harness, guardrails, cost, reliability, loops]
10runtimes: [claude-code, codex, openai-agents, langgraph, generic]
11pricing:
12 model: free
13 amount_cents: 0
14 currency: usd
15entry: HARNESS.md
16files:
17 - HARNESS.md
18 - budgets.md
19inputs:
20 - name: max_tool_calls
21 type: number
22 required: false
23 default: 40
24 description: Hard ceiling on tool calls for one task
25 - name: max_wall_clock_s
26 type: number
27 required: false
28 default: 900
29 description: Hard ceiling in seconds for one task
30 - name: on_exhausted
31 type: string
32 required: false
33 default: report
34 description: "report | ask | abort - what to do when a budget is spent"
35requires: []
36

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