Back to AI Q&A
Where can I see the Hermes Agent logs? hermes logs, errors.log, and troubleshooting order

Where can I see the Hermes Agent logs? hermes logs, errors.log, and troubleshooting order

AI Q&A Admin 500 views

The logs of the Hermes Agent are mainly for ~/.hermes/logs/ and hermes logs. After v0.8.0 centralizes logs, common troubleshooting does not need to be flipped everywhere: generally look at the errors.log first, then look at the agent.log, and then look at the gateway-related logs if it is a messaging platform problem.

How to use the three log entries

entranceWhat is suitable for troubleshooting
hermes logsQuick tail, filter the recent running status
errors.logStartup failure, tool error, and configuration error
agent.logModel calls, tool executions, and session flows
gateway logTelegram, Discord, Slack, Webhook sending and receiving issues

Recommended troubleshooting order

  1. Reproduce the problem first, don't change the configuration based on impressions alone.
  2. Run hermes logs to see recent errors.
  3. If it fails at the start-up stage, run hermes config check first.
  4. If the gateway does not reply to the message, see the platform token, allowlist, channel permissions, and gateway logs.
  5. If the model is slow or failing, see provider, model name, 429/402/authentication error.

Don't post any logs

While Hermes Agent will do secrets redaction, you should still check it before sending it to the community or colleagues, especially the URL query, headers, platform token, private file path, and user ID. If you can post the error type and the last few dozen lines, don't post the entire log.

A tip: save the error log fragment before changing the configuration, and then compare whether the same task is shorter and whether there are fewer similar errors. This makes it easier to find the real reason than "reinstall".

Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.

Recommended Tools

More