How do I see an agent's own log?
Open the agent from Agents and ask for its log. Rarity asks its server for the newest lines the agent wrote, which arrive at the server's next check-in, about half a minute. Some problems show only there, such as a key Anthropic refused.
Logs lists what Rarity and your servers report, such as starts, stops and crashes. The agent's own log is different. It's what the agent itself wrote while it ran, and it stays on your server until you ask for it.
Get it
- Open the agent from Agents.
- Ask for its log. Its server sends the newest lines at its next check-in.
- Read them on the page. Ask again for newer lines.
You can ask once every ten seconds for each agent, once it has been deployed. If its server is offline, the lines arrive once it's back, if that's within a day. After a day the request is dropped, and you can ask again.
What you'll find there
- Anthropic refusing your API key, or your Anthropic account being out of credit. The agent keeps running and tells people in the chat it can't answer right now, so the log is where the reason shows.
- A Discord bot without Message Content Intent, which can't read messages.
- A token or setting the agent can't use, which stops it as soon as it starts.
- The agent's limits being reached, such as its daily budget. See What limits how much an agent spends?
The log holds no message text. It names chats by a stand-in, not their real ids, and every key and token is hidden from it, on the server and again before it reaches you.