Added Hermes Agent + Codex CLI providers (multi-provider runtime support) — PR #383 #384
josephndex
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey! Big fan of this project — the
HookProviderboundary is genuinely clean to extend, so I built out two more integrations on top of it: Codex CLI and Hermes Agent (an open-source agent I use daily).Quick summary of what each one needed, in case it's useful context for review:
~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl). I added an in-process tailer that reads that and re-emits it through the existingPOST /api/hooks/:providerIdingress — same pipeline every other provider uses, just fed from a file instead of a live hook callback.ctx.register_hook()), so the integration installs a small stdlib-only Python plugin and enables it via Hermes's ownhermes plugins enableCLI.Since
AgentRuntimewas hardcoded to exactly one provider at construction, I extended it to acceptproviders: HookProvider[]and run oneHookEventHandlerper provider, all sharing oneAgentStateStore— so all three now render in the same office simultaneously, each tagged by which CLI they came from.377 existing tests pass unmodified (proving Claude support has zero regressions), plus 42 new tests for the multi-provider routing and the two new providers.
PR: #383 — happy to adjust scope/tests/anything based on what maintainers want before merge. Thanks for building something this pleasant to extend!
All reactions