Why did my agent restart on its own?

Rarity restarts an agent that stops without being asked, so it keeps answering. You'll see the restart in Logs. You can turn this off in the agent's settings with Restart on its own if it stops.

Agents can stop for many reasons, such as an error from the AI provider, the server running out of memory or the server restarting. When that happens, Rarity starts the agent again on its own. An agent that restarts again and again, or ends up Crashed, needs a closer look.

See what happened

  1. Open the agent's page and select the Activity tab, or open Logs, select Filter and tick the agent.
  2. Look at the entries just before the restart. Errors and warnings show what stopped it.

Other restarts you might see

  • Changing an agent's server or AI provider restarts it, so the change takes hold.
  • Updating or reinstalling an agent starts it again when it's done.
  • Restarting a server from your host restarts every agent on it.

Turn it off

Open the agent's Settings tab and turn off Restart on its own if it stops. A stopped agent then stays stopped until you start it.