Back to AI Q&A
Hermes Agent long mission not reminded? You can add task reminder hooks

Hermes Agent long mission not reminded? You can add task reminder hooks

AI Q&A Admin 63 views

Hermes Agent has long tasks running for a long time without reminders, so you don't have to wait for built-in notifications to cover all scenarios. The official Hooks documentation already gives a ready-made idea: use the agent:step event to make a long-task-alert hook, and push a message to Telegram when the threshold is reached.

What scenario is it suitable for

If you often let Hermes Agent run multi-step tasks in the gateway, read a lot of files, and do automation links, this type of hook is more stable than "staring at the results of the chat window, etc."

Shortest configuration idea

  1. Decentralize HOOK.yaml and handler.py in ~/.hermes/hooks/long-task-alert/.
  2. Listen agent:step.
  3. When you reach 10 steps or you customize the threshold, use the Telegram Bot API to send a reminder.

In a word: long tasks are not reminded, and you don't have to wait for the official to add buttons; Hermes Agent already provides a hook mechanism for you to fill in on your own.

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

Recommended Tools

More