Skip to main content

Agent limits

Agent limits cap how much each user can ask of your agents: they protect against runaway scripts, message spam and unexpected costs.

These limits count requests. To cap the tokens or the euros each user consumes, use the quotas and budgets of the AI Gateway: they apply to agent chat too.

Before you start​

  • Only organization administrators can change agent limits.

Steps​

  1. On the Organization side, open Settings, then Agent limits.
  2. Turn on Enable limits.
  3. Set, as positive whole numbers:
    • Concurrent turns / user: how many replies a user can have running at once;
    • New conversations / minute / user;
    • Messages / minute / user / agent.
  4. Save.

Result​

When a user reaches a limit, the chat shows how long to wait, for example "Too many requests. Try again in 30s.", and a counter next to the message box shows the messages left. Rejections appear in each agent's metrics, under Rate limiting.

If something goes wrong​

  • "Each value must be a positive integer.": enter whole numbers greater than zero.
  • Users are blocked too often: raise Messages / minute / user / agent, or check the agent metrics to see which limit they hit.