الأكاديمية ← المراجع السريعةتوثيق رسمي · إرشاد عربي

الأسئلة الشائعة وحل المشكلات

FAQ & Troubleshooting

مرجع27 دقيقة قراءةالدرس 45 أسئلة✓ 2026-08-18
قبل أن تقرأ

ما هذه الصفحة، وماذا تحتوي.

MCP: طريقة موحّدة تسمح لـHermes أن يستعمل أدوات برامج أخرى، من دون أن يكتب أحد كودًا خاصًا لكل برنامج. بدلًا من انتظار دعم رسمي لكل خدمة تحبها، تشغّل «خادم MCP» جاهزًا فيصبح Hermes قادرًا على استخدامها فورًا. الصفحة فيها تحذير من المصدر، و27 دقيقة قراءة. انتبه: أي خادم MCP تضيفه يرى بياناتك ويستطيع التصرّف نيابةً عنك. شغّل ما تعرف مصدره، وابدأ بأقل الأدوات.

5أقسام
41أمثلة برمجية
3جداول
22أوامر
4,658كلمة من المصدر
الوصف الرسمي في سطر

Frequently asked questions and solutions to common issues with Hermes Agent

ماذا ستستطيع بعدها

نتائج مأخوذة من هذه الصفحة، لا من قالب.

  • تعرف ما MCP ولماذا قد تحتاجه.
  • تنفّذ hermes model وhermes chat وتفهم ما يحدث بعدها.
  • تقرأ الجدول وتأخذ منه السطر الذي يخصّك فقط.
  • تضبط OPENROUTER_API_KEY في المكان الصحيح.
ما ستقابله من أسماء

كما تظهر تمامًا داخل Hermes.

الأوامر
  • hermes model
  • hermes chat
  • hermes config show
  • hermes gateway run
  • hermes backup
  • hermes update
  • hermes config set
  • hermes prompt-size
متغيرات البيئة
  • OPENROUTER_API_KEY
  • HERMES_MODEL
  • HERMES_HOME
خريطة الصفحة

انتقل مباشرة إلى ما تحتاجه.

  1. 01Frequently Asked Questions
  2. 02Troubleshooting
  3. 03Profiles
  4. 04Workflows & Patterns
  5. 05Still Stuck?
الصفحة الرسمية كاملة

بلا اختصار أو حذف.

النص أدناه منقول من المصدر الرسمي بالإنجليزية حتى تبقى الأوامر والأسماء دقيقة كما هي. قبل كل قسم شرح عربي يوضّح ما بداخله.

Quick answers and fixes for the most common questions and issues.

---

Frequently Asked Questions

إعدادات تضبطها مرة وتنساها. غيّر واحدًا في كل مرة حتى تعرف أثر كل تغيير. الأوامر هنا: hermes model، hermes auth add anthropic.

What LLM providers work with Hermes?

Hermes Agent works with any OpenAI-compatible API. Supported providers include:

  • OpenRouter ↗ — access hundreds of models through one API key (recommended for flexibility)
  • Nous Portal — Nous Research's subscription gateway — 300+ models plus web/image/TTS/browser through one OAuth login (recommended for newcomers)
  • OpenAI — GPT-5.4, GPT-5-codex, GPT-4.1, GPT-4o, etc.
  • Anthropic — Claude models (direct API, OAuth via hermes auth add anthropic, OpenRouter, or any compatible proxy)
  • Google — Gemini models (direct API via gemini provider, OpenRouter, or compatible proxy)
  • z.ai / ZhipuAI — GLM models
  • Kimi / Moonshot AI — Kimi models
  • MiniMax — global and China endpoints
  • Local models — via Ollama ↗, vLLM ↗, llama.cpp ↗, SGLang ↗, or any OpenAI-compatible server

Set your provider with hermes model or by editing ~/.hermes/.env. See the Environment Variables reference for all provider keys.

Does it work on Windows/Android/Termux/my plataform??

See Platform Support for the full platform availability matrix.

I run Hermes in WSL2. What's the best way to control my normal Windows Chrome?

Prefer an MCP bridge over /browser connect.

Recommended pattern:

  • run Hermes inside WSL2
  • keep using your normal signed-in Chrome on Windows
  • add chrome-devtools-mcp as an MCP server through cmd.exe or powershell.exe
  • let Hermes use the resulting MCP browser tools

This is more reliable than trying to force Hermes core browser transport to attach directly across the WSL2/Windows boundary.

See:

Is my data sent anywhere?

API calls go only to the LLM provider you configure (e.g., OpenRouter, your local Ollama instance). Hermes Agent does not collect telemetry, usage data, or analytics. Your conversations, memory, and skills are stored locally in ~/.hermes/.

Can I use it offline / with local models?

Yes. Run hermes model, select Custom endpoint, and enter your server's URL:

Shell6 أسطر
hermes model
# Select: Custom endpoint (enter URL manually)
# API base URL: http://localhost:11434/v1
# API key: ollama
# Model name: qwen3.5:27b
# Context length: 64000   ← Hermes minimum; set this to match your server's actual context window

Or configure it directly in config.yaml:

YAML4 أسطر
model:
  default: qwen3.5:27b
  provider: custom
  base_url: http://localhost:11434/v1

Hermes persists the endpoint, provider, and base URL in config.yaml so it survives restarts. If your local server has exactly one model loaded, /model custom auto-detects it. You can also set provider: custom in config.yaml — it's a first-class provider, not an alias for anything else.

This works with Ollama, vLLM, llama.cpp server, SGLang, LocalAI, and others. See the Configuration guide for details.

How much does it cost?

Hermes Agent itself is free and open-source (MIT license). You pay only for the LLM API usage from your chosen provider. Local models are completely free to run.

Can multiple people use one instance?

Yes. The messaging gateway lets multiple users interact with the same Hermes Agent instance via Telegram, Discord, Slack, WhatsApp, or Home Assistant. Access is controlled through allowlists (specific user IDs) and DM pairing (first user to message claims access).

What's the difference between memory and skills?

  • Memory stores facts — things the agent knows about you, your projects, and preferences. Memories are retrieved automatically based on relevance.
  • Skills store procedures — step-by-step instructions for how to do things. Skills are recalled when the agent encounters a similar task.

Both persist across sessions. See Memory and Skills for details.

Can I use it in my own Python project?

Yes. Import the AIAgent class and use Hermes programmatically:

Python4 أسطر
from run_agent import AIAgent

agent = AIAgent(model="anthropic/claude-opus-4.7")
response = agent.chat("Explain quantum computing briefly")

See the Python Library guide for full API usage.

---

Troubleshooting

فيه تحذير مهم. اقرأه قبل أن تنفّذ أي شيء من هذا القسم. الأوامر هنا: hermes gateway install، hermes gateway start. نصّ التحذير من المصدر مذكور أسفل هذا الشرح.

Installation Issues

hermes: command not found after installation

Cause: Your shell hasn't reloaded the updated PATH.

Solution:

Shell5 أسطر
# Reload your shell profile
source ~/.bashrc    # bash
source ~/.zshrc     # zsh

# Or start a new terminal session

If it still doesn't work, verify the install location:

Shellسطران
which hermes
ls ~/.local/bin/hermes
Python version too old

Cause: Hermes requires Python 3.11 or newer.

Solution:

Shell5 أسطر
python3 --version   # Check current version

# Install a newer Python
sudo apt install python3.12   # Ubuntu/Debian
brew install python@3.12      # macOS

The installer handles this automatically — if you see this error during manual installation, upgrade Python first.

Terminal commands say node: command not found (or nvm, pyenv, asdf, …)

Cause: Hermes builds a per-session environment snapshot by running bash -l once at startup. A bash login shell reads /etc/profile, ~/.bash_profile, and ~/.profile, but does not source ~/.bashrc — so tools that install themselves there (nvm, asdf, pyenv, cargo, custom PATH exports) stay invisible to the snapshot. This most commonly happens when Hermes runs under systemd or in a minimal shell where nothing has pre-loaded the interactive shell profile.

Solution: Hermes auto-sources ~/.bashrc by default. If that's not enough — e.g. you're a zsh user whose PATH lives in ~/.zshrc, or you init nvm from a standalone file — list the extra files to source in ~/.hermes/config.yaml:

YAML9 أسطر
terminal:
  shell_init_files:
    - ~/.zshrc                     # zsh users: pulls zsh-managed PATH into the bash snapshot
    - ~/.nvm/nvm.sh                # direct nvm init (works regardless of shell)
    - /etc/profile.d/cargo.sh      # system-wide rc files
  # When this list is set, the default ~/.bashrc auto-source is NOT added —
  # include it explicitly if you want both:
  #   - ~/.bashrc
  #   - ~/.zshrc

Missing files are skipped silently. Sourcing happens in bash, so files that rely on zsh-only syntax may error — if that's a concern, source just the PATH-setting portion (e.g. nvm's nvm.sh directly) rather than the whole rc file.

To disable the auto-source behaviour (strict login-shell semantics only):

YAMLسطران
terminal:
  auto_source_bashrc: false
uv: command not found

Cause: The uv package manager isn't installed or not in PATH.

Solution:

Shellسطران
curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.bashrc
Permission denied errors during install

Cause: Insufficient permissions to write to the install directory.

Solution:

Shell5 أسطر
# Don't use sudo with the installer — it installs to ~/.local/bin
# If you previously installed with sudo, clean up:
sudo rm /usr/local/bin/hermes
# Then re-run the standard installer
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

---

Provider & Model Issues

The agent says "Hermes policy" or "Hermes guardrails" refused my request

A model cannot reliably identify why it refused a request. If the refusal appears only in the assistant's prose, its claim that a hidden Hermes runtime policy caused it may be a hallucinated explanation or a restriction applied by the selected model or provider.

Hermes enforcement is explicit: a blocked tool action returns a tool error naming the denied command or path, and an approval-required action shows an approval prompt. Hermes does not silently turn those execution controls into a general content-refusal layer. Provider-level controls can still apply when configured, such as Amazon Bedrock Guardrails.

To isolate the source:

  1. Run /status to confirm the active model and provider.
  2. Check whether the refusal includes an actual Hermes tool error or approval prompt. If it is prose only, do not treat the model's attribution as runtime evidence.
  3. Retry in a fresh session with another configured model or provider. A refusal that changes with the model is model/provider behavior, not a Hermes execution control.
  4. If an explicit tool error appears, use its exact text when reporting the problem.

See Security for Hermes' documented execution controls and Providers for provider configuration.

/model only shows one provider / can't switch providers

Cause: /model (inside a chat session) can only switch between providers you've already configured. If you've only set up OpenRouter, that's all /model will show.

Solution: Exit your session and use hermes model from your terminal to add new providers:

Shell6 أسطر
# Exit the Hermes chat session first (Ctrl+C or /quit)

# Run the full provider setup wizard
hermes model

# This lets you: add providers, run OAuth, enter API keys, configure endpoints

After adding a new provider via hermes model, start a new chat session — /model will now show all your configured providers.

API key not working

Cause: Key is missing, expired, incorrectly set, or for the wrong provider.

Solution:

Shell8 أسطر
# Check your configuration
hermes config show

# Re-configure your provider
hermes model

# Or set directly
hermes config set OPENROUTER_API_KEY sk-or-v1-xxxxxxxxxxxx
Model not available / model not found

Cause: The model identifier is incorrect or not available on your provider.

Solution:

Shell8 أسطر
# List available models for your provider
hermes model

# Set a valid model
hermes config set HERMES_MODEL anthropic/claude-opus-4.7

# Or specify per-session
hermes chat --model openrouter/meta-llama/llama-3.1-70b-instruct
Rate limiting (429 errors)

Cause: You've exceeded your provider's rate limits.

Solution: Wait a moment and retry. For sustained usage, consider:

  • Upgrading your provider plan
  • Switching to a different model or provider
  • Using hermes chat --provider <alternative> to route to a different backend
Context length exceeded

Cause: The conversation has grown too long for the model's context window, or Hermes detected the wrong context length for your model.

Solution:

Shell8 أسطر
# Compress the current session
/compress

# Or start a fresh session
hermes chat

# Use a model with a larger context window
hermes chat --model openrouter/google/gemini-3-flash-preview

If this happens on the first long conversation, Hermes may have the wrong context length for your model. Check what it detected:

Look at the CLI startup line — it shows the detected context length (e.g., 📊 Context limit: 128000 tokens). You can also check with /usage during a session.

To fix context detection, set it explicitly:

YAML4 أسطر
# In ~/.hermes/config.yaml
model:
  default: your-model-name
  context_length: 131072  # your model's actual context window

Or for custom endpoints, add it per-model on the provider entry:

YAML6 أسطر
providers:
  my-server:
    api: "http://localhost:11434/v1"
    models:
      qwen3.5:27b:
        context_length: 64000

(Older configs use the legacy custom_providers: list — still supported and auto-migrated to providers:.)

See Context Length Detection for how auto-detection works and all override options.

---

Terminal Issues

Command blocked as dangerous

Cause: Hermes detected a potentially destructive command (e.g., rm -rf, DROP TABLE). This is a safety feature.

Solution: When prompted, review the command and type y to approve it. You can also:

  • Ask the agent to use a safer alternative
  • See the full list of dangerous patterns in the Security docs
sudo not working via messaging gateway

Cause: The messaging gateway runs without an interactive terminal, so sudo cannot prompt for a password.

Solution:

  • Avoid sudo in messaging — ask the agent to find alternatives
  • If you must use sudo, configure passwordless sudo for specific commands in /etc/sudoers
  • Or switch to the terminal interface for administrative tasks: hermes chat
Docker backend not connecting

Cause: Docker daemon isn't running or the user lacks permissions.

Solution:

Shell9 أسطر
# Check Docker is running
docker info

# Add your user to the docker group
sudo usermod -aG docker $USER
newgrp docker

# Verify
docker run hello-world

---

Messaging Issues

Bot not responding to messages

Cause: The bot isn't running, isn't authorized, or your user isn't in the allowlist.

Solution:

Shell8 أسطر
# Check if the gateway is running
hermes gateway status

# Start the gateway
hermes gateway start

# Check logs for errors
cat ~/.hermes/logs/gateway.log | tail -50
Messages not delivering

Cause: Network issues, bot token expired, or platform webhook misconfiguration.

Solution:

  • Verify your bot token is valid with hermes gateway setup
  • Check gateway logs: cat ~/.hermes/logs/gateway.log | tail -50
  • For webhook-based platforms (Slack, WhatsApp), ensure your server is publicly accessible
Allowlist confusion — who can talk to the bot?

Cause: Authorization mode determines who gets access.

Solution:

ModeHow it works
AllowlistOnly user IDs listed in config can interact
DM pairingFirst user to message in DM claims exclusive access
OpenAnyone can interact (not recommended for production)

Configure in ~/.hermes/config.yaml under your gateway's settings. See the Messaging docs.

Gateway won't start

Cause: Missing dependencies, port conflicts, or misconfigured tokens.

Solution:

Shell8 أسطر
# Install core messaging gateway dependencies
cd ~/.hermes/hermes-agent && uv pip install -e ".[messaging]"  # Telegram, Discord, Slack, and shared gateway deps

# Check for port conflicts
lsof -i :8080

# Verify configuration
hermes config show
WSL: Gateway keeps disconnecting or hermes gateway start fails

Cause: WSL's systemd support is unreliable. Many WSL2 installations don't have systemd enabled, and even when enabled, services may not survive WSL restarts or Windows idle shutdowns.

Solution: Use foreground mode instead of the systemd service:

Shell9 أسطر
# Option 1: Direct foreground (simplest)
hermes gateway run

# Option 2: Persistent via tmux (survives terminal close)
tmux new -s hermes 'hermes gateway run'
# Reattach later: tmux attach -t hermes

# Option 3: Background via nohup
nohup hermes gateway run > ~/.hermes/logs/gateway.log 2>&1 &

If you want to try systemd anyway, make sure it's enabled:

  1. Open /etc/wsl.conf (create it if it doesn't exist)
  2. Add:
INIسطران
   [boot]
   systemd=true
  1. From PowerShell: wsl --shutdown
  2. Reopen your WSL terminal
  3. Verify: systemctl is-system-running should say "running" or "degraded"
macOS: Node.js / ffmpeg / other tools not found by gateway

Cause: launchd services inherit a minimal PATH (/usr/bin:/bin:/usr/sbin:/sbin) that doesn't include Homebrew, nvm, cargo, or other user-installed tool directories. This commonly breaks the WhatsApp bridge (node not found) or voice transcription (ffmpeg not found).

Solution: The gateway captures your shell PATH when you run hermes gateway install. If you installed tools after setting up the gateway, re-run the install to capture the updated PATH:

Shellسطران
hermes gateway install    # Re-snapshots your current PATH
hermes gateway start      # Detects the updated plist and reloads

You can verify the plist has the correct PATH:

Shellسطران
/usr/libexec/PlistBuddy -c "Print :EnvironmentVariables:PATH" \
  ~/Library/LaunchAgents/ai.hermes.gateway.plist

---

Performance Issues

Slow responses

Cause: Large model, distant API server, or heavy system prompt with many tools.

Solution:

  • Try a faster/smaller model: hermes chat --model openrouter/meta-llama/llama-3.1-8b-instruct
  • Reduce active toolsets: hermes chat -t "terminal"
  • Check your network latency to the provider
  • For local models, ensure you have enough GPU VRAM
High token usage

Cause: Long conversations, verbose system prompts, or many tool calls accumulating context.

Solution:

Shell9 أسطر
# See exactly what the fixed prompt costs — breakdown by block
# (system prompt, skills index, memory, tool schemas). Runs offline.
hermes prompt-size

# Compress the conversation to reduce tokens
/compress

# Check session token usage
/usage

If the baseline looks high before you've typed anything, that's the fixed prompt budget — the system prompt plus tool schemas sent on every call. Run hermes prompt-size to measure it, then trim: disable toolsets you don't use (hermes tools) and uninstall or disable skills you don't need (hermes skills).

Session getting too long

Cause: Extended conversations accumulate messages and tool outputs, approaching context limits.

Solution:

Shell8 أسطر
# Compress current session (preserves key context)
/compress

# Start a new session with a reference to the old one
hermes chat

# Resume a specific session later if needed
hermes chat --continue

---

MCP Issues

MCP server not connecting

Cause: Server binary not found, wrong command path, or missing runtime.

Solution:

Shell9 أسطر
# Ensure MCP dependencies are installed (already included in standard install)
cd ~/.hermes/hermes-agent && uv pip install -e ".[mcp]"

# For npm-based servers, ensure Node.js is available
node --version
npx --version

# Test the server manually
npx -y @modelcontextprotocol/server-filesystem /tmp

Verify your ~/.hermes/config.yaml MCP configuration:

YAML4 أسطر
mcp_servers:
  filesystem:
    command: "npx"
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/docs"]
Tools not showing up from MCP server

Cause: Server started but tool discovery failed, tools were filtered out by config, or the server does not support the MCP capability you expected.

Solution:

  • Check gateway/agent logs for MCP connection errors
  • Ensure the server responds to the tools/list RPC method
  • Review any tools.include, tools.exclude, tools.resources, tools.prompts, or enabled settings under that server
  • Remember that resource/prompt utility tools are only registered when the session actually supports those capabilities
  • Use /reload-mcp after changing config
Shell5 أسطر
# Verify MCP servers are configured
hermes config show | grep -A 12 mcp_servers

# Restart Hermes or reload MCP after config changes
hermes chat

See also:

MCP timeout errors

Cause: The MCP server is taking too long to respond, or it crashed during execution.

Solution:

  • Increase the timeout in your MCP server config if supported
  • Check if the MCP server process is still running
  • For remote HTTP MCP servers, check network connectivity

---

Profiles

إعدادات تضبطها مرة وتنساها. غيّر واحدًا في كل مرة حتى تعرف أثر كل تغيير. الأوامر هنا: hermes update. تضبط HERMES_HOME خارج المحادثة، في بيئة التشغيل.

How do profiles differ from just setting HERMESHOME?

Profiles are a managed layer on top of HERMES_HOME. You could manually set HERMES_HOME=/some/path before every command, but profiles handle all the plumbing for you: creating the directory structure, generating shell aliases (hermes-work), tracking the active profile in ~/.hermes/active_profile, and syncing skill updates across all profiles automatically. They also integrate with tab completion so you don't have to remember paths.

Can two profiles share the same bot token?

No. Each messaging platform (Telegram, Discord, etc.) requires exclusive access to a bot token. If two profiles try to use the same token simultaneously, the second gateway will fail to connect. Create a separate bot per profile — for Telegram, talk to @BotFather ↗ to make additional bots.

Do profiles share memory or sessions?

No. Each profile has its own memory store, session database, and skills directory. They are completely isolated. If you want to start a new profile with existing memories and sessions, use hermes profile create newname --clone-all to copy everything from the current profile, or add --clone-from <profile> to copy from a specific source profile.

This isolation is also the reason to never run two agents against the same profile or Hermes home: both write memory automatically and each loads the other's writes at session start, so their stored state degrades with every session. One agent per profile; for genuinely shared memory across agents, use an external memory provider.

What happens when I run hermes update?

hermes update pulls the latest code and reinstalls dependencies once (not per-profile). It then syncs updated skills to all profiles automatically. You only need to run hermes update once — it covers every profile on the machine.

How many profiles can I run?

There is no hard limit. Each profile is just a directory under ~/.hermes/profiles/. The practical limit depends on your disk space and how many concurrent gateways your system can handle (each gateway is a lightweight Python process). Running dozens of profiles is fine; each idle profile uses no resources.

---

Workflows & Patterns

فيه تحذير مهم. اقرأه قبل أن تنفّذ أي شيء من هذا القسم. الأوامر هنا: hermes backup، hermes skills config. نصّ التحذير من المصدر مذكور أسفل هذا الشرح.

Using different models for different tasks (multi-model workflows)

Scenario: You use GPT-5.4 as your daily driver, but Gemini or Grok writes better social media content. Manually switching models every time is tedious.

Solution: Delegation config. Hermes can route subagents to a different model automatically. Set this in ~/.hermes/config.yaml:

YAML3 أسطر
delegation:
  model: "google/gemini-3-flash-preview"   # subagents use this model
  provider: "openrouter"                    # provider for subagents

Now when you tell Hermes "write me a Twitter thread about X" and it spawns a delegate_task subagent, that subagent runs on Gemini instead of your main model. Your primary conversation stays on GPT-5.4.

You can also be explicit in your prompt: "Delegate a task to write social media posts about our product launch. Use your subagent for the actual writing." The agent will use delegate_task, which automatically picks up the delegation config.

For one-off model switches without delegation, use /model in the CLI:

Shell3 أسطر
/model google/gemini-3-flash-preview    # switch for this session
# ... write your content ...
/model openai/gpt-5.4                   # switch back

See Subagent Delegation for more on how delegation works.

Running multiple agents on one WhatsApp number (per-chat binding)

Scenario: In OpenClaw, you had multiple independent agents bound to specific WhatsApp chats — one for a family shopping list group, another for your private chat. Can Hermes do this?

Current limitation: Hermes profiles each require their own WhatsApp number/session. You cannot bind multiple profiles to different chats on the same WhatsApp number — the WhatsApp bridge (Baileys) uses one authenticated session per number.

Workarounds:

  1. Use a single profile with personality switching. Create different AGENTS.md context files or use the /personality command to change behavior per chat. The agent sees which chat it's in and can adapt.
  1. Use cron jobs for specialized tasks. For a shopping list tracker, set up a cron job that monitors a specific chat and manages the list — no separate agent needed.
  1. Use separate numbers. If you need truly independent agents, pair each profile with its own WhatsApp number. Virtual numbers from services like Google Voice work for this.
  1. Use Telegram or Discord instead. These platforms support per-chat binding more naturally — each Telegram group or Discord channel gets its own session, and you can run multiple bot tokens (one per profile) on the same account.

See Profiles and WhatsApp setup for more details.

Controlling what shows up in Telegram (hiding logs and reasoning)

Scenario: You see gateway exec logs, Hermes reasoning, and tool call details in Telegram instead of just the final output.

Solution: The display.tool_progress setting in config.yaml controls how much tool activity is shown:

YAMLسطران
display:
  tool_progress: "off"   # options: off, new, all, verbose
  • off — Only the final response. No tool calls, no reasoning, no logs.
  • new — Shows new tool calls as they happen (brief one-liners).
  • all — Shows all tool activity including results.
  • verbose — Full detail including tool arguments and outputs.

For messaging platforms, off or new is usually what you want. After editing config.yaml, restart the gateway for changes to take effect.

You can also toggle this per-session with the /verbose command (if enabled):

YAMLسطران
display:
  tool_progress_command: true   # enables /verbose in the gateway

Managing skills on Telegram (slash command limit)

Scenario: Telegram has a 100 slash command limit, and your skills are pushing past it. You want to disable skills you don't need on Telegram, but hermes skills config settings don't seem to take effect.

Solution: Use hermes skills config to disable skills per-platform. This writes to config.yaml:

YAML4 أسطر
skills:
  disabled: []                    # globally disabled skills
  platform_disabled:
    telegram: [skill-a, skill-b]  # disabled only on telegram

After changing this, restart the gateway (hermes gateway restart or kill and relaunch). The Telegram bot command menu rebuilds on startup.

Shared thread sessions (multiple users, one conversation)

Scenario: You have a Telegram or Discord thread where multiple people mention the bot. You want all mentions in that thread to be part of one shared conversation, not separate per-user sessions.

Current behavior: Hermes creates sessions keyed by user ID on most platforms, so each person gets their own conversation context. This is by design for privacy and context isolation.

Workarounds:

  1. Use Slack. Slack sessions are keyed by thread, not by user. Multiple users in the same thread share one conversation — exactly the behavior you're describing. This is the most natural fit.
  1. Use a group chat with a single user. If one person is the designated "operator" who relays questions, the session stays unified. Others can read along.
  1. Use a Discord channel. Discord sessions are keyed by channel, so all users in the same channel share context. Use a dedicated channel for the shared conversation.

Exporting Hermes to another machine

Scenario: You've built up skills, cron jobs, and memories on one machine and want to move everything to a new dedicated Linux box.

Solution:

  1. Install Hermes Agent on the new machine:
Shellسطر واحد
   curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
  1. On the source machine, create a full backup:
Shellسطر واحد
   hermes backup

This creates a zip of your entire ~/.hermes/ directory — config, API keys, memories, skills, sessions, and profiles — saved to your home directory as ~/hermes-backup-<timestamp>.zip.

  1. Copy the zip to the new machine and import it:
Shell5 أسطر
   # On the source machine
   scp ~/hermes-backup-<timestamp>.zip newmachine:~/

   # On the new machine
   hermes import ~/hermes-backup-<timestamp>.zip
  1. On the new machine, run hermes setup to verify API keys and provider config are working.

Moving a single profile to another machine

Scenario: You want to move or share one specific profile — not your full installation.

Shell5 أسطر
# On the source machine
hermes profile export work ./work-backup.tar.gz

# Copy the file to the target machine, then:
hermes profile import ./work-backup.tar.gz work

The imported profile will have all config, memories, sessions, and skills from the export. You may need to update paths or re-authenticate with providers if the new machine has a different setup.

hermes backup vs hermes profile export

Featurehermes backuphermes profile export
Use CaseFull machine migrationPorting/sharing a specific profile
ScopeGlobal (entire ~/.hermes directory)Local (single profile directory)
IncludesAll profiles, global config, API keys, sessionsSingle profile: SOUL.md, memories, sessions, skills
CredentialsIncluded (.env and auth.json)Excluded (stripped for safe sharing)
Format.zip.tar.gz

Manual fallback (rsync): If you prefer to copy files directly, exclude the code repo:

Shellسطر واحد
rsync -av --exclude='hermes-agent' ~/.hermes/ newmachine:~/.hermes/

Permission denied when reloading shell after install

Scenario: After running the Hermes installer, source ~/.zshrc gives a permission denied error.

Cause: This usually happens when ~/.zshrc (or ~/.bashrc) has incorrect file permissions, or when the installer couldn't write to it cleanly. It's not a Hermes-specific issue — it's a shell config permissions problem.

Solution:

Shell10 أسطر
# Check permissions
ls -la ~/.zshrc

# Fix if needed (should be -rw-r--r-- or 644)
chmod 644 ~/.zshrc

# Then reload
source ~/.zshrc

# Or just open a new terminal window — it picks up PATH changes automatically

If the installer added the PATH line but permissions are wrong, you can add it manually:

Shellسطر واحد
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

Error 400 on first agent run

Scenario: Setup completes fine, but the first chat attempt fails with HTTP 400.

Cause: Usually a model name mismatch — the configured model doesn't exist on your provider, or the API key doesn't have access to it.

Solution:

Shell8 أسطر
# Check what model and provider are configured
hermes config show | head -20

# Re-run model selection
hermes model

# Or test with a known-good model
hermes chat -q "hello" --model anthropic/claude-opus-4.7

If using OpenRouter, make sure your API key has credits. A 400 from OpenRouter often means the model requires a paid plan or the model ID has a typo.

---

Still Stuck?

شرح للفكرة نفسها. اقرأه ببطء، فبقية الأقسام تبني عليه. تذكير: طريقة موحّدة تسمح لـHermes أن يستعمل أدوات برامج أخرى، من دون أن يكتب أحد كودًا خاصًا لكل برنامج.

If your issue isn't covered here:

  1. Search existing issues: GitHub Issues ↗
  2. Ask the community: Nous Research Discord ↗
  3. File a bug report: Include your OS, Python version (python3 --version), Hermes version (hermes --version), and the full error message
اختبار الفهم

5 أسئلة إجاباتها كلها في هذه الصفحة.

كل خيار اسم حقيقي من توثيق Hermes. حتى الخيارات الخاطئة حقيقية، لكنها من صفحات أخرى.

1. بحسب هذا الدرس، أي أمر يقوم بـ«Re-snapshots your current PATH»؟
2. بحسب هذا الدرس، أي أمر يقوم بـ«Detects the updated plist and reloads»؟
3. في جدول هذا الدرس، ما «Use» المقابل لـ«Switch to different configured provider»؟
4. أي متغير بيئة من التالي يظهر فعليًا في هذا الدرس؟
5. ما التحذير الذي يذكره المصدر في هذا الدرس؟