Repository navigation
Add Hermes as a terminal coding agent - #386
Merged
Merged
Conversation
Ports the CLI half of upstream's Hermes support (omacom#7469): omarchy-install-hermes-cli builds it through mise/pipx with its pinned Python interpreter, and omarchy-agent/omarchy-default-agent wire it in as a selectable default agent, matching every other mise-backed agent. Hermes Desktop (the GUI app) is left out: it needs the hermes-desktop package, which has no aarch64 build yet. assert_launched in default-agent-test.sh moves from an unquoted [[ == ]] to a quoted case pattern, fixing a false failure this change surfaced: unquoted [[ ]] treats a literal argument as a glob pattern. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015e8oETxaFBzCSCf9yzS8ev
Author
|
The "Install VM" failure here isn't from this diff — it's the same failure the scheduled run on https://github.com/omacom/omarchy-mac/actions/runs/34336377946
🤖 Generated with Claude Code |
This was referenced Sep 9, 2026
Member
|
Hermes default-agent selection, lazy wrapper creation, skill/profile migrations, and menu wiring work as expected. Shell syntax and command metadata checks also complete successfully. Good to merge. |
malik-na
self-requested a review
September 12, 2026 09:34
malik-na
approved these changes
Sep 12, 2026
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
Ports the CLI half of upstream's Hermes support (omacom#7469, itself paired with the
hermes-desktoppackage in omacom/omarchy-pkgs#166):bin/omarchy-install-hermes-cliinstalls Hermes throughmise'spipxbackend with its pinned Python 3.13 interpreter (Hermes pinsRequires-Python >=3.11,<3.14and every dependency exactly, so it can't share Arch's Python or the genericomarchy-mise-installpath).omarchy-agent/omarchy-default-agentwirehermesin as a selectable default agent, the same way every other mise-backed agent works, includingSetup > Defaults > Agentin the menu.omarchy-provision-usersymlinks Omarchy's skills into~/.hermes/skills(and existing~/.hermes/profiles/*/skills) for new users; two migrations bring that and the CLI wrapper to existing installs.omarchy-remove-preinstallsremoves the wrapper Omarchy wrote, the same ownership check the installer itself uses.Verified working end to end on an M-series Mac running this fork (
mise 2026.9.3 linux-arm64):omarchy-install-hermes-cli --nowinstalls Hermes Agent v0.19.0 under Python 3.13.15 and passes its own interactive-session readiness probe.Left out on purpose
Hermes Desktop (the GUI app,
omarchy-install-ai-hermes/omarchy-remove-ai-hermes/ the Install-AI menu entry /hermes.lua) is not part of this PR. It needs thehermes-desktoppackage, which has no aarch64 build inomarchy-pkgs-aarch64yet — that's a separate, larger PR (packaging an Electron app for Apple Silicon), and this one stands on its own without it.The Hermes glyph in the icon font (
default/fonts/omarchy/omarchy.ttf,U+E90A) is also not included — I don't have a way to render/verify the merged font here. The menu entry works today with no icon; adding the glyph withomarchy dev font add hermes <fontawesome staff-snake svg>peragents/skills/icon-font.mdis a good fast-follow.Also not touched:
openclaw,cursor-agent, andmuseare missing from this fork the same way Hermes was, but porting those is unrelated work and out of scope here.A test fix this surfaced
assert_launchedintest/shell.d/default-agent-test.shused an unquoted[[ ${actual[$index]} == ${expected[$index]} ]], which treats the expected value as a glob pattern rather than a literal string. Hermes' literal-prompt test (a prompt containing!,{,$(...), embedded newlines) exposed a false failure from this. Fixed by switching to a quotedcasepattern, matching how upstream already does it.Test plan
bash -n/python3 -m aston every new and modified file inbin/,migrations/,test/shell.d/./test/all— full suite passes except two pre-existing failures unrelated to this change (config-test.sh,unowned-system-paths-test.sh), which fail identically on a cleanquattrocheckout because they need a separateomarchy-pkgscheckout (OMARCHY_PKGS_PATH) not available in this environmentbin/omarchy commands --check— passes (459 commands)omarchy-install-hermes-cli --nowon a real Apple Silicon Omarchy Mac install; Hermes Agent v0.19.0 installed and passed its readiness probe🤖 Generated with Claude Code
https://claude.ai/code/session_015e8oETxaFBzCSCf9yzS8ev