hermes-agent

hermes-agent

Docker 应用程序 from rorar's Repository

概述

Hermes Agent is a self-improving AI agent built by Nous Research. Features a built-in learning loop, memory system, and supports multiple messaging platforms (Telegram, Discord, Slack, WhatsApp, Matrix, Email, etc.). Stores all config, memory, sessions, and skills in /opt/data. Access the web dashboard at the same port as the gateway API (default: 9119). For detailed setup instructions, see the official docs: https://hermes-agent.nousresearch.com/docs

要求

Shared memory is set to 1GB for Playwright browser automation. If you run many concurrent browser tasks, increase --shm-size to 2g or 4g in Extra Parameters. To edit Extra Parameters, switch Basic View --> Advanced View.

运行时参数

网络用户界面
http://[IP]:[PORT:9119]
网络
bridge
外壳
bash
额外参数
--shm-size=1g --user 0:0 --hostname=hermes-agent --restart=unless-stopped

模板配置

Port: Web DashboardPorttcp

HTTP port for the web dashboard. After setup, configure Hermes to run the dashboard command. See: https://hermes-agent.nousresearch.com/docs/user-guide/features/web-dashboard

目标
9119
默认值
9119
Path: ConfigPathrw

Persistent config directory for Hermes (.env, config.yaml, skills, memories, logs).

目标
/opt/data
默认值
/mnt/user/appdata/hermes-agent
Variable: TZVariable

Timezone for scheduling. See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

目标
TZ
默认值
Europe/Berlin
--- API Server ---Variable

Docs: https://hermes-agent.nousresearch.com/docs

Variable: API_SERVER_ENABLEDVariable

Enable the built-in HTTP API server (required for dashboard and integrations).

目标
API_SERVER_ENABLED
默认值
true
Variable: API_SERVER_HOSTVariable

Host address for the API server (0.0.0.0 for all interfaces).

目标
API_SERVER_HOST
默认值
0.0.0.0
Variable: API_SERVER_PORTVariable

Port for the API server.

目标
API_SERVER_PORT
默认值
8642
Variable: API_SERVER_KEYVariable

Bearer token for API authentication. Required when binding to non-localhost. Use the same value in Open WebUI. Generate with: openssl rand -hex 32

目标
API_SERVER_KEY
--- Matrix ---Variable

Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/matrix

Variable: MATRIX_HOMESERVERVariable

Matrix homeserver URL.

目标
MATRIX_HOMESERVER
默认值
https://matrix-client.matrix.org
Variable: MATRIX_ACCESS_TOKENVariable

Matrix access token (recommended). User ID is auto-detected from token.

目标
MATRIX_ACCESS_TOKEN
Variable: MATRIX_USER_IDVariable

Matrix user ID. Not required if MATRIX_ACCESS_TOKEN is set.

目标
MATRIX_USER_ID
Variable: MATRIX_PASSWORDVariable

Matrix password. Not required if MATRIX_ACCESS_TOKEN is set.

目标
MATRIX_PASSWORD
Variable: MATRIX_RECOVERY_KEYVariable

Matrix recovery key for cross-signing (for E2EE).

目标
MATRIX_RECOVERY_KEY
Variable: MATRIX_DEVICE_IDVariable

Matrix device ID (leave empty for auto-generated).

目标
MATRIX_DEVICE_ID
默认值
HERMES_BOT
Variable: MATRIX_HOME_ROOMVariable

Matrix room ID for bot's home room (for cron notifications).

目标
MATRIX_HOME_ROOM
Variable: MATRIX_ALLOWED_USERSVariable

Comma-separated list of allowed Matrix user IDs (empty = deny all except self).

目标
MATRIX_ALLOWED_USERS
Variable: MATRIX_ENCRYPTIONVariable

Enable end-to-end encryption (requires libolm).

目标
MATRIX_ENCRYPTION
默认值
true
Variable: MATRIX_REQUIRE_MENTIONVariable

Bot only responds when mentioned in rooms (DMs always respond).

目标
MATRIX_REQUIRE_MENTION
默认值
false
Variable: MATRIX_REACTIONSVariable

Show emoji reactions during message processing.

目标
MATRIX_REACTIONS
默认值
true
Variable: MATRIX_AUTO_THREADVariable

Auto-create threads for responses in rooms.

目标
MATRIX_AUTO_THREAD
默认值
true
Variable: MATRIX_FREE_RESPONSE_ROOMSVariable

Comma-separated room IDs that respond without mention.

目标
MATRIX_FREE_RESPONSE_ROOMS
--- Telegram ---Variable

Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/telegram

Variable: TELEGRAM_BOT_TOKENVariable

Telegram bot token from @BotFather.

目标
TELEGRAM_BOT_TOKEN
Variable: TELEGRAM_ALLOWED_USERSVariable

Comma-separated list of allowed Telegram user IDs.

目标
TELEGRAM_ALLOWED_USERS
--- Discord ---Variable

Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/discord

Variable: DISCORD_BOT_TOKENVariable

Discord bot token.

目标
DISCORD_BOT_TOKEN
Variable: DISCORD_GUILD_IDVariable

Discord guild/server ID.

目标
DISCORD_GUILD_ID
--- Slack ---Variable

Docs: https://hermes-agent.nousresearch.com/docs/user-guide/messaging/slack

Variable: SLACK_BOT_TOKENVariable

Slack Bot Token (xoxb-...).

目标
SLACK_BOT_TOKEN
Variable: SLACK_APP_TOKENVariable

Slack App Token (xapp-...).

目标
SLACK_APP_TOKEN
--- LLM Provider ---Variable

Docs: https://hermes-agent.nousresearch.com/docs

Variable: OPENAI_API_KEYVariable

OpenAI API key.

目标
OPENAI_API_KEY
Variable: OPENROUTER_API_KEYVariable

OpenRouter API key.

目标
OPENROUTER_API_KEY
Variable: ANTHROPIC_API_KEYVariable

Anthropic API key (for Claude).

目标
ANTHROPIC_API_KEY
Variable: GOOGLE_API_KEYVariable

Google AI API key (for Gemini).

目标
GOOGLE_API_KEY
Variable: DEEPSEEK_API_KEYVariable

DeepSeek API key.

目标
DEEPSEEK_API_KEY
Variable: GROQ_API_KEYVariable

Groq API key (for Groq Whisper STT).

目标
GROQ_API_KEY
Variable: OLLAMA_BASE_URLVariable

Ollama base URL (e.g. http://host:11434).

目标
OLLAMA_BASE_URL
Variable: OPENAI_BASE_URLVariable

Custom OpenAI-compatible API base URL.

目标
OPENAI_BASE_URL
Variable: GLM_API_KEYVariable

z.ai / ZhipuAI GLM API key.

目标
GLM_API_KEY
Variable: KIMI_API_KEYVariable

Kimi / Moonshot API key.

目标
KIMI_API_KEY
Variable: MINIMAX_API_KEYVariable

MiniMax global API key.

目标
MINIMAX_API_KEY
Variable: MINIMAX_CN_API_KEYVariable

MiniMax China endpoint API key.

目标
MINIMAX_CN_API_KEY
Variable: KILOCODE_API_KEYVariable

Kilo Code API key.

目标
KILOCODE_API_KEY
Variable: XIAOMI_API_KEYVariable

Xiaomi MiMo API key.

目标
XIAOMI_API_KEY
Variable: HF_TOKENVariable

Hugging Face Inference Providers token.

目标
HF_TOKEN
Variable: DASHSCOPE_API_KEYVariable

Alibaba DashScope API key.

目标
DASHSCOPE_API_KEY
Variable: OPENCODE_ZEN_API_KEYVariable

OpenCode Zen API key.

目标
OPENCODE_ZEN_API_KEY
Variable: OPENCODE_GO_API_KEYVariable

OpenCode Go API key.

目标
OPENCODE_GO_API_KEY
Variable: AI_GATEWAY_API_KEYVariable

Vercel AI Gateway API key.

目标
AI_GATEWAY_API_KEY
Variable: TAVILY_API_KEYVariable

Tavily API key for AI-native web search, extract, and crawl.

目标
TAVILY_API_KEY
Variable: EXA_API_KEYVariable

Exa API key for AI-native web search and content retrieval.

目标
EXA_API_KEY
--- User & Permissions ---Variable

Docs: https://hermes-agent.nousresearch.com/docs

Variable: SUDO_PASSWORDVariable

Sudo password for the container (stored in plaintext - use with caution).

目标
SUDO_PASSWORD
Variable: HERMES_UIDVariable

UID for the hermes user inside container. Match to your Unraid user (default: nobody). Set to 0 for root.

目标
HERMES_UID
默认值
99
Variable: HERMES_GIDVariable

GID for the hermes user. Match to your Unraid users group.

目标
HERMES_GID
默认值
100
Variable: UMASKVariable

UMASK for files created by the container.

目标
UMASK
默认值
000
Variable: HERMES_HOMEVariable

Home directory for Hermes config and data.

目标
HERMES_HOME
默认值
/opt/data

类别

下载统计数据

1,704,496
下载总数

详细信息

存储库
nousresearch/hermes-agent:latest
最后更新2026-05-28
初见2026-04-13

在Unraid 上运行 hermes-agent 。

hermes-agent 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。