Skip to content

Add Hermes as a default coding agent - #8617

Closed
smfworks wants to merge 1 commit into
omacom:quattrofrom
smfworks:feat/hermes-default-agent
Closed

smfworks wants to merge 1 commit into
omacom:quattrofrom
smfworks:feat/hermes-default-agent

Conversation

@smfworks

Copy link
Copy Markdown
Contributor

Why

Setup > Defaults > Agent, omarchy default agent, Super+Shift+Ctrl+A, and omarchy agent prompt only know the mise-managed harnesses. Hermes installs via install.sh, so it never appeared.

What

  • omarchy-default-agent hermes — skip mise; if hermes is missing, open a presentation terminal and run omarchy-install-hermes (official install.sh)
  • omarchy-agent — hermes --yolo interactive; hermes chat --yolo -q for a prompt
  • Menu: Defaults > Agent > Hermes
  • Manual AI chapter notes the non-mise install
  • Tests: default-agent-test (select, missing install, failed install, launch flags) and menu-test (glyph + alphabetical sort)

Test plan

  • bash test/shell.d/default-agent-test.sh
  • bash test/shell.d/menu-test.sh
  • ./test/cli

Rollback: revert the branch. Existing ~/.config/omarchy/defaults/agent files that say hermes keep working if Hermes is on PATH; they error the same as any other missing agent if it is not.

Hermes is not a mise package. Selecting it as the default agent checks
PATH, and if missing runs the official install.sh in a presentation
terminal. Launch uses --yolo (interactive) or chat --yolo -q (prompt).
Copilot AI balanced review requested due to automatic review settings August 27, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Hermes as a supported default coding agent with custom installation and launch behavior.

Changes:

  • Installs Hermes through its official installer instead of mise.
  • Adds Hermes launcher flags and menu integration.
  • Documents and tests Hermes support.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
bin/omarchy-agent Adds Hermes launch commands.
bin/omarchy-default-agent Adds Hermes selection and installation flow.
bin/omarchy-install-hermes Runs the official Hermes installer.
default/omarchy/omarchy-menu.jsonc Adds Hermes to the agent menu.
manual/17-ai.md Documents Hermes installation behavior.
test/shell.d/default-agent-test.sh Tests installation and launch behavior.
test/shell.d/menu-test.sh Tests the Hermes menu entry and ordering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

mapfile -d '' -t mise_args <"$mise_log"
[[ ${mise_args[0]} == "use" && ${mise_args[1]} == "-g" && ${mise_args[2]} == ${expected_packages[$expected]} ]] ||
fail "default agent installs $selection globally through mise"
if [[ $expected == hermes ]]; then
"setup.default.agent.copilot": {"icon":"","label":"Copilot","checked":"[[ \"$(omarchy-default-agent)\" == \"copilot\" ]]","action":"omarchy-default-agent copilot"},
"setup.default.agent.crush": {"icon":"󰋑","label":"Crush","checked":"[[ \"$(omarchy-default-agent)\" == \"crush\" ]]","action":"omarchy-default-agent crush"},
"setup.default.agent.grok": {"icon":"","iconFont":"omarchy","label":"Grok","checked":"[[ \"$(omarchy-default-agent)\" == \"grok\" ]]","action":"omarchy-default-agent grok"},
"setup.default.agent.hermes": {"icon":"󰚩","label":"Hermes","checked":"[[ \"$(omarchy-default-agent)\" == \"hermes\" ]]","action":"omarchy-default-agent hermes"},
@axelfontaine

Copy link
Copy Markdown
Contributor

Duplicate of #7392

@smfworks

Copy link
Copy Markdown
Contributor Author

Closing in favor of #7392 (and #7469).

Same seam: Hermes as omarchy default agent, official install.sh not mise. #7392 is the better launch contract — interactive Hermes stays approval-gated; only the one-shot prompt bypasses. This PR used --yolo on the interactive path, which is the wrong default for Super+Shift+Ctrl+A.

Nothing unique here worth cherry-picking once #7392 lands.

@smfworks

Copy link
Copy Markdown
Contributor Author

Duplicate of #7392 / #7469.

@smfworks smfworks closed this Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants