As autonomous AI agents get access to payment APIs, cloud infrastructure, and production databases, text-level moderation isn't enough. A runaway loop, prompt injection, or unapproved spend can cause real damage in seconds.
I built AgentPulse — an open-source (MIT) pre-execution guardrail engine and spend-control proxy that sits between an agent's proposed tool call and real execution, evaluating policies in under 1 millisecond (<1ms) without adding another LLM call.
Why Pre-Execution Enforcement Matters
Most guardrails inspect outputs or log events after something happens. AgentPulse acts like a CFO + Firewall before any tool executes:
- Spend Control & Escrow Holds: Enforces budget caps and places funds/actions on escrow hold when thresholds are exceeded so risky spend cannot proceed without approval.
- <1ms 7-Gate Firewall: Runs deterministic policy checks directly in code in sub-millisecond time—zero extra model latency and zero extra LLM token cost.
- Prompt-Injection & PII Redaction: Detects risky injection patterns and redacts sensitive secrets/PII before payloads leave your boundary.
- Burst & Loop Circuit Breaker: Stops runaway retry/tool loops before they burn through API quotas or budgets.
- 1-Click Human-in-the-Loop & Webhooks: Routes high-risk or over-threshold actions for human sign-off via dashboard or webhook.
Live Demo & Source Code
- Live Demo: https://agentpulse.onrender.com
- GitHub (MIT License): https://github.com/Meye277/agentpulse
I'd love feedback from builders running tool-using agents in production: what's the riskiest tool call or failure mode you've had to guard against?
