Why does my agent keep stopping?
An agent usually stops because its AI provider refused a request, its server ran short of memory or storage, or its server went offline. Its Activity tab shows the errors just before it stopped. Fix the cause, then restart it, and reinstall it if that doesn't help.
Rarity restarts an agent that stops. When it stops again and again, or shows Crashed, something keeps knocking it over. Work through these in order.
Read the last errors
Open the agent's page and select the Activity tab, or open Logs, select Filter and tick the agent and Errors. The entries just before each stop usually name the cause.
An error from the AI provider
- The key may have been deleted at your provider, or be wrong. Connect a new one.
- Your provider account may have reached a spending limit, run out of prepaid balance or had a payment fail. Check your account at the provider.
- Your provider may be limiting how fast you can send requests. Waiting a little, or raising the limit with your provider, helps.
The server is running short
Open the server's page in Servers and read its figures. If memory or storage is near full, free up space, move an agent to another server on its Settings tab, or move to a bigger server at your host.
The server went offline
If the server shows Offline, its agents stop until it's back.
Restart, then reinstall
- Once you've fixed the cause, select Restart on the agent's page.
- If it still stops, open its menu and select Reinstall. It installs again from scratch and keeps its name, instructions and bots.
- If it still stops after that, open a ticket in Support with the agent's name and the time of the last error.