Hermes Agent Command Reference

Every CLI and in-session command โ€” fallback lookup if the bot is unavailable

Compiled October 2026 ยท Model: glm-5.2:cloud ยท Provider: ollama-launch

If the bot is down: Open a terminal on the Mac and run hermes to start a fresh session, or hermes gateway restart to restart the Telegram gateway. If that fails: launchctl stop ai.hermes.gateway && sleep 3 && launchctl start ai.hermes.gateway. Full troubleshooting at the bottom of this page.

๐Ÿš€ Quick Start

CommandWhat it does
hermesStart interactive chat (default)
hermes chat -q "question"Single query, non-interactive
hermes setupInteractive setup wizard
hermes modelChange model or provider
hermes doctorCheck dependencies and config health
hermes configView current configuration

๐Ÿ’ฌ In-Session Slash Commands (Telegram & CLI)

These work when chatting with the bot in Telegram or in the CLI. Type them as messages.

Session Control

CommandWhat it does
/new or /resetFresh session (clears context)
/clearClear screen + new session (CLI)
/retryResend last message
/undoRemove last exchange
/title [name]Name the session
/compressManually compress context
/stopKill background processes
/resume [name]Resume a named session

Configuration

CommandWhat it does
/configShow config (CLI)
/model [name]Show or change model
/personality [name]Set personality
/reasoning [level]Set reasoning (none|minimal|low|medium|high|xhigh)
/verboseCycle verbosity: off โ†’ new โ†’ all โ†’ verbose
/voice onVoice-to-voice mode
/yoloToggle approval bypass (dangerous commands)

Tools & Skills

CommandWhat it does
/toolsManage tools (CLI)
/toolsetsList toolsets (CLI)
/skillsSearch/install skills (CLI)
/skill [name]Load a skill into session
/reload-skillsRe-scan for added/removed skills
/cronManage cron jobs (CLI)
/pluginsList plugins (CLI)

Gateway & Platform

CommandWhat it does
/approveApprove a pending command (Telegram)
/denyDeny a pending command (Telegram)
/restartRestart gateway (Telegram)
/sethomeSet current chat as home channel
/updateUpdate Hermes to latest (Telegram)
/platformsShow platform connection status

Info & Utility

CommandWhat it does
/helpShow all commands
/commandsBrowse commands (gateway)
/usageToken usage
/statusSession info (gateway)
/profileActive profile info
/quitExit (CLI)

๐Ÿ–ฅ๏ธ CLI Commands (Terminal Only)

Chat

CommandWhat it does
hermes chat -q "text"Single query
hermes chat -m model_nameUse specific model
hermes --resume [ID]Resume session by ID
hermes --continueResume most recent session
hermes -wIsolated git worktree mode
hermes -s skill_namePreload a skill
hermes --yoloSkip command approvals

Configuration

CommandWhat it does
hermes configView current config
hermes config editOpen config.yaml in editor
hermes config set KEY VALSet a config value
hermes config pathPrint config.yaml path
hermes config checkCheck for missing/outdated config
hermes login --provider POAuth login (nous, openai-codex)
hermes doctor --fixCheck and fix dependencies

Tools & Skills

CommandWhat it does
hermes toolsInteractive tool enable/disable
hermes tools listShow all tools and status
hermes tools enable NAMEEnable a toolset
hermes tools disable NAMEDisable a toolset
hermes skills listList installed skills
hermes skills search QUERYSearch the skills hub
hermes skills install IDInstall a skill
hermes skills updateUpdate outdated skills

MCP Servers

CommandWhat it does
hermes mcp listList configured servers
hermes mcp add NAMEAdd an MCP server
hermes mcp remove NAMERemove an MCP server
hermes mcp test NAMETest connection

Gateway (Messaging Platforms)

CommandWhat it does
hermes gateway runStart gateway foreground
hermes gateway installInstall as background service
hermes gateway startStart the service
hermes gateway stopStop the service
hermes gateway restartRestart the service
hermes gateway statusCheck status

Sessions

CommandWhat it does
hermes sessions listList recent sessions
hermes sessions browseInteractive picker
hermes sessions export OUTExport to JSONL
hermes sessions statsSession store statistics
hermes sessions pruneClean up old sessions

Cron Jobs

CommandWhat it does
hermes cron listList jobs (--all for disabled)
hermes cron create SCHEDCreate: '30m', 'every 2h', '0 9 * * *'
hermes cron edit IDEdit schedule, prompt, delivery
hermes cron pause IDPause a job
hermes cron resume IDResume a job
hermes cron run IDTrigger on next tick
hermes cron remove IDDelete a job

Profiles

CommandWhat it does
hermes profile listList all profiles
hermes profile create NAMECreate a new profile
hermes profile use NAMESet sticky default
hermes profile delete NAMEDelete a profile

Credential Pools

CommandWhat it does
hermes auth addInteractive credential wizard
hermes auth list [PROVIDER]List pooled credentials
hermes auth remove P INDEXRemove by provider + index

Other

CommandWhat it does
hermes updateUpdate to latest version
hermes insights [--days N]Usage analytics
hermes status [--all]Show component status
hermes plugins listList plugins

๐Ÿ”ง Troubleshooting

Telegram bot not responding

  1. Check gateway logs: grep -i "error" ~/.hermes/logs/gateway.log | tail -20
  2. Restart gateway: hermes gateway restart
  3. If restart is blocked by approval: launchctl stop ai.hermes.gateway && sleep 3 && launchctl start ai.hermes.gateway
  4. Check bot token is set: grep "^TELEGRAM_BOT_TOKEN" ~/.hermes/.env
  5. Check Telegram loaded: grep "telegram connected" ~/.hermes/logs/gateway.log
  6. Check allowlist: grep "^TELEGRAM_ALLOWED_USERS\|^GATEWAY_ALLOW_ALL" ~/.hermes/.env

Model not working

  1. hermes doctor โ€” check config and dependencies
  2. hermes model โ€” pick a different model or provider
  3. Check ~/.hermes/.env has the right API key
  4. Test Ollama: curl http://127.0.0.1:11434/api/tags
  5. If Ollama 429 (quota): switch model via hermes config set model.default glm-5.2:cloud

Changes not taking effect

Gateway dies on SSH logout

Enable linger: sudo loginctl enable-lier $USER

๐Ÿ“ Key File Paths

PathWhat's there
~/.hermes/config.yamlMain configuration (model, provider, tools)
~/.hermes/.envAPI keys and secrets
~/.hermes/skills/Installed skills
~/.hermes/sessions/Session transcripts
~/.hermes/logs/gateway.logGateway and error logs
~/.hermes/auth.jsonOAuth tokens and credential pools
~/.hermes/hermes-agent/Source code (if git-installed)

๐Ÿ”Œ Supported Platforms

Telegram, Discord, Slack, WhatsApp, Signal, Email, SMS, Matrix, Mattermost, Home Assistant, DingTalk, Feishu, WeCom, BlueBubbles (iMessage), Weixin (WeChat), API Server, Webhooks.

โš™๏ธ Available Toolsets

ToolsetWhat it provides
webWeb search and content extraction
browserBrowser automation (Browserbase or local Chromium)
terminalShell commands and process management
fileFile read/write/search/patch
code_executionSandboxed Python execution
visionImage analysis
image_genAI image generation
ttsText-to-speech
memoryPersistent cross-session memory
delegationSubagent task delegation
cronjobScheduled task management
messagingCross-platform message sending
todoIn-session task planning
Full docs: hermes-agent.nousresearch.com/docs ยท Slash commands reference ยท Configuration guide