Show HN: AgentGuard – Auto-kill AI agents before they burn through your budget

Your AI agent hits an infinite loop and racks up $2000 in API charges overnight. This happens weekly to AI developers.

AgentGuard monitors API calls in real-time and automatically kills your process when it hits your budget limit.

How it works:

Add 2 lines to any AI project:

  const agentGuard = require('agent-guard');
  await agentGuard.init({ limit: 50 }); // $50 budget
  // Your existing code runs unchanged
  const response = await openai.chat.completions.create({...})

Search