How-To Series · Episode 44 / 59 · Module 7: Power Tools
Hermes · Build a Plugin
Two files. That's a plugin.
After this videoYou can now extend Hermes with your own tools and integrations.
A plugin is a folder in ~/.hermes/plugins/<name>/ with a tiny plugin.yaml manifest (name/version/description) and Python. The heart is a register(ctx) function; Hermes hands it a context object you use to wire things up. A tool is two halves: a schema (the JSON the model sees) and a handler (the Python that runs), connected with ctx.register_tool(...). In the same function, ctx.register_hook("post_tool_call", cb) adds a lifecycle hook. The context also registers slash commands, CLI subcommands, skills, and whole platforms. Plugins are opt-in: hermes plugins enable <name>, restart, then ask the model to use your tool and /plugins confirms it loaded.
About these resources. Every command in this video comes from the Plugins doc and the Build a Hermes Plugin guide.
Sources · What this video distills
2 docs pages · every command below traces to one of themCommands shown · Copy and paste
each shows the source doc it came fromctx.register_tool(name=..., toolset=..., schema=..., handler=...)ctx.register_hook("post_tool_call", callback)hermes plugins enable hello-world · /pluginsGoing deeper · Related Hermes docs
further reading · not sources of facts shown aboveNext in the series · Episodes that build on this
E43
Built-In Plugins Tour
E42
Connect Anything With MCP
E40
Event Hooks