AgentGuard
github.com · Open source · Quiet
Budget guardrail that stops runaway LLM API spending in JavaScript
- AI & agents
- Open source
- JavaScript
- Day-7 check
- Day-30 check
- Stars
- 174
- Forks
- 10
- Open issues
- 2
- Last commit
- Found
- 16 months ago
GitHub figures as of . They are context, not a ranking.
AgentGuard is a JavaScript library that tracks LLM API costs in real time and stops a process once it reaches a spending limit set by the developer. It is meant to catch runaway agent loops and prints a summary of what was spent when it halts.
Repository description on GitHub: “Real-time guardrail that shows token spend & kills runaway LLM/agent loops.”
What it does
- Tracks LLM API costs in real time
- Stops a process once it reaches a spending limit set by the developer
- Prints a summary of what was spent when it halts
Good for
- Cap spending on an agent loop that calls OpenAI or Anthropic APIs
- Set a dollar limit on a script that calls paid LLM APIs
Suits: Developers running AI agents that call paid LLM APIs.
What you can try
Read the README on GitHub and install from source.
Install
npm install agent-guardTaken from the project’s README. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw AgentGuard on , when dipampaul17 posted it to Show HN. GitHub listed no published releases for dipampaul17/AgentGuard when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 47 points, 26 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 47 points, 26 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: dipampaul17/AgentGuard
- Found: dipampaul17 posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was AgentGuard released?
- No dated release record is available. Kip found it on Show HN on 31 Jul 2025.
- Is AgentGuard open source?
- Its source is public on GitHub at dipampaul17/AgentGuard under the MIT licence.
- What does AgentGuard run on?
- Library.
- Is AgentGuard free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is AgentGuard still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | dipampaul17/AgentGuard REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-44742710. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.