AgentGuard
Real-time guardrail that monitors token spend and manages LLM/agent loops in real time
GraphCanon updated Sep 12, 2026 · GitHub synced Sep 12, 2026
55views this month
Decision brief
AgentGuard is a budget-conscious observer for real-time token spending by AI agents and LLMs, integrating with major providers like OpenAI and Anthropic.
Good fit when
- When you need precise control over spend and want live updates on token prices
- For multi-process environments where Redis integration helps manage across processes
Avoid when
- If you prioritize a different language for your project and cannot use JavaScript
- In cases requiring more elaborate fallback mechanisms than what AgentGuard offers
Observed Jul 17, 2026 · Source: enrich:decision_facts
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (173) are secondary evidence.
- npm downloads (30d)
- 33·npm downloads API·Sep 12, 2026
Maintenance and security
Full trust report- Maintenance
- Dormant (407d since push)
- As of Sep 12, 2026
- Provenance
- Not a fork · Personal account
- As of Sep 12, 2026
- Security (OSV)
- 2 low (2 low)
- As of Jul 15, 2026
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
npm install AgentGuard npmSimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
AgentGuard is an application-level monitoring tool written in JavaScript for tracking and controlling the usage of tokens by large language models (LLMs) and AI agents. It provides a budget limit feature to prevent unexpected cost overruns, supports live updates on token pricing, and integrates with various LLM providers including OpenAI and Anthropic.
Capability facts
- MCP server
- No MCP server detected
Source: repo_scan · Sep 12, 2026
- Languages
- javascript
Source: github.language+package.json · Sep 12, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Sep 12, 2026)
npm install agent-guardSource link
Tags
README
1. Install Quick Start Production Deployment Accurate Cost Calculation Real tokenizers : OpenAI's + Anthropic's official tokenizer Live pricing : Fetches current rates from community sources Streaming support : Accumulates tokens from partial responses Multimodal : Handles images...
For agents
This page has a .md twin and JSON over the API.