Back to Blog
HermesOpenRouterTroubleshooting

Muse Ember in Hermes Agent via OpenRouter

Configure Meta's Muse Ember in Hermes Agent via OpenRouter, test a real tool call in a disposable workspace, and trace provider or runtime errors.

By Hermify Team7 min read
Muse Ember Setup title above a circuit board with orange and green lighting

If Hermes Agent can chat with Muse Ember but skips the tool you asked for, check the OpenRouter route and the Hermes tool loop separately. Use the model ID meta/muse-ember, start with automatic tool choice, and look for a tool request, its result, and a final answer that uses that result.

Check the model and provider route

OpenRouter model ID meta/muse-ember. On December 5, 2026, the public catalog listed a 1,048,576-token context window. The provider endpoint listing showed routes through Meta and Google Vertex, both at $0.10 per million input tokens and $0.50 per million output tokens. Both advertised tools and tool_choice, with support for auto and no advertised support for required, forcing a named function, or explicitly passing none. Use auto for the diagnostic below. Recheck the provider endpoints at the time of your test.

The catalog lists text, image, audio, video, and file input with text output. Start with a text-only request and a harmless tool. Measure usable context and test additional input formats on your own runtime before relying on them.

Muse account access and API access

Meta's Muse app and website are consumer products that use a Meta Account. App access and features vary by geography. Check Meta's consumer availability guidance for your location. A Hermes request through OpenRouter uses an OpenRouter API key and credits. If you are reading Meta's direct API documentation, it uses the model ID muse-ember-1.0 for its Responses API. Keep meta/muse-ember in your OpenRouter configuration.

Two braided cables connect to a network interface with amber and green indicators

Configure Muse Ember in a disposable Hermes install

Use a local Hermes installation you own, a dedicated OpenRouter test key, and a disposable profile and workspace. Set OPENROUTER_API_KEY in your test environment using your usual secret manager. Keep it out of config.yaml, screenshots, and shell history. Use the same key for the direct request and the Hermes run so you can compare the two. The OpenRouter setup guide walks through initial key and credit setup.

On December 5, 2026, we tested this setup in a disposable local profile and workspace using Hermes Agent v0.21.4, commit 400f11bd35fae0da91c396a1424315da81729982. Both direct Chat Completions requests returned HTTP 200 on OpenRouter's Meta route, and the final reply matched the tool's hidden marker. Hermes used Chat Completions and returned the correct marker after a read_file call in two separate sessions. The second process loaded the saved model settings and read a new marker. Check your account for availability in Hermify's hosted model picker, which was outside this local test.

Probe OpenRouter before starting Hermes

In Bash or Zsh, run this request with your test key already loaded and shell tracing disabled. It asks for one function whose return value is absent from the prompt. The endpoint must accept the request before Hermes is involved.

curl --silent --show-error --fail-with-body \
  --config <(printf 'header = "Authorization: Bearer %s"\n' "$OPENROUTER_API_KEY") \
  --json '{
    "model": "meta/muse-ember",
    "messages": [
      {"role": "user", "content": "Call get_fixture to retrieve the marker. Return the marker verbatim after the tool responds."}
    ],
    "tools": [{
      "type": "function",
      "function": {
        "name": "get_fixture",
        "description": "Returns the hidden marker for this test.",
        "parameters": {"type": "object", "properties": {}, "additionalProperties": false}
      }
    }],
    "tool_choice": "auto",
    "provider": {"require_parameters": true},
    "reasoning": {"effort": "low"},
    "max_tokens": 512
  }' \
  https://openrouter.ai/api/v1/chat/completions

Look for choices[0].message.tool_calls with a call to get_fixture and a call ID. The model requests the function. Your test client supplies its result. For a full upstream round trip, send the original user message, the returned assistant message with its tool call and any reasoning_details, and a role: "tool" message containing a fresh marker and the matching tool_call_id. Keep the tool definition in that follow-up request and verify that the final reply contains the marker. OpenRouter documents the message sequence and follow-up request.

Verify the tool result in Hermes, then start a new session

Open a fresh terminal session with the test key loaded and no provider endpoint overrides, then run the following. Both the profile and workspace go into a new temporary directory. If your installation uses a different toolset or CLI syntax, check hermes chat --help for that version.

test_dir="$(mktemp -d)"
export HERMES_HOME="$test_dir/profile"
mkdir -p "$HERMES_HOME" "$test_dir/workspace"
cd "$test_dir/workspace" || exit
cat > "$HERMES_HOME/config.yaml" <<'YAML'
model:
  provider: openrouter
  default: meta/muse-ember
  api_mode: chat_completions
YAML

openssl rand -hex 12 > fixture.txt
hermes chat --provider openrouter --model meta/muse-ember \
  --toolsets file --format stream-json \
  -q 'Use read_file on fixture.txt, then return its only line verbatim.' \
  > first-run.jsonl

The file toolset includes tools that can modify files, so run this in the disposable workspace. Open first-run.jsonl locally and check for a tool_use event for read_file, its corresponding tool_result, and a successful final result containing the line in fixture.txt. The tested JSONL output can omit call IDs. For this single call, match the events by tool name and order, then check that the tool output contains the marker and is_error is false. A reply that merely describes reading the file is insufficient.

openssl rand -hex 12 > fixture.txt
hermes chat --toolsets file --format stream-json \
  -q 'Use read_file on fixture.txt, then return its only line verbatim.' \
  > second-run.jsonl

The second command starts a new process and uses the saved model settings. Check for a different session ID in the system event, the same model, a fresh tool call, and the new marker in the final reply. Save the Hermes version, model, route if reported, and sanitized event types if you need to report a failure.

A circuit board connects a lit amber indicator and a lit green indicator on a test bench

Diagnose a missing or failed tool call

What you see What to check
OpenRouter returns 401 or 403 Check the active key and any account, budget, or privacy restrictions.
OpenRouter returns 402 or 429 Check available credits and rate limits. See the OpenRouter error guide.
OpenRouter returns 400 or 503 Check the request schema and eligible routes. Forced tool choice can rule out both advertised routes. Recheck route filters and supported parameters.
Direct request succeeds but Hermes never requests a tool Confirm the active model, the file toolset, and the correct workspace. A plain answer is possible with auto; ask explicitly for read_file and keep the marker out of the prompt.
Hermes requests a tool but gives the wrong answer Compare the corresponding tool result with the file and final answer. Check for file-read errors, mismatched call IDs, a truncated follow-up, or a stale session.

When changing provider settings, repeat the same small test before trying a longer session or enabling more tools. If another model succeeds with the same fixture, record both model IDs and the Hermes version. The model-provider guide covers other ways to choose a model for your workload.

Estimate the token cost

At the listed rates, 10,000 total uncached input tokens cost 10,000 / 1,000,000 × $0.10 = $0.001. Another 2,000 total billed output tokens cost 2,000 / 1,000,000 × $0.50 = $0.001, for $0.002 in token charges in this example. Output can include billed reasoning tokens. Add usage across both requests. The follow-up can include the original context, tool schema, and tool result as input. Use the usage OpenRouter reports for your actual requests and account for any separate fees.

If you prefer managed Hermes hosting, get started with Hermify and check which providers and models your account offers before selecting one.

Sources

Run Your Own Hermes Agent

Bring your API key, connect Telegram, and get a self-improving AI agent live in 60 seconds.

Get Started