AgentCostGuard
Stops an agent that repeats a tool call or overspends. It's for people automating work with AI. There's a free plan, and a paid plan if you need more.
How tests workNo affiliate link on file. Outbound goes to rwachtendorff.github.io. Identity checked December 4, 2026. Score 8/10 is from the run on December 4, 2026.
Grade
We tried it ourselves. Grade A.
- Grade
- A · We tried it
- Score
- 8/10
- Price
- Freemium
Get the test email
AgentCostGuard scored 8/10. Get the next score in one short email. Unsubscribe anytime.
Best for
Jobs people use this for.
Test details
What's new · December 4, 2026Checked December 4, 2026 on https://pypi.org/project/agent-cost-guard/. PyPI lists 0.7.1, MIT, Python 3.9 or newer, with no install dependencies. The project description says reserve_budget reserves a worst-case dollar amount before a provider call, and that agent-cost-guard mcp-proxy wraps a stdio MCP server. The same description still sells an optional Pro pack for $7 once, via PayPal. That pack was not bought. A hands-on score from the same day is on this page and sets the letter. The December 1 run of 0.6.2 scored the same 8/10 and does not set the letter. The run used the local library and did not call a model API.Source
What's new · December 1, 2026Checked December 1, 2026 on https://pypi.org/project/agent-cost-guard/ and https://github.com/rwachtendorff/agent-cost-guard. PyPI lists 0.6.2, MIT, Python 3.9 or newer, with no install dependencies. The README says the library stops a dollar cap, a token cap, identical tool calls, and a two-step oscillation. It also documents an MCP proxy, a local MCP server, and a doctor command. The same README sells an optional Pro pack for $7 once, via PayPal. That pack was not bought. A hands-on score from the same day is on this page. The run used the local library and did not call a model API.Source
A Python library that caps a session in dollars and stops repeated tool calls. PyPI lists version 0.7.1 under MIT. The README also sells an optional pack for $7. A hands-on score from December 4, 2026 is on this page. The December 1 run of 0.6.2 is an additional log and does not set the letter. Neither run called a live model.
Hands-on review · December 4, 2026
TestedA8/10- This December 4 run sets the letter
- The December 1 run of 0.6.2 does not set the letter
- No model API was called
- The $7 Pro pack was not bought
The published score is 8/10, tier A, from the local run of agent-cost-guard 0.7.1 on December 4, 2026. This run sets the letter because 0.7.1 is the version on PyPI. The December 1 run of 0.6.2 also scored 8/10 and does not set the letter. reserve_budget refused a 21st turn and the recorded total stayed $0.048 under a $0.05 cap. record_turn still stopped at $0.0504. The MCP proxy stopped the third identical echo and drop_database before the child ran. Cost $0. No model API was called and the $7 pack was not bought.
Version 0.7.1 held a $0.05 cap at $0.048 with reserve_budget. record_turn still stopped at $0.0504.
- Coverage
- PyPI install of agent-cost-guard 0.7.1. The December 1 loop, budget, and blocked-tool sessions were repeated, plus reserve_budget and a local MCP stdio proxy. No live model was called. This run sets the letter. The December 1 run of 0.6.2 scored the same 8/10 and does not.
- What we tested
- Whether AgentCostGuard 0.7.1 still stops identical tool calls, and whether reserve_budget refuses a turn before a $0.05 cap is crossed.
Method
pip install of agent-cost-guard 0.7.1 on Python 3.12.3. The CLI estimate priced gpt-4o-mini at 800 input and 200 output tokens. record_turn repeated the December 1 loop, the $0.05 budget, and the blocked drop_database call. A fourth session called reserve_budget before each commit. mcp-proxy wrapped a local echo server. doctor was run on this machine. Cost $0. No account. The $7 pack was not bought.
Prompts
- No model prompt. The loop tool arguments were {"url": "https://example.com/status"}. The budget cap was $0.05. reserve_budget used 8000 input tokens and 2000 output tokens.
Measured
- versionagent-cost-guard 0.7.1. CLI --version exit 0 in 0.058 s
- estimategpt-4o-mini 800/200 is $0.000240. The library function returned the same figure
- loopBlocked at step 3. Cumulative cost $0.00072. The blocked turn was recorded at $0.00024
- budgetrecord_turn blocked at step 21. Recorded $0.0504 against a $0.05 cap
- reserveRefused step 21 before commit. Recorded total stayed $0.048
- policydrop_database raised, and the blocked turn was recorded at $0.00024
- proxyThe third identical echo and drop_database never reached the child. Those blocks added $0
- doctorExit 0. Status ACTION_NEEDED. This machine had 0 MCP configs and 0 past sessions. 50 models
- cost_usd0
Pros
- The PyPI install needed no account and no charge
- reserve_budget stopped before the cap and left $0.048 on the ledger
- The MCP proxy stopped a repeated call and a blocked tool before the child process saw them
- The CLI estimate matched the library function
Cons
- record_turn still checks the cap after the turn is added, so that path landed $0.0004 over $0.05
- A blocked record_turn now includes that turn's dollars. On December 1 the blocked turn added $0
- The token counts were supplied by the test. No provider was billed
- doctor had nothing on this machine to audit
- Status
- Hands-on review
- Date
- December 4, 2026
- Time to first output
- —
- Cost
- $0
- Result
- The published score is 8/10, tier A, from the local run of agent-cost-guard 0.7.1 on December 4, 2026. This run sets the letter because 0.7.1 is the version on PyPI. The December 1 run of 0.6.2 also scored 8/10 and does not set the letter. reserve_budget refused a 21st turn and the recorded total stayed $0.048 under a $0.05 cap. record_turn still stopped at $0.0504. The MCP proxy stopped the third identical echo and drop_database before the child ran. Cost $0. No model API was called and the $7 pack was not bought.
- Evidence
- Log linked below
Queued task. On a free local install, record identical tool calls until the guard stops them, then record different calls until a small dollar cap stops them. Log the step, the dollars, and the cost.
Hands-on review · December 1, 2026
TestedA8/10Additional run. This score is published beside the earlier result and does not replace that letter on the tier list.
- No model API was called
- The $7 Pro pack was not bought
- This December 1 run of 0.6.2 does not set the letter.
This December 1 run of agent-cost-guard 0.6.2 scored 8/10 and does not set the letter. The December 4 run of 0.7.1 sets the letter. On this older run the third identical web_fetch was stopped and a $0.05 session ended at $0.0504. The blocked turn added $0. Cost $0. No model API was called and the $7 pack was not bought.
Version 0.6.2 stopped the third identical tool call, and it stopped a $0.05 session at $0.0504. No model was called.
- Coverage
- PyPI install of agent-cost-guard 0.6.2. One loop session, one budget session, and one blocked-tool session. The CLI estimate and doctor commands were run. No live model and no MCP server were wrapped. Additional run of 0.6.2. The December 4 run of 0.7.1 sets the letter.
- What we tested
- Whether AgentCostGuard stops identical tool calls and stops a session once a dollar cap is crossed.
Method
pip install agent-cost-guard on Python 3.12.3. The CLI estimate priced gpt-4o-mini at 800 input and 200 output tokens. A SessionGuard with repeat_tool_threshold 3 recorded the same web_fetch arguments until it raised. A second guard with max_cost_usd 0.05 recorded a different URL each turn until it raised. A third guard listed drop_database as blocked. doctor was run on this machine. Cost $0. No account. The $7 pack was not bought.
Prompts
- No model prompt. The loop tool arguments were {"url": "https://example.com/status"}. The budget cap was $0.05.
Measured
- versionagent-cost-guard 0.6.2. CLI --version exit 0 in 0.052 s
- estimategpt-4o-mini 800/200 is $0.000240. The library function returned the same figure
- loopBlocked at step 3. Cumulative cost stayed $0.00048. The blocked turn added $0
- budgetBlocked at step 21. Recorded $0.0504 against a $0.05 cap
- policydrop_database raised before any tokens were added
- doctorExit 0. Status ACTION_NEEDED. This machine had 0 MCP configs and 0 past sessions
- cost_usd0
Pros
- The PyPI install needed no account and no charge
- The third identical tool call was stopped
- A named tool was blocked with $0 added
- The CLI estimate matched the library function
Cons
- The cap is checked after the turn is added, so the total landed $0.0004 over $0.05
- The token counts were supplied by the test. No provider was billed
- A live MCP server was not wrapped
- doctor had nothing on this machine to audit
FAQ
What does AgentTested say about AgentCostGuard?
Stops an agent that repeats a tool call or overspends. It's for people automating work with AI. There's a free plan, and a paid plan if you need more. We tried it ourselves. Grade A.
How much does AgentCostGuard cost?
Freemium. Checked December 4, 2026 on PyPI. Version 0.7.1 is MIT and installs with pip. The project description sells an optional Pro pack for $7 once, via PayPal. That pack was not bought. No monthly price is listed.
Do sponsors outrank this tool?
No. A sponsored slot is labeled and sold separately from tiers. It cannot move this listing.