{"success":true,"name":"hermes-agent","description":"Use, configure, theme, extend, and orchestrate Hermes Agent.","category":"autonomous-ai-agents","path":"autonomous-ai-agents/hermes-agent/SKILL.md","file":"SKILL.md","content":"---\nname: hermes-agent\ndescription: \"Use, configure, theme, extend, and orchestrate Hermes Agent.\"\nversion: 3.2.0\nauthor: Hermes Agent + Teknium\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [hermes, setup, configuration, multi-agent, spawning, cli, gateway, bots, bot-mode, features, themes, skins, desktop-plugins, tui-widgets, petdex, development]\n    homepage: https://github.com/NousResearch/hermes-agent\n    related_skills: [claude-code, codex, opencode]\n---\n\n# Hermes Agent\n\nHermes Agent is an open-source AI agent framework by Nous Research that runs in your terminal, a native desktop app, messaging platforms, and IDEs. It's in the same category as Claude Code (Anthropic), Codex (OpenAI), and OpenClaw — autonomous coding and task-execution agents that use tool calling to interact with your system. Hermes works with any LLM provider (OpenRouter, Anthropic, OpenAI, Google, DeepSeek, xAI, local models, and 20+ others) and runs on Linux, macOS, Windows, and WSL.\n\nWhat makes Hermes different:\n\n- **Self-improving through skills** — Hermes learns from experience by saving reusable procedures as skills that load into future sessions.\n- **Persistent memory across sessions** — remembers who you are, your preferences, environment details, and lessons learned. Pluggable memory backends.\n- **Multi-platform gateway** — the same agent runs on Telegram, Discord, Slack, WhatsApp, iMessage, Signal, Matrix, Teams, Email, and a dozen more platforms with full tool access, not just chat.\n- **Many surfaces** — the same agent core drives the CLI, the Ink TUI, a native Electron desktop app, a web dashboard, and an ACP server for IDEs (VS Code / Zed / JetBrains).\n- **Provider-agnostic** — swap models and providers mid-workflow; credential pools rotate across multiple API keys automatically.\n- **Profiles** — run multiple independent Hermes instances with isolated configs, sessions, skills, and memory.\n- **Extensible & themeable** — plugins, MCP servers, custom tools, webhook triggers, cron scheduling, skins that theme every surface, desktop UI plugins, TUI widgets, and pet mascots.\n\n**This skill is a hub.** The body covers identity, quick start, spawning/orchestration, and hard invariants. Everything else lives in reference files — **load the matching reference (below) before answering**; do not answer detail questions from the body alone.\n\n**Docs:** https://hermes-agent.nousresearch.com/docs/\n\n## Scope & Verification\n\nThis skill is a concise operating guide, not the complete source of truth for every Hermes feature. If a Hermes feature, command, or setting is not mentioned here or in a reference, do not treat that absence as evidence that it does not exist. Check the live repository and official docs before giving a negative answer.\n\nGood verification targets, cheapest first:\n\n- **Every shipped feature, one line each: https://hermes-agent.nousresearch.com/docs/llms.txt.** Start here for any \"can Hermes do X?\" or \"how do I do X?\" — it indexes the entire documentation set with a link to the page that answers. It is generated from the docs tree on every build, so it is never behind the product. Fetch it with `web_extract`, or `curl -s https://hermes-agent.nousresearch.com/docs/llms.txt` when web tools are off. The whole documentation set in one file is at `/docs/llms-full.txt`.\n- CLI commands: `hermes --help`, `hermes <command> --help`, and `hermes_cli/main.py`\n- Source tree: https://github.com/NousResearch/hermes-agent\n\nNever answer \"Hermes can't do that\" from memory. Hermes ships far more than this skill body describes, and the index exists so a negative answer is always checkable.\n\n## Quick Start\n\n```bash\n# Install (shell installer — bootstraps PM, Python, dependencies, and the launcher)\ncurl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash\n\n# Interactive chat (default surface; set display.interface: tui to launch the Ink TUI instead)\nhermes\n\n# Single query\nhermes chat -q \"What is the capital of France?\"\n\n# Setup wizard  /  pick model+provider  /  health check\nhermes setup\nhermes model\nhermes doctor\n\n# Other surfaces\nhermes desktop                 # launch the native desktop app (alias: hermes gui)\nhermes dashboard               # web admin panel + embedded chat\nhermes proxy                   # OpenAI-compatible local proxy backed by your OAuth provider\n```\n\n## Key Paths\n\n```\n~/.hermes/config.yaml       Main configuration (settings — never secrets)\n~/.hermes/.env              API keys and secrets ONLY (under $HERMES_HOME if set)\n$HERMES_HOME/skills/        Installed skills\n~/.hermes/skins/            Custom themes (see references/themes.md)\n~/.hermes/desktop-plugins/  Desktop app UI plugins (see references/desktop-plugins.md)\n~/.hermes/tui-widgets/      TUI widget apps (see references/tui-widgets.md)\n~/.hermes/pets/             Installed pet mascots (see references/petdex.md)\n~/.hermes/state.db          Canonical session store (SQLite + FTS5)\n~/.hermes/sessions/         Gateway routing index, request dumps, *.jsonl transcripts\n~/.hermes/logs/             Gateway and error logs\n~/.hermes/auth.json         OAuth tokens and credential pools\n~/.hermes/hermes-agent/     Source code (if git-installed)\n```\n\nProfiles use `~/.hermes/profiles/<name>/` with the same layout. When a profile is active, resolve the real home from `$HERMES_HOME` — never hardcode `~/.hermes`.\n\n## Routing Table — load the reference for the task\n\n| User wants... | Load |\n|---|---|\n| **Anything not listed below — \"can Hermes do X?\", \"how do I set up X?\"** | **https://hermes-agent.nousresearch.com/docs/llms.txt** |\n| Bots that chat, run routines, or message each other; the Bots tab | docs: `/user-guide/bot-mode` |\n| CLI commands, subcommands, flags, \"how do I run X\" | `references/cli-reference.md` |\n| In-session slash commands | `references/slash-commands.md` |\n| Provider setup, API keys, OAuth; whether a subscription funds this chat | `references/providers-and-models.md` |\n| config.yaml sections, toolsets, voice/STT/TTS | `references/configuration.md` |\n| AGENTS.md / .hermes.md / CLAUDE.md project rules | `references/project-context-files.md` |\n| Secret redaction, PII, approval modes, \"reset permissions\" | `references/security-privacy.md` |\n| Delegation, cron, curator, kanban | `references/background-systems.md` |\n| MCP servers (add, catalog, `hermes mcp`) | `references/native-mcp.md` |\n| Webhook routes and event-driven runs | `references/webhooks.md` |\n| A custom theme/skin (\"synthwave theme\", \"change the gold ●\") | `references/themes.md` + `templates/skin.yaml` |\n| A desktop app UI element (pane, widget, ⌘K command, page) | `references/desktop-plugins.md` + `templates/plugin.js` |\n| A live TUI panel or modal widget (ticker, clock, dashboard) | `references/tui-widgets.md` + `templates/clock.mjs` |\n| Pet mascots — install, select, scale, diagnose | `references/petdex.md` |\n| Windows-specific issues (keybinds, WinError 10106, BOM) | `references/windows-quirks.md` |\n| Debugging: voice, tools missing, gateway, aux models | `references/troubleshooting.md` |\n| Install, retry, or check an Ollama download on an external drive | `references/troubleshooting.md` → Ollama model installs |\n| Contributing code: adding tools, slash commands, tests | `references/contributor-guide.md` |\n| delegate_task \"capped at N\" reports | `references/delegate-task-concurrency-diagnosis.md` |\n| \"Can app X use my Nous Portal subscription/OAuth?\" | `references/portal-auth-for-third-party-apps.md` |\n| Connecting a messaging platform (Telegram, Discord, Slack, WhatsApp, …) | docs: `/user-guide/messaging` |\n\nThe reference list above is not the feature list — it is the set of topics that\nneed more than their docs page. For everything else Hermes ships, fetch\n`llms.txt` and it maps the question to the page that answers it.\n\nTwo theming rules that hold even without loading the reference: **you apply skins yourself** (`hermes config set display.skin <name>` — every surface repaints live within ~a second; don't tell the user to run `/skin`), and **to tweak one color, edit the ACTIVE skin** (`hermes skin set <key> <hex>`) — never fork `default`, which drops the palette and resets the background.\n\n## Default workspace changes\n\n- Treat this user's unqualified project/file requests as targeting `[PATH]` on [PRIVATE_HOST] over SSH: prefer `[PRIVATE_HOST]`, fall back to `[PRIVATE_HOST]`. Apply that interpretation across chats and profiles unless the user explicitly selects another target; a local Desktop launch directory is not a change of intent.\n- For an explicitly all-profile default change, enumerate the profiles and apply the requested workspace settings to every authorized profile, preserving unrelated settings. Do not silently narrow “all” to the active profile, or imply existing profiles' settings automatically propagate to future profiles.\n- Verify persistent configuration, actual execution host/directory, and Desktop workspace separately before claiming the default is active everywhere. A project label or config readback alone proves neither terminal routing nor live activation. Treat an after-turn refresh job as pending until its result is collected and the chat's actual terminal reports the intended `hostname; whoami; pwd`; scheduling the job is not the acceptance test. Follow `references/configuration.md` → “Remote workspace defaults” for the procedure.\n\n## Delivering changes to the user's running desktop\n\nFor this user, a request to add a desktop control means a working control in the app they are using, not source changes or an implementation plan.\n\n1. Identify the running app's executable/bundle, source checkout, active profile and gateway before editing. Distinguish a packaged app from a dev renderer: editing the checkout does not update an already-packaged bundle.\n2. Define one vertical acceptance test covering the visible interaction and its actual effect. For account/billing controls, verify credential routing as well as the selected label; a tooltip or a cosmetic checkmark is not account selection. For local models, distinguish reasoning-effort badges (including “Off”) from service availability, installed models and loaded models; verify loaded state against the provider's running-model API and exercise load/unload without disrupting another active request.\n3. If delegating frontend and backend work, agree the exact RPC method, payload, response and file ownership before parallel edits. Keep integration, build, deployment and live verification explicitly owned by the parent; delegation is not delivery.\n4. Check the checkout's declared runtime version before running desktop tests and builds; a different Node version can produce misleading module errors. Run the relevant tests and build, then deploy through the checkout's supported desktop workflow. Preserve sessions and the previous working artifact; do not kill or restart the user's app or gateway merely to obtain inspection access. If activation requires a disruptive restart, state the precise activation step and obtain authorization as needed.\n5. Open the exact dropdown or surface in the activated build and verify that the control renders and the interaction works. Read persisted selection back after changing it. Keep source-tested, built, installed, and live-verified as separate evidence gates.\n6. Report only the achieved gate in a short table. If the user says the control is still absent, inspect the running artifact and activation path first instead of repeating progress tables or telling them to reopen an unchanged dropdown. If work must pause for a background result, say it is not installed yet once; resume integration on completion rather than treating the status report as the deliverable.\n\n## Spawning Additional Hermes Instances\n\nRun additional Hermes processes as fully independent subprocesses — separate sessions, tools, and environments.\n\n### When to Use This vs delegate_task\n\n| | `delegate_task` | Spawning `hermes` process |\n|-|-----------------|--------------------------|\n| Isolation | Separate conversation, shared process | Fully independent process |\n| Duration | Minutes (bounded by parent loop) | Hours/days |\n| Tool access | Subset of parent's tools | Full tool access |\n| Interactive | No | Yes (PTY mode) |\n| Use case | Quick parallel subtasks | Long autonomous missions |\n\n### One-Shot Mode\n\n```\nterminal(command=\"hermes chat -q 'Research GRPO papers and write summary to ~/research/grpo.md'\", timeout=300)\n\n# Background for long tasks:\nterminal(command=\"hermes chat -q 'Set up CI/CD for ~/myapp'\", background=true)\n```\n\n### Interactive PTY Mode (via tmux)\n\nHermes uses prompt_toolkit, which requires a real terminal. Use tmux for interactive spawning:\n\n```\n# Start\nterminal(command=\"tmux new-session -d -s agent1 -x 120 -y 40 'hermes'\", timeout=10)\n\n# Wait for startup, then send a message\nterminal(command=\"sleep 8 && tmux send-keys -t agent1 'Build a FastAPI auth service' Enter\", timeout=15)\n\n# Read output\nterminal(command=\"sleep 20 && tmux capture-pane -t agent1 -p\", timeout=5)\n\n# Send follow-up\nterminal(command=\"tmux send-keys -t agent1 'Add rate limiting middleware' Enter\", timeout=5)\n\n# Exit\nterminal(command=\"tmux send-keys -t agent1 '/exit' Enter && sleep 2 && tmux kill-session -t agent1\", timeout=10)\n```\n\n### Multi-Agent Coordination\n\n```\n# Agent A: backend\nterminal(command=\"tmux new-session -d -s backend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t backend 'Build REST API for user management' Enter\", timeout=15)\n\n# Agent B: frontend\nterminal(command=\"tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t frontend 'Build React dashboard for user management' Enter\", timeout=15)\n\n# Check progress, relay context between them\nterminal(command=\"tmux capture-pane -t backend -p | tail -30\", timeout=5)\nterminal(command=\"tmux send-keys -t frontend 'Here is the API schema from the backend agent: ...' Enter\", timeout=5)\n```\n\n### Session Resume\n\n```\n# Resume most recent session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --continue'\", timeout=10)\n\n# Resume specific session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --resume 20260225_143052_a1b2c3'\", timeout=10)\n```\n\n### Tips\n\n- **Prefer `delegate_task` for quick subtasks** — less overhead than spawning a full process\n- **Use `-w` (worktree mode)** when spawning agents that edit code — prevents git conflicts\n- **Set timeouts** for one-shot mode — complex tasks can take 5-10 minutes\n- **Use `hermes chat -q` for fire-and-forget** — no PTY needed\n- **Use tmux for interactive sessions** — raw PTY mode has `\\r` vs `\\n` issues with prompt_toolkit\n- **For scheduled tasks**, use the `cronjob` tool instead of spawning — handles delivery and retry\n- **\"delegate_task is capped at N\" reports** — see `references/delegate-task-concurrency-diagnosis.md`. Three real cap paths in Hermes; if none fired, the model is self-limiting and rationalising it as \"the runtime caps.\"\n- **\"Can $external_app use my Nous Portal subscription / OAuth?\"** — see `references/portal-auth-for-third-party-apps.md`. Walk the user through three layers (plugin-vs-app, what Portal actually exposes, local-broker-proxy option).\n\n## Surfaces (quick orientation)\n\n- **Desktop app** (`hermes desktop` / `hermes gui`) — native Electron app for macOS/Linux/Windows: streaming chat, session list, Cmd+K palette, drag-and-drop files, native notifications, per-profile remote-gateway login. Extend it with UI plugins — `references/desktop-plugins.md`.\n- **Web dashboard** (`hermes dashboard`) — full admin panel: messaging channels, MCP catalog, webhooks, memory, profile builder, plus an embedded `hermes --tui` chat. Secured behind an OAuth/token gate.\n- **Ink TUI** (`hermes --tui` or `display.interface: tui`) — terminal UI with docked widget apps — `references/tui-widgets.md`.\n- **OpenAI-compatible proxy** (`hermes proxy`) — a local OpenAI API backed by whichever OAuth provider you're signed into. Point Codex CLI, Aider, Cline, or any script at it — no API key.\n\n## Hard Invariants (never violate, regardless of what you loaded)\n\n- **Never break prompt caching** — don't change past context, toolsets, or the system prompt mid-conversation. The only exception is context compression.\n- **Message role alternation** — never two assistant or two user messages in a row; only `tool` results can repeat.\n- **Secrets in `.env`, settings in `config.yaml`** — never tell a user to put a non-credential setting in `.env`.\n- **Profile-safe paths** — `get_hermes_home()` in code, `$HERMES_HOME` when resolving paths in a session.\n- **Never hand-edit `config.yaml` for the user** — use `hermes config set KEY VAL`; a stray indent can corrupt the file and break the live gateway.\n","linked_files":["references/background-systems.md","references/cli-reference.md","references/configuration.md","references/contributor-guide.md","references/delegate-task-concurrency-diagnosis.md","references/desktop-plugins.md","references/local-model-bridges.md","references/native-mcp.md","references/ollama-gemma3-compat.md","references/ollama-macos-context.md","references/petdex.md","references/portal-auth-for-third-party-apps.md","references/project-context-files.md","references/providers-and-models.md","references/security-privacy.md","references/slash-commands.md","references/themes.md","references/troubleshooting.md","references/tui-widgets.md","references/webhooks.md","references/windows-quirks.md","templates/clock.mjs","templates/plugin.js","templates/skin.yaml"],"origin":"brimind","owner_id":null,"source":"router"}