Skip to content

docs(hooks): tutorial — build a BOOT.md startup checklist#17202

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-e6b8eebe
Apr 29, 2026
Merged

docs(hooks): tutorial — build a BOOT.md startup checklist#17202
teknium1 merged 1 commit into
mainfrom
hermes/hermes-e6b8eebe

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Documents the BOOT.md pattern as a user-built hook so people can still get startup-checklist behavior after we pulled the built-in version (#17093).

Why

The built-in boot-md hook silently spawned a bare AIAgent() on every gateway start, which 401'd against any custom endpoint. We removed it in #17093. This adds the replacement: a step-by-step tutorial in the existing hooks doc showing how to build the same behavior yourself, correctly, using _resolve_gateway_model() + _resolve_runtime_agent_kwargs().

Changes

  • website/docs/user-guide/features/hooks.md: new Tutorial: BOOT.md subsection under Gateway Event Hooks > Examples. Covers writing the checklist, the HOOK.yaml + handler.py scaffolding, runtime resolution, testing, extending the pattern, and a short note explaining why Hermes doesn't ship a built-in anymore.

Validation

  • Code fences balanced (104, verified).
  • handler.py sample compiles (ast.parse clean).
  • Headings well-formed.

Replace the removed built-in boot-md hook (#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.
@teknium1 teknium1 merged commit fe295f9 into main Apr 29, 2026
6 checks passed
@teknium1 teknium1 deleted the hermes/hermes-e6b8eebe branch April 29, 2026 01:27
@alt-glitch alt-glitch added type/docs Documentation improvements P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery labels Apr 29, 2026
donald131 pushed a commit to donald131/hermes-agent that referenced this pull request May 2, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
jsboige pushed a commit to jsboige/hermes-agent that referenced this pull request May 14, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
dannyJ848 pushed a commit to dannyJ848/hermes-agent that referenced this pull request May 17, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…ch#17202)

Replace the removed built-in boot-md hook (NousResearch#17093) with a how-to that
shows users how to wire up the same behavior themselves via the hooks
system. Uses _resolve_gateway_model() + _resolve_runtime_agent_kwargs()
so the example works against custom endpoints and OAuth providers,
not just the aggregator defaults that the old built-in silently assumed.

Co-authored-by: teknium1 <teknium@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants