SWE-rebench leaderboard — July 2026 task
harbor run -t ibragim-badertdinov/fathah__hermes-desktop-268harbor download ibragim-badertdinov/fathah__hermes-desktop-268Hermes Desktop 0.4.3 remote mode fails against working local Hermes API server
Hermes Desktop 0.4.3 fails to work as a frontend for an already-running local Hermes Agent API server.
The Hermes Agent backend is installed separately under /opt/hermes-agent, runs correctly with Python 3.12, exposes the API server on 127.0.0.1:8642, and successfully handles OpenAI-compatible API requests via curl.
However, Hermes Desktop fails to connect or send messages in remote mode. It either reports that it cannot reach the server, returns 404: Not Found, or tries to spawn a removed/incorrect local Hermes installation under ~/.hermes/hermes-agent.
/opt/hermes-agent~/.hermesgemma4:e4bhttp://127.0.0.1:11434/v1http://127.0.0.1:8642Hermes Agent works correctly from CLI/API with this model configuration:
model:
default: gemma4:e4b
provider: custom
base_url: http://127.0.0.1:11434/v1
The Hermes API server is enabled:
API_SERVER_ENABLED=true
API_SERVER_HOST=127.0.0.1
API_SERVER_PORT=8642
API_SERVER_KEY=<redacted>
The backend works correctly via curl:
KEY="$(grep '^API_SERVER_KEY=' ~/.hermes/.env | cut -d= -f2- | tr -d '\"'\'' ')"
curl -i http://127.0.0.1:8642/v1/models \
-H "Authorization: Bearer $KEY"
Expected/actual result from curl:
{
"object": "list",
"data": [
{
"id": "hermes-agent",
"object": "model",
"owned_by": "hermes",
"root": "hermes-agent"
}
]
}
Chat completions also work:
curl -sS http://127.0.0.1:8642/v1/chat/completions \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hermes-agent",
"messages": [
{"role": "user", "content": "Respond exactly: ok"}
]
}'
This returns a valid response from Hermes Agent, and Ollama confirms that the local model is loaded on GPU:
gemma4:e4b 11 GB 100% GPU CONTEXT 65536
Problem in Hermes Desktop
When using Hermes Desktop 0.4.3 and selecting:
Connect to Remote Hermes
with:
URL: http://127.0.0.1:8642
API key: <API_SERVER_KEY>
or:
URL: http://127.0.0.1:8642/v1
API key: <API_SERVER_KEY>
the GUI does not connect reliably.
Observed GUI errors include:
Could not reach Hermes at this URL. Check the URL and API key.
and:
Error: API server returned 404: 404: Not Found
and:
Error: API request failed: connect ECONNREFUSED 127.0.0.1:8642
Logs
Hermes Desktop log includes:
[CRON] remote list failed: HTTP 404
Error occurred in handler for 'send-message': Error: API server returned 404: 404: Not Found
At one point, Hermes Desktop also attempted to spawn an old local Hermes installation that no longer exists:
[MAIN UNCAUGHT] Error: spawn /home/patrick/.hermes/hermes-agent/venv/bin/python ENOENT
spawnargs: [
'/home/patrick/.hermes/hermes-agent/hermes',
'gateway'
]
This suggests that even after choosing remote mode, Hermes Desktop may still retain or use stale local-install state under ~/.hermes/hermes-agent.
Route testing
The local Hermes API server exposes these routes successfully:
GET /health -> 200 OK
GET /v1/health -> 200 OK
GET /v1/models -> 200 OK
POST /v1/chat/completions -> 200 OK
But these routes return 404:
GET /models -> 404 Not Found
GET /api/health -> 404 Not Found
This may indicate that Hermes Desktop remote mode expects routes that are not provided by the Hermes Agent OpenAI-compatible API server.
Expected behavior
Hermes Desktop remote mode should work with an existing Hermes Agent API server when provided:
URL: http://127.0.0.1:8642
API key: API_SERVER_KEY
or clearly document whether the required URL should be:
http://127.0.0.1:8642
or:
http://127.0.0.1:8642/v1
It should then list the exposed remote model:
hermes-agent
and send chat requests through the existing Hermes API server.
Actual behavior
Hermes Desktop does not list hermes-agent, fails validation, returns 404, or tries to spawn a stale local Hermes installation under:
~/.hermes/hermes-agent
even though the remote Hermes API server is alive and working via curl.
Why this appears to be a Hermes Desktop issue
The backend works outside Hermes Desktop:
curl /v1/models succeeds.
curl /v1/chat/completions succeeds.
Hermes Agent CLI works.
Ollama backend works.
GPU model loading works.
The only failing component is Hermes Desktop remote frontend mode.
Request
Please clarify or fix Hermes Desktop remote mode behavior:
Which URL format is expected for remote Hermes?
http://host:8642
or http://host:8642/v1
Which endpoint does Hermes Desktop use to validate remote connectivity?
Should remote mode depend on routes like /models, /api/health, /cron, or local gateway-management endpoints?
Can Hermes Desktop avoid trying to spawn ~/.hermes/hermes-agent/... when the user explicitly chooses remote mode?
Can stale local install state be ignored or reset when using remote mode?
thanks!!!
## Interface
No new interfaces are introduced.