hermes - ✅(Solved) Fix [Bug]: nix: /provider command broken [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#14647Fetched 2026-04-24 06:15:44
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4cross-referenced ×1

Error Message

error launching hermes: spawn hermes ENOENT

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

PR fix notes

PR #14697: fix(nix): expose hermes binary to TUI setup handoff

Description (problem / solution / changelog)

Summary

  • set HERMES_BIN in the Nix wrapper so TUI /provider and /setup handoffs can re-launch the same Hermes runtime
  • extend the bundled TUI Nix check to verify HERMES_BIN is present and executable

Fixes #14647

Testing

  • git diff --check
  • source .venv/bin/activate && scripts/run_tests.sh tests/hermes_cli/test_tui_resume_flow.py

Note: I could not run the Nix check locally because nix is not installed in this environment.

Changed files

  • nix/checks.nix (modified, +8/-0)
  • nix/packages.nix (modified, +2/-1)

Code Example

/provider x
launching `hermes model`error launching hermes: spawn hermes ENOENT

---

Report     https://paste.rs/zztUb
  agent.log  https://paste.rs/6ecDE

---
RAW_BUFFERClick to expand / collapse

Bug Description

we should derive the command for hermes from the current runtime bin.

Steps to Reproduce

nix run github:nousresearch/hermes-agent /provider x,

Expected Behavior

launches hermes model

Actual Behavior

/provider x
launching `hermes model`…
error launching hermes: spawn hermes ENOENT

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

No response

Debug Report

Report     https://paste.rs/zztUb
  agent.log  https://paste.rs/6ecDE

Operating System

NixOS

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

use process.argv & env vars to spawn subcommands, or call into python fns to do them, instead of exec-ing hermes.

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

extent analysis

TL;DR

The issue can be resolved by deriving the command for Hermes from the current runtime bin, potentially by using process arguments and environment variables to spawn subcommands.

Guidance

  • Investigate the nix run command and how it interacts with the hermes-agent to understand why the hermes command is not found.
  • Check the config.yaml and .env files for any configuration issues that might be causing the hermes command to fail.
  • Consider using the proposed fix of calling into Python functions to spawn subcommands instead of exec-ing hermes directly.
  • Review the debug report and agent logs to gather more information about the error.

Example

No code example is provided as the issue lacks specific technical details about the implementation.

Notes

The fix may require modifications to the hermes-agent code or configuration files, and the exact solution will depend on the specifics of the implementation.

Recommendation

Apply workaround: The proposed fix of using process arguments and environment variables to spawn subcommands or calling into Python functions seems promising and should be explored further.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: nix: /provider command broken [1 pull requests, 1 participants]