hermes-agent/website/docs/guides
Teknium 97990e7ad5
feat: first-class plugin architecture (#1555)
Plugin system for extending Hermes with custom tools, hooks, and
integrations — no source code changes required.

Core system (hermes_cli/plugins.py):
  - Plugin discovery from ~/.hermes/plugins/, .hermes/plugins/, and
    pip entry_points (hermes_agent.plugins group)
  - PluginContext with register_tool() and register_hook()
  - 6 lifecycle hooks: pre/post tool_call, pre/post llm_call,
    on_session_start/end
  - Namespace package handling for relative imports in plugins
  - Graceful error isolation — broken plugins never crash the agent

Integration (model_tools.py):
  - Plugin discovery runs after built-in + MCP tools
  - Plugin tools bypass toolset filter via get_plugin_tool_names()
  - Pre/post tool call hooks fire in handle_function_call()

CLI:
  - /plugins command shows loaded plugins, tool counts, status
  - Added to COMMANDS dict for autocomplete

Docs:
  - Getting started guide (build-a-hermes-plugin.md) — full tutorial
    building a calculator plugin step by step
  - Reference page (features/plugins.md) — quick overview + tables
  - Covers: file structure, schemas, handlers, hooks, data files,
    bundled skills, env var gating, pip distribution, common mistakes

Tests: 16 tests covering discovery, loading, hooks, tool visibility.
2026-03-16 07:17:36 -07:00
..
_category_.json docs: add Guides & Tutorials section, restructure sidebar 2026-03-08 19:37:34 -07:00
build-a-hermes-plugin.md feat: first-class plugin architecture (#1555) 2026-03-16 07:17:36 -07:00
daily-briefing-bot.md docs: clarify gateway service scopes (#1378) 2026-03-14 21:17:41 -07:00
python-library.md docs: add Guides & Tutorials section, restructure sidebar 2026-03-08 19:37:34 -07:00
team-telegram-assistant.md docs: clarify gateway service scopes (#1378) 2026-03-14 21:17:41 -07:00
tips.md docs(soul): add comprehensive SOUL.md guide 2026-03-14 09:37:26 -07:00
use-mcp-with-hermes.md docs(mcp): add comprehensive Hermes MCP docs 2026-03-14 06:36:01 -07:00
use-soul-with-hermes.md docs(soul): add comprehensive SOUL.md guide 2026-03-14 09:37:26 -07:00
use-voice-mode-with-hermes.md docs(voice): add comprehensive voice mode guide 2026-03-14 09:50:45 -07:00