feat(cli): add Hermes agent backend - #342
Open
rquezada-tech wants to merge 1 commit into
Open
Conversation
Add Hermes (Nous Research) as a supported agent runtime alongside Claude Code, Codex, and OpenCode. - New HermesBackend class in src/cli/daemon/agent/hermes.ts - Spawns 'hermes chat -Q -q <prompt>' for non-interactive task execution - Parses session_id from stdout for session tracking - Supports --model flag passthrough and HERMES_PROFILE env var - Registered in createBackend() factory and detectRuntimes() - Updated README BYO Agent table: Hermes -> Available - 26 new tests (parseLine, backend integration, factory registration) Lifecycle: per_turn (each task spawns a fresh Hermes process). Stdin steering and busy-delivery modes are not supported in this initial version -- these require a streaming structured-output mode from Hermes CLI, which can be added in a future update.
rquezada-tech
force-pushed
the
feat/hermes-agent-backend
branch
from
July 6, 2026 19:12
fd2cebe to
3f081a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Hermes Agent by Nous Research as a supported agent runtime alongside Claude Code, Codex, and OpenCode.
What changed
HermesBackendclass insrc/cli/daemon/agent/hermes.ts— spawnshermes chat -Q -q <prompt>for non-interactive task executionsession_idfrom stdout for session tracking (Hermes outputs this as first line in quiet mode)--modelflag passthrough andHERMES_PROFILEenv var for profile-based executioncreateBackend()factory anddetectRuntimes()Design decisions
--output-format stream-jsonor Codex's JSON-RPC transport.busyDeliveryMode: "none"andsupportsStdinNotification: false.Test plan
pnpm typecheck)Screenshots
N/A — backend change only.
Closes #N/A (new feature, no existing issue)