reaatech/agent-budget-controller
These packages give you a real-time budget enforcement layer for LLM-powered agents that checks every request against per-task, per-user, per-session, or per-organization spend limits before it executes. You'd adopt them to prevent runaway agent loops from exhausting your LLM budget in minutes, with graceful degradation like model downgrades and tool filtering before a hard stop. The system is built as a set of composable packages—a core engine with a state machine, a circular-buffer spend tracker, pricing tables, and optional integrations for Express/Fastify middleware, an LLM Router plugin, and an OpenTelemetry bridge that automatically records GenAI spans as spend entries.
Packages
8 packages
@reaatech/agent-budget-cli
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-engine
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-llm-router-plugin
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-middleware
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-otel-bridge
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-pricing
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-spend-tracker
- status
- published
- published
- 2 days ago
@reaatech/agent-budget-types
- status
- published
- published
- 2 days ago
Comments
Sign in with GitHub to comment and vote.
