hermes-agent-template

作者 praveen-ks-2001已验证

One-click Railway template for Hermes Agent. A web admin dashboard for provider/channel setup, gateway supervision, user pairing, and backup/restore, with the native Hermes UI proxied behind one login.

293
Stars
270
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/praveen-ks-2001/hermes-agent-template

快速入门

使用 hermes-agent-template 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Hermes Agent — Railway Template

Deploy Hermes Agent on Railway with a web-based admin dashboard for configuration, gateway management, and user pairing.

Deploy on Railway

Hermes Agent is an autonomous AI agent by Nous Research that lives on your server, connects to your messaging channels (Telegram, Discord, Slack, etc.), and gets more capable the longer it runs.

Features

  • Admin Dashboard — dark-themed setup wizard at /setup to configure providers, channels, tools, and manage the gateway
  • Full Hermes Dashboard — the native Hermes web UI (Chat, Keys, Skills, Kanban, Analytics, Console) is proxied at /, behind the same login
  • One-Page Setup — provider dropdown, checkbox-based channel/tool toggles — no config files to edit
  • Gateway Management — start, stop, restart the Hermes gateway from the browser, with automatic restart if it crashes
  • Live Status — stat cards for gateway state, uptime, model, and pending pairing requests
  • Live Logs — streaming gateway log viewer
  • User Pairing — approve or deny users who message your bot, revoke access anytime
  • Password-Protected — one cookie-based login guards both the setup wizard and the Hermes dashboard
  • Reset Config — one-click reset to start fresh
  • Backup & Restore — download a full snapshot (config, credentials, chat history, memories, skills) as a zip, and restore it — including into a fresh project — to clone a deployment. Not encrypted; a safety snapshot is taken automatically before every restore.

Getting Started

The easiest way to get started:

1. Get an LLM Provider Key (free)

  1. Register for free at OpenRouter
  2. Create an API key from your OpenRouter dashboard
  3. Pick a free model from the model list sorted by price (e.g. google/gemma-3-1b-it:free, meta-llama/llama-3.1-8b-instruct:free)

2. Set Up a Telegram Bot (fastest channel)

Hermes Agent interacts entirely through messaging channels — there is no chat UI like ChatGPT. Telegram is the quickest to set up:

  1. Open Telegram and message @BotFather
  2. Send /newbot, follow the prompts, and copy the Bot Token
  3. Send a message to your new bot — it will appear as a pairing request in the admin dashboard
  4. To find your Telegram user ID, message @userinfobot

3. Deploy to Railway

  1. Click the Deploy on Railway button above
  2. Set the ADMIN_PASSWORD environment variable (or a random one will be generated and printed to deploy logs)
  3. Attach a volume mounted at /data (persists config across redeploys)
  4. Open your app URL — log in with username admin and your password

4. Configure in the Admin Dashboard

  1. LLM Provider — select OpenRouter from the dropdown, paste your API key, enter the model name
  2. Messaging Channel — check Telegram, paste the Bot Token from BotFather
  3. Click Save & Start — the gateway will start and your bot goes live

5. Start Chatting

Message your Telegram bot. If you're a new user, a pairing request will appear in the admin dashboard under Users — click Approve, and you're in.

Environment Variables

VariableDefaultDescription
PORT8080Web server port (set automatically by Railway)
ADMIN_USERNAMEadminLogin username
ADMIN_PASSWORD(auto-generated)Login password — if unset, a random password is printed to the deploy logs. Changing it redeploys the service, which signs everyone out.
HERMES_REF(pinned in Dockerfile)Hermes Agent version to install (any upstream git tag/branch). Set this to override the Dockerfile default without editing code — see Updating Hermes.

All other configuration (LLM provider, model, channels, tools) is managed through the admin dashboard.

Supported Providers

Selectable from the setup wizard's dropdown:

OpenRouter, Anthropic (Claude), Google AI Studio, xAI (API key or SuperGrok OAuth), DeepSeek, Qwen Cloud (DashScope), GLM / Z.AI, Kimi, MiniMax (global and China), NVIDIA NIM, Fireworks AI, NovitaAI, Arcee AI, Step Plan, GMI Cloud, Hugging Face, GitHub Copilot, OpenCode Zen, OpenCode Go, Kilo Code, Ollama Cloud, Actual Computer, AWS Bedrock, Azure Foundry, and any OpenAI-compatible Custom Endpoint.

Every other provider Hermes supports can still be configured from the Hermes Dashboard → Keys tab — the wizard covers the common ones, not the limit.

Supported Channels

Telegram, Discord, Slack, WhatsApp, Email, Mattermost, Matrix

Supported Tool Integrations

Parallel (search), Firecrawl (scraping), Tavily (search), FAL (image gen), Browserbase, GitHub, OpenAI Voice (Whisper/TTS), Honcho (memory)

Architecture

One container runs a single public process that fronts two managed Hermes subprocesses:

Railway Container
└── server.py — Starlette + Uvicorn on 0.0.0.0:$PORT   (the only public surface)
    ├── /login, /logout    — cookie login (7-day, httponly)
    ├── /health            — health check (no auth)
    ├── /setup             — this template's setup wizard
    ├── /setup/api/*       — config, status, logs, gateway, pairing, backup, OAuth
    ├── /  and  /*         — reverse-proxied to the native Hermes dashboard
    │
    ├── hermes dashboard   — native Hermes web UI, bound to 127.0.0.1:9119
    └── hermes gateway     — the agent itself (Telegram, Discord, …), auto-restarted

The Hermes dashboard is never exposed directly — it binds loopback and is reachable only through the proxy, so one login covers both UIs. The gateway is supervised: if it crashes or is OOM-killed, server.py restarts it with backoff, giving up only if it fails repeatedly (Railway would not restart it on its own, because server.py is still alive and healthy).

Config lives on the /data volume at /data/.hermes/ (.env, config.yaml, auth.json, sessions, pairing state) and survives redeploys. Gateway output is captured into a ring buffer and streamed to the Logs panel.

Running Locally

docker build -t hermes-agent .
docker run --rm -it -p 8080:8080 -e PORT=8080 -e ADMIN_PASSWORD=changeme -v hermes-data:/data hermes-agent

Open http://localhost:8080 and log in with admin / changeme.

Updating Hermes

This template pins a specific Hermes Agent release in the Dockerfile (ARG HERMES_REF, currently v2026.8.13). To upgrade:

  • Recommended: set a HERMES_REF service variable in Railway to any upstream release tag (e.g. v2026.8.13), then redeploy. It's passed in as a Docker build arg and overrides the Dockerfile default — no code change needed.
  • Or bump ARG HERMES_REF in the Dockerfile and redeploy.

The "Update" button inside the Hermes dashboard is a no-op on Railway (it detects a container install and refuses) — the image is immutable, so a runtime self-update wouldn't survive a redeploy. Bump HERMES_REF and redeploy instead. When jumping releases, re-check that the Dockerfile's install extras still match upstream's pyproject.toml.

Credits

常见问题

What is hermes-agent-template?

hermes-agent-template is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by praveen-ks-2001. One-click Railway template for Hermes Agent. A web admin dashboard for provider/channel setup, gateway supervision, user pairing, and backup/restore, with the native Hermes UI proxied behind one login. It has 293 GitHub stars.

Is hermes-agent-template safe to use?

Yes. hermes-agent-template passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install hermes-agent-template?

Clone the repository with "git clone https://github.com/praveen-ks-2001/hermes-agent-template" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is hermes-agent-template written in?

hermes-agent-template is primarily written in Python. It is open-source under praveen-ks-2001 on GitHub, so you can review or fork the full source.

Are there alternatives to hermes-agent-template?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh hermes-agent-template against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情