-
-
Notifications
You must be signed in to change notification settings - Fork 53k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
Currently, clawdbot does not support configuring rate limits at the agent level in the configuration file. While global commands settings and other agent-specific configurations exist, there is no way to apply rate limiting restrictions to individual agents.
Desired Behavior
I would like to add support for rateLimits configuration on individual agents, similar to how commands, sandbox, and tools are configured:
{
"id": "discord-egon",
"model": {
"primary": "mistral/mistral-large-latest"
},
"rateLimits": {
"requestsPerMinute": 20,
"tokensPerMinute": 100
},
"tools": {
"deny": ["group:web", "browser", "exec"]
},
"sandbox": {
"mode": "all"
}
}Use Cases
- Cost Control: Limit tokens per minute for expensive models
- Rate Limiting: Prevent aggressive API usage for specific agents
- Discord Bot Management: Control bot response frequency
- Multi-Agent Systems: Different rate limits for different agents
Technical Context
Currently, commands, tools, sandbox can be configured per-agent. rateLimits should follow the same pattern for consistency.
Environment
- clawdbot version: 2026.1.24-3
- Use case: Discord bot with Mistral model and Groq fallback
Additional Notes
Agent-level rate limiting would provide fine-grained control over resource usage in multi-agent deployments.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request