Add agent-cost-guardrails - #48
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe README adds an ChangesTool listing
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Line 57: Update the agent-cost-guardrails README description to replace
“per-run token caps” with wording that accurately states support for per-call
token limits and rate limits; do not claim cumulative per-run token limits
unless the implementation and documentation support them.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
PierrunoYT
left a comment
There was a problem hiding this comment.
Thanks for the submission. The library qualifies, but “framework-native” overstates the relationship: these are third-party adapters. The cumulative budget is also process-local middleware, not a provider-side spending cap, and pre-call enforcement depends on token estimates.
Suggested replacement:
agent-cost-guardrails - Python budget tracking and circuit-breaker middleware with adapters for CrewAI, AutoGen/AG2, and LangGraph; checks estimated tokens before calls and records actual token cost after responses.
|
Thanks for the detailed feedback! Updated the description to use your suggested wording:
Committed in bf3beb6. |
|
Just a gentle ping — the description has been updated in bf3beb6 to use your suggested wording. Happy to make any further adjustments if needed! |
|
Friendly bump — the description was updated in bf3beb6 on 2026-08-04 to match your suggested wording exactly. CodeRabbit's latest pass shows no actionable comments. Let me know if there's anything else needed! |
Adds agent-cost-guardrails — framework-native budget limits and circuit breakers for CrewAI, AutoGen, and LangGraph agents. Enforces per-run token caps and cost thresholds without manual monitoring. Alphabetically placed between agentbox and agent-deck.
Summary by CodeRabbit
agent-cost-guardrailstool entry.