Agentic Ledger: Cost Control and Monitoring for AI Agents
说明与用途
Agentic Ledger 是一个用于监控和控制 AI 代理成本的工具。它实时跟踪调用,并在达到支出限制时自动停止代理,从而防止意外的账单。它在本地运行,支持 OpenAI、Anthropic、Azure 和 AWS Bedrock。
问题
AI agents running unsupervised can incur unexpected and high costs (e.g., a $6,000 bill) because there is no mechanism to monitor activity in real-time or enforce spending limits.
结果
The Agentic Ledger provides real-time visibility into AI agent costs and actions, allowing developers to set hard cost limits that automatically stop agents from incurring further charges. It operates locally, ensuring prompts do not leave the machine.
工作流
- Install the tool using pip install agentic-ledger.
- Configure the ledger to intercept calls from supported providers (OpenAI, Anthropic, Azure, AWS Bedrock).
- Set a cost ceiling for specific agent runs.
- Monitor real-time spending and call logs locally.
- Allow the proxy to automatically refuse further calls if the cost limit is hit.
证据
Someone left an AI agent running overnight and woke up to a $6,000 bill. Nothing was watching, and nothing could say no.
When spend hits the number, the proxy refuses the next call. It costs nothing to be told no.
- 记录日期: 2026-09-05T13:16:01.100Z