Repository navigation
Add Hermes as a desktop app and a coding agent - #7469
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds Hermes as a first-class “coding agent” option and provides dedicated installers to ensure Hermes CLI runs with a pinned Python via mise.
Changes:
- Add Hermes to the default-agent menu and ensure it’s included in alphabetical sorting tests.
- Introduce Hermes CLI/desktop installers and integrate Hermes into the default-agent and agent launcher scripts.
- Update user mise install flow to install the Hermes CLI wrapper.
Reviewed changes
Copilot reviewed 3 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/shell.d/menu-test.sh | Extends expectations to include Hermes in agent metadata and sorted menu labels. |
| install/user/mise.sh | Calls Hermes CLI installer during user mise setup. |
| default/omarchy/omarchy-menu.jsonc | Adds Hermes entries to “default agent” and “install AI apps” menus. |
| bin/omarchy-install-hermes-cli | New Hermes CLI installer that writes a mise-backed wrapper with pinned Python. |
| bin/omarchy-install-ai-hermes | New installer for Hermes desktop app that pre-installs CLI to satisfy PATH probe. |
| bin/omarchy-default-agent | Adds Hermes option and routes installation/presence checks via a Hermes-specific installer. |
| bin/omarchy-agent | Adds Hermes command invocation wiring (oneshot vs interactive behavior). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 10 changed files in this pull request and generated no new comments.
Suppressed comments (2)
install/user/mise.sh:14
- This setup leaf runs during new-user provisioning or an explicit application refresh, not during a normal update; updates rely on pending migrations, and this PR adds none. Existing Omarchy users therefore will not receive the Hermes preinstall wrapper while fresh users will. Add a migration that invokes this installer when the preinstall opt-out marker is absent.
omarchy-install-hermes-cli
default/fonts/omarchy/README.md:13
- The PR description says this glyph was traced from Hermes' upstream raster icon, while this provenance record attributes it to Font Awesome's
staff-snakeunder CC BY 4.0. Since this README is the repository's source and licensing record for the font, update it (or the glyph/PR description) to identify the artwork actually embedded.
- `U+E908` — Hermes, from <https://fontawesome.com/icons/staff-snake> (CC BY 4.0), the mark Hermes serves as its favicon
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 11 changed files in this pull request and generated no new comments.
Suppressed comments (1)
default/fonts/omarchy/README.md:13
- This provenance conflicts with the PR description, which says U+E908 was traced from Hermes' raster app icon because no vector mark was published. The icon-font guide identifies this README as the sole provenance record, so point it at the artwork actually used (or correct the PR description if the Font Awesome SVG was the source).
- `U+E908` — Hermes, from <https://fontawesome.com/icons/staff-snake> (CC BY 4.0), the mark Hermes serves as its favicon
|
I prepared a narrower agent-only Hermes integration against the current
This deliberately keeps Hermes Desktop, the usage monitor and branded-font work outside the default-agent change. The integration uses Nous Research's supported installer rather than PyPI/pipx/AUR packaging, wires the correct Focused Hermes/default-agent/menu tests and the full CLI suite pass. The broader shell suite has only the same host-dependent failures reproduced on untouched Quattro. I have not opened a competing PR. This branch is available for the maintainer branch to cherry-pick or adapt so the existing Hermes efforts can converge. |
|
This PR might help with Hermes HUD styling |
teknium1
left a comment
There was a problem hiding this comment.
Reviewed from the Hermes side — we verified every load-bearing claim against the hermes-agent codebase and they all check out:
Requires-Python >=3.11,<3.14with fully==-pinned deps is correct, so theUV_PYTHON=3.13pin (re-checked on every run, sincemise upreinstalls without it) is the right defense.- The desktop app's PATH probe really is
hermes --versionon a 15s budget (DEFAULT_PROBE_TIMEOUT_MS = 15_000), and a cold run measures ~10.5s — so--nowpre-warming the install before handing Hermes to the GUI is exactly right, and the margin is as thin as the comment implies. .hermes-bootstrap-completeis written last by our bootstrap; using it plus the~/.hermes-pointing wrapper as the readiness test is the correct combination.--yoloand--oneshot <prompt>exist and compose as used inomarchy-agent;--oneshotanswers and exits, so the seeding comment is accurate.- Removal scope is right:
~/.hermes/hermes-agent,bootstrap-cache,bin,nodebelong to the app; chats/memories/skills under~/.hermesand connections under~/.config/Hermesare the user's. Thehermes/hermes-agent/hermes-acpwrapper sweep matches what our install actually writes.
Keying ownership off the package rather than ~/.hermes is the right call for exactly the reason stated — the package exists before the app has ever run.
One operational note, not a blocker: we ship several times a week, so the stub's per-run interpreter check and MISE_MINIMUM_RELEASE_AGE=0 will both earn their keep. First run after an omarchy update may eat the minute-long reinstall — acceptable, just expected.
Approve from Nous.
|
I'll install omarchy when Hermes is on the stable release. Thanks for the work you guys |
Hermes joins Install > AI as a desktop app, sits beside it under Remove > AI, and becomes a choice in the default-agent list. The CLI installs through omarchy-install-hermes-cli rather than a bare `mise use`, so its interpreter is pinned before mise builds it. Rebased onto quattro. Ori claimed U+E909 in #7709 while this branch was open, so the Hermes mark moves to U+E90A in the icon font, the menu entries, the font README, and the charset the menu test pins. The glyph outline itself is unchanged; it is spliced in beside Ori rather than over it. Co-Authored-By: witcheer <witcheer.eth@gmail.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SySdB3RtCA8BNv6Am246BP
4cc0a66 to
a12a21c
Compare
|
Thanks for the work on this. I re-reviewed the Hermes installation flow end to end, including several independent Claude Fable review passes and installation on a disposable current Omarchy VM. Teknium’s approval carries substantial weight here. The upstream-sensitive scripts remain byte-identical to the commit he reviewed, and the Hermes-specific design checked out:
The review identified one narrow Omarchy-side ownership issue around
The review also confirmed that existing users need a migration equivalent to the recent Hey/Ori migrations. Adding Hermes to I’m going to open a small follow-up PR against this branch that:
I did not find a problem with the Hermes packaging or installation strategy itself. The follow-up should be limited to tightening Omarchy’s ownership and upgrade behavior. |
|
The installation hardening from the review is ready in #8539. It targets this PR’s It preserves externally owned Hermes wrappers, adds the existing-user migration, and adds focused ownership regressions. The disposable Omabot validation passed 188 targeted assertions, including a real Hermes installation, and the final independent Fable review returned GO. |
Clear inherited session-source tags for Omarchy's local one-shot process so Hermes records the launch directory before the exact session is resumed in the TUI. Co-Authored-By: Codex XHigh <noreply@openai.com>
|
@dhh Verified. The missing piece is not a seeded-TUI flag: Hermes's TUI query path interprets control syntax, so it cannot safely carry an arbitrary launcher prompt as literal data. #8705 is now updated to the final
The helper also clears inherited I independently reviewed the cumulative The remaining gaps are rendered-TUI automation and a successful real first-run setup replay in the credential-free worker; both control paths have focused mock coverage. So yes: prompted-session behavior is ready, and #7469 needs the stacked #8705 merged into 🤖 Generated by GPT-5.6 in Codex. Reviewed and runtime-validated by Codex XHigh. |
|
Follow-up after @teknium1's NousResearch/hermes-agent#97121: I reviewed its merged commit and current Hermes It does not make #8705 obsolete yet:
For those reasons, #8705 at My recommendation is to merge #8705 into 🤖 Generated and verified by GPT-5.6 in Codex. |
Hermes now keeps chat queries interactive and literal to TUI control syntax, so launch it directly and let its own session flow replace the local one-shot, usage-file, and resume bridge. Gate installation on the capability added with native interactive queries, preserve unowned mise environments, and keep the unprompted launch path unchanged. Co-Authored-By: Codex XHigh <noreply@openai.com>
|
NousResearch/hermes-agent#97121 is merged, so stacked #8705 now switches prompted launches to Hermes's native interactive query path; Codex XHigh independently reviewed that update, and its remaining upstream edge cases are documented on #8705. We will hold #7469 until a published Hermes Agent version containing #97121 is available through Omarchy's supported installer, then land #8705 before this PR. — 🤖 Codex, posting on behalf of @spencerbull |
|
#7469 never links Omarchy agent skills into Hermes. #7392 adds the usual Happy for this PR to take it. If it does, we'll close #8611. If not, we'll keep #8611 rather than stacking another installer. |
|
@smfworks — checked all of this against Hermes 0.19.0 on a disposable VM. You're right on every point:
One correction that will save you time: One thing worth designing around: Suggest keeping #8611 separate rather than folding it in here. #7469 is on hold pending a published Hermes release containing NousResearch/hermes-agent#97121 (see #8705 — nothing installable satisfies its capability gate today). #8611 targets |
Hermes was missing from the provision-user symlink list that already covers Claude, Codex, Pi, Antigravity, and ~/.agents. Add ~/.hermes/skills plus existing ~/.hermes/profiles/*/skills. Migration for current installs.
The provision-user suite never ran the one-shot migration. Cover default-home links, a pre-existing profile, idempotency, and a missing skill source. Document ~/.gemini/config/skills and stop wrapping that bullet.
Use Hermes native prompted sessions
The HUD is a frameless Electron window that paints its own per-pixel transparency. Under the default rules it gets a compositor border and Omarchy's window opacity on top, which turns the compact prompt into an outlined, muddy canvas. Scoped to the HUD by title, so the main Hermes window keeps the ordinary treatment. Co-authored-by: Luiz Filipe <moresco.luiz@gmail.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Catches the branch up on 94 commits so what lands here is reviewed against current quattro, and so #8611 contributes its own five files rather than dragging a partial catch-up in behind it.
Link Omarchy agent skills into Hermes
Add Hermes as a desktop app and a coding agent (cherry picked from commit b71dcad) (cherry picked from commit b27908369ed5fa95ca24dca2c68b895032d879d2)
Add Hermes as a desktop app and a coding agent (cherry picked from commit b71dcad) (cherry picked from commit b27908369ed5fa95ca24dca2c68b895032d879d2)
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. Claude-Session: https://claude.ai/code/session_015e8oETxaFBzCSCf9yzS8ev Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: Naeem Malik <malik2015naeem@gmail.com>
Adds Hermes in the places it belongs: the desktop app under Install > AI and Remove > AI, and the terminal agent under Setup > Defaults > Agent.
Pairs with omacom/omarchy-pkgs#166, which adds the
hermes-desktoppackage.One Hermes per machine
The two cannot share an installation the obvious way round. Hermes Desktop only runs against a runtime built from its own commit — the version gap against any published CLI fails its readiness probe with a 401 — so it provisions its own under
~/.hermesand puts that onPATH. Left alone that gives a machine two Hermeses on different Python versions, taking turns overwriting~/.local/bin/hermesand sharing oneHERMES_HOMEbetween them.So the package decides ownership. Where
hermes-desktopis installed it owns Hermes outright:omarchy-install-hermes-cliwrites no stub, removes its own copy if it made one earlier, and reports through--checkwhether the app has finished setting Hermes up. Installing the app supersedes a CLI that was there first; installing the CLI second finds the app already owns it. Either order converges on the app's installation, so the terminal, the default agent and the app are the same Hermes.Ownership keys off the package rather than
~/.hermes, because the package is there before the app has ever run — exactly when a second copy would otherwise get built.Removal
Dropping the package alone would strand the runtime the app installed, which is the larger part of it — past 2 GB of checkout and venv — along with its command on
PATH.omarchy-remove-ai-hermestakes both, and keeps everything in~/.hermesthat is the user's: chats, memories, and the skills Hermes wrote for itself.Only when the app actually installed them, though. The official Hermes installer uses the same paths, so the runtime is only the app's once the app has finished putting it there —
.hermes-bootstrap-completeis what says so, and without it removing the package is the whole job. Ownership of~/.local/bin/hermesis decided the same way throughout: by the marker line the installer writes, which is why Remove Preinstalls, the migration and the installer all askomarchy-install-hermes-cli --ownsrather than matching it themselves.The terminal agent
Without the desktop app, Hermes is a mise-backed stub like the other agents, and it needs an installer of its own rather than a line in
omarchy-mise-install.Hermes pins every one of its dependencies with
==and declaresRequires-Python >=3.11,<3.14, so it can neither be built against Arch's Python nor share thepython-*packages. Given no compatible interpreter to hand,uvbuilds the venv against the system Python in violation of that bound, reports success, and leaves the breakage to surface later inside a dependency — so the interpreter is pinned, and re-checked on every run, becausemise upreinstalls without the pin. The cooldown override is exported rather than set on the install line, so the version resolved to run is the one just installed. mise's pipx backend also shells out touv, which a stock Omarchy does not have; it comes from mise, so neither route needs root.omarchy-agentlearns ahermescase. Hermes has no "start interactive, seeded with a prompt" mode, so a prompt goes through--oneshot, which answers and exits.Glyph
U+E90A, from Font Awesome's staff-snake (CC BY 4.0) — the mark Hermes serves as its favicon, and titles its README with. Their app icon is a detailed portrait, which traces into an even grey smudge at menu size next to the flat silhouettes this font is made of.Rebased onto
quattro. Ori tookU+E909in #7709 while this was open, so the Hermes mark moved toU+E90Ain the font, the menu entries, the font README and the charset the menu test pins.