dipampaul17/AgentGuard

Real-time guardrail that shows token spend & kills runaway LLM/agent loops.

37
/ 100
Emerging

Intercepts all API calls (fetch, axios, undici, got) to track costs from OpenAI, Anthropic, and other providers in real-time, with configurable protection modes ("throw" for recoverable errors, "kill" for immediate termination, "notify" for warnings). Supports multi-process deployments via Redis for shared budget tracking across distributed agents, and integrates with webhooks for Slack/Discord alerts when limits are approached or exceeded.

157 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 15 / 25
Community 10 / 25

How are scores calculated?

Stars

157

Forks

8

Language

JavaScript

License

MIT

Last pushed

Jul 31, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/dipampaul17/AgentGuard"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.