hermes-agent/website/docs/guides
Teknium e4aeb65599 feat(webhook): per-route toolset overrides for webhook agent runs
Webhook agent runs default to the constrained hermes-webhook toolset
(web/vision/clarify) because payloads can carry untrusted third-party
content. That default is right for public webhooks but wrong for trusted
local pushes (e.g. an OOM monitor daemon that needs the agent to run
ps/free/py-spy): the only workaround was widening platform_toolsets.webhook,
which elevates EVERY webhook route at once.

This adds a 'toolsets' key on individual webhook route configs (static
routes in config.yaml and dynamic subscriptions in
webhook_subscriptions.json) that replaces the platform-level resolution
for that route only:

- BasePlatformAdapter.toolsets_for_source(): per-source override hook,
  default None (no behavior change for any other platform).
- WebhookAdapter.toolsets_for_source(): maps the session chat_id
  (webhook:{route}:{delivery_id}) back to its route config and returns
  the route's toolsets list.
- GatewayRunner._resolve_enabled_toolsets_for_source(): shared resolver
  used by both agent-run call sites; validates the override through the
  SAME _get_platform_tools path as platform config, so unknown names and
  platform-restricted toolsets (e.g. discord_admin) are dropped rather
  than trusted.

Deliberately NOT exposed via 'hermes webhook subscribe': granting elevated
tools is a manual config edit only, so an agent-created subscription
cannot self-grant terminal at runtime.

Cache-safe: the toolset list is resolved before agent construction and is
constant for a route, so the per-session agent signature and frozen system
prompt are unaffected mid-conversation.
2026-08-13 01:51:19 -07:00
..
_category_.json
agent-email-address.md
automate-with-cron.md
automation-blueprints.md
aws-bedrock.md
azure-foundry.md
cron-script-only.md
cron-troubleshooting.md
daily-briefing-bot.md
delegation-patterns.md
desktop-native-signin.md
github-pr-review-agent.md
google-gemini.md
google-vertex.md
local-llm-on-mac.md
local-ollama-setup.md
microsoft-graph-app-registration.md
migrate-from-openclaw.md
minimax-oauth.md
oauth-over-ssh.md
operate-teams-meeting-pipeline.md
pipe-script-output.md
python-library.md
run-hermes-with-nous-portal.md
run-nemotron-3-ultra-free.md
secure-hermes-on-a-work-machine.md
team-telegram-assistant.md
tips.md
troubleshooting-agent-quality.md
use-mcp-with-hermes.md
use-soul-with-hermes.md
use-voice-mode-with-hermes.md feat(voice): add configurable TUI draft submission 2026-08-12 16:42:07 -07:00
webhook-github-pr-review.md feat(webhook): per-route toolset overrides for webhook agent runs 2026-08-13 01:51:19 -07:00
work-with-skills.md
xai-grok-oauth.md