🪽Hermes Hooks
Also known as Hermes event hooks, Hermes shell hooks
Your own code that Hermes runs at set points, such as before a tool call.
Think of it like
It is like a doorbell that turns on a light when it rings.
Example
Leo adds a shell hook that runs before every tool call. If the command touches his .env file, the hook blocks it.
Why it matters
Hooks let you add your own rules and alerts without changing Hermes itself.
Definition
Common mistake
Key takeaways
- 1Four kinds. Gateway, plugin, shell, webhook.
- 2At set points. Before tools, on messages.
- 3Can block. Not only watch.