Experiment - Rate limiting and budget controls
Problem:You have an AI agent that makes API calls to external services. The agent currently makes too many calls, exceeding the allowed rate limit and budget, causing service interruptions and extra costs.
Current Metrics:API calls per minute: 120 (limit is 60), Monthly cost: $300 (budget is $150), Number of failed calls due to rate limit: 30%
Issue:The agent is overusing API calls, causing rate limit errors and exceeding the budget.
