Repository navigation
Conversation
📝 WalkthroughWalkthroughAdds Hermes as a built-in terminal agent with metadata, execution and prompt commands, and inclusion in default terminal presets. ChangesHermes agent
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryRegisters Nous Research's Hermes Agent as a new builtin terminal agent in
Confidence Score: 5/5Safe to merge — the change is a single additive entry in a well-established registry, and the CLI flags are verified against the official Hermes documentation. The change follows the exact same shape as every other agent in the list, the No files require special attention.
|
| Filename | Overview |
|---|---|
| packages/shared/src/builtin-terminal-agents.ts | Adds Hermes as a builtin terminal agent with correct CLI flags (hermes --yolo for interactive, hermes chat --yolo -q for prompt mode); follows the established pattern for all other agents in the list. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User opens Settings → Agents] --> B{Agent list}
B --> C[Default presets\nincludeInDefaultTerminalPresets: true]
C --> D[claude, amp, codex, gemini,\ncopilot, vibe, kimi, hermes]
D --> E{Launch mode}
E -->|Interactive| F["hermes --yolo"]
E -->|Prompt launch| G["hermes chat --yolo -q <prompt>"]
F --> H[YOLO mode active\nAll dangerous command\napprovals bypassed]
G --> H
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[User opens Settings → Agents] --> B{Agent list}
B --> C[Default presets\nincludeInDefaultTerminalPresets: true]
C --> D[claude, amp, codex, gemini,\ncopilot, vibe, kimi, hermes]
D --> E{Launch mode}
E -->|Interactive| F["hermes --yolo"]
E -->|Prompt launch| G["hermes chat --yolo -q <prompt>"]
F --> H[YOLO mode active\nAll dangerous command\napprovals bypassed]
G --> H
Reviews (1): Last reviewed commit: "feat: add Hermes as builtin agent" | Re-trigger Greptile
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/shared/src/builtin-terminal-agents.ts`:
- Around line 159-160: Update the Hermes agent’s promptCommand configuration to
use the prefix “hermes --yolo chat -q”, matching the command’s “hermes --yolo”
prefix and preventing derivePromptArgs() from duplicating the flag.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: b730324c-8043-4014-8f84-e8941c353fd9
📒 Files selected for processing (1)
packages/shared/src/builtin-terminal-agents.ts
|
Ready to review this PR? Stage has broken it down into 1 individual chapter for you:
Chapters generated by Stage for commit 295d478 on Jul 29, 2026 2:54pm UTC. |
Adds Nous Research's Hermes Agent (`hermes`) to BUILTIN_TERMINAL_AGENTS, with light/dark preset icons, README row, docs bullet, and marketing demo entry. Builds on #5802, which carried only the manifest entry. Flags are taken from the Hermes CLI reference and `hermes_cli/_parser.py`: `hermes chat` has no positional prompt, so prompt launches run `hermes chat --yolo -q` and then drop into the interactive chat with `-c`, the same shape kimi uses. Resume is `-r <session>`. Hermes runs as a plain terminal agent, same shape as Pi / Cursor Agent, so no agent-setup target is needed. Co-authored-by: Yash <116657771+hackice20@users.noreply.github.com> Claude-Session: https://claude.ai/code/session_01DuAhw6Ao5Cru3acdkrzx9f
Adds Nous Research's Hermes Agent to BUILTIN_TERMINAL_AGENTS, with light/dark preset icons, README row, docs bullet, and marketing demo entry. Builds on #5802; hermes chat has no positional prompt, so prompt launches run -q and continue interactively with -c (kimi pattern); resume is -r <session>. Co-authored-by: Yash <116657771+hackice20@users.noreply.github.com> Claude-Session: https://claude.ai/code/session_01DuAhw6Ao5Cru3acdkrzx9f
* feat(shared): add Hermes as a built-in terminal agent Adds Nous Research's Hermes Agent to BUILTIN_TERMINAL_AGENTS, with light/dark preset icons, README row, docs bullet, and marketing demo entry. Builds on #5802; hermes chat has no positional prompt, so prompt launches run -q and continue interactively with -c (kimi pattern); resume is -r <session>. Co-authored-by: Yash <116657771+hackice20@users.noreply.github.com> Claude-Session: https://claude.ai/code/session_01DuAhw6Ao5Cru3acdkrzx9f * feat(desktop): expose Hermes in the icon picker, settings search, and preset docs Claude-Session: https://claude.ai/code/session_01DuAhw6Ao5Cru3acdkrzx9f
|
Hermes is now on main — landed via #6766 (squash 011724e) with your Co-authored-by credit. Thank you again @hackice20 for kicking this off; this PR can be closed whenever you like. |
What & why
Adds Nous Research Hermes Agent as a builtin terminal agent so it can be launched from Superset like Claude, Codex, and the other presets.
Closes #5403.
Wired in
packages/shared/src/builtin-terminal-agents.ts:hermes --yolohermes chat --yolo -q(argv)How I tested it
bun dev)hermes --yoloand prompt launch useshermes chat --yolo -qbun testinpackages/sharedfor agent settings/models testshermesCLI on PATH (hermes setup/hermes modelwith a non-Portal provider if you skip Nous card signup)Checklist
type(scope): subject)bun run lintandbun run typecheckpass (CI fails on lint warnings too)Summary by cubic
Adds Hermes as a built-in terminal agent so users can launch and prompt it from Superset. Provides a ready-to-use agent with the correct interactive and prompt commands.
New Features
BUILTIN_TERMINAL_AGENTSinpackages/shared/src/builtin-terminal-agents.ts.hermes --yolo.hermes --yolo chat -q.Migration
hermesCLI is installed and on PATH (hermes setup; configure a model/provider).Written for commit 295d478. Summary will update on new commits.
Summary by CodeRabbit