Enterprise DNA
M MCP Servers Developer low

bmdhodl/agent47

by Various

Your AI agent just burned $200. AgentGuard stops it at $5. Runtime cost guardrails for AI agents — budget enforcement, loop detection, kill switch. Zero dependencies, MIT licensed.

B

MCP

bmdhodl/agent47

Added 7 June 2026

#agent-safety #ai-agents #ai-cost-management #ai-safety #anthropic #budget-enforcement #budget-guard #coding-agents

Overview

AgentGuard is a Python library that enforces runtime cost guardrails for AI agents. It provides budget enforcement, loop detection, and a kill switch to prevent runaway spending. The tool has zero dependencies and is MIT licensed.

Best for

Best for
Developers building AI agents who need a lightweight, no-frills cost guardrail

Use cases

  • Set a hard budget cap on agent API calls to avoid cost overruns
  • Detect and halt infinite loops in agent execution
  • Implement a kill switch to manually stop an agent mid-task

Notes

AgentGuard is a Python library that enforces runtime cost guardrails for AI agents. It provides budget enforcement, loop detection, and a kill switch to prevent runaway spending. The tool has zero dependencies and is MIT licensed.

3 stars on GitHub. Last updated 2026-06-07. Licensed MIT.

Use cases

  • Set a hard budget cap on agent API calls to avoid cost overruns
  • Detect and halt infinite loops in agent execution
  • Implement a kill switch to manually stop an agent mid-task

Pros

  • Zero dependencies makes it easy to integrate
  • MIT license allows unrestricted use and modification
  • Simple, focused solution for a common cost problem

Cons

  • Limited to Python environments only
  • No built-in monitoring or alerting beyond the kill switch
  • Small community and limited documentation due to low stars

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Zero dependencies makes it easy to integrate
  • MIT license allows unrestricted use and modification
  • Simple, focused solution for a common cost problem

Cons

  • Limited to Python environments only
  • No built-in monitoring or alerting beyond the kill switch
  • Small community and limited documentation due to low stars