GitHub · 项目涌现

EKKOLearnAI/hermes-web-ui

二〇二六年六月六日·★ 3,791·⑂ 470·TypeScript·MIT ·最新发布 v0.5.13 · 2026-05-07 · GitHub 原仓库

Hermes Web UI 是面向 Hermes Agent 的 Web dashboard,支持 AI Chat、8 类平台 channel 配置、使用分析、cron jobs、Model 管理、多 Profile/Gateway、文件浏览器、Group Chat、Skills/Memory、Logs、Authentication、Settings 与 Web Terminal,可通过 npm、脚本或 Docker Compose 安装。


功能

AI Chat

平台 Channel

在一个页面中统一配置 8 个平台

平台 功能
Telegram Bot token、mention 控制、reactions、free-response chats
Discord Bot token、mention、auto-thread、reactions、channel allow/ignore lists
Slack Bot token、mention 控制、bot message 处理
WhatsApp 启用/禁用、mention 控制、mention patterns
Matrix Access token、homeserver、auto-thread、DM mention threads
Feishu (Lark) App ID / Secret、mention 控制
WeChat QR code 登录(在浏览器中扫码,自动保存 credentials)
WeCom Bot ID / Secret

使用分析

定时任务

Model 管理

多 Profile 与 Gateway

文件浏览器

Group Chat

Skills 与 Memory

Logs

Authentication

Settings

Web Terminal


快速开始

npm(推荐)

npm install -g hermes-web-ui
hermes-web-ui start

打开 http://localhost:8648

一行安装(自动检测 OS)

在 Debian/Ubuntu/macOS 上自动安装 Node.js(如缺失)和 hermes-web-ui:

bash <(curl -fsSL https://raw.githubusercontent.com/EKKOLearnAI/hermes-web-ui/main/scripts/setup.sh)

WSL

bash <(curl -fsSL https://raw.githubusercontent.com/EKKOLearnAI/hermes-web-ui/main/scripts/setup.sh)
hermes-web-ui start

WSL 会自动检测并使用 hermes gateway run 进行后台启动(不使用 launchd/systemd)。

Docker Compose

同时运行 Web UI 与 Hermes Agent:

# Use pre-built image (Recommended)
WEBUI_IMAGE=ekkoye8888/hermes-web-ui:latest docker compose up -d hermes-agent hermes-webui

# Or build from source
docker compose up -d --build hermes-agent hermes-webui

docker compose logs -f hermes-webui

打开 http://localhost:6060

详细说明和故障排查请参见 docs/docker.md

CLI 命令

命令 说明
hermes-web-ui start 在后台启动(daemon mode)
hermes-web-ui start --port 9000 使用自定义端口启动
hermes-web-ui stop 停止后台进程
hermes-web-ui restart 重启后台进程
hermes-web-ui status 检查是否正在运行
hermes-web-ui update 更新到最新版本并重启
hermes-web-ui -v 显示版本号
hermes-web-ui -h 显示帮助信息

自动配置

启动时,BFF server 会自动:


开发

git clone https://github.com/EKKOLearnAI/hermes-web-ui.git
cd hermes-web-ui
npm install
npm run dev
npm run build   # outputs to dist/

架构

Browser → BFF (Koa, :8648) → Hermes Gateway (:8642)
                ↓
           Hermes CLI (sessions, logs, version)
                ↓
           ~/.hermes/config.yaml  (channel behavior)
           ~/.hermes/auth.json    (credential pool)
           Tencent iLink API      (WeChat QR login)

Frontend 以 multi-agent extensibility 为设计目标 —— 所有 Hermes-specific 代码都按命名空间放在 hermes/ 目录下(API、components、views、stores),因此可以直接在旁边添加新的 agent integrations。

BFF layer 负责 API proxy(带 path rewriting)、SSE streaming、文件上传和下载(multi-backend:local/Docker/SSH/Singularity)、通过 CLI 进行 session CRUD、config/credential 管理、WeChat QR 登录、model discovery、skills/memory 管理、log 读取,以及 static file serving。

Tech Stack

Frontend: Vue 3 + TypeScript + Vite + Naive UI + Pinia + Vue Router + vue-i18n + SCSS + markdown-it + highlight.js

Backend: Koa 2 (BFF server) + node-pty (web terminal)

Star History

Star History Chart

赞助

如果你觉得这个项目对你有帮助,欢迎支持我:

License

MIT

同时见于 gh-search:ai-agent、gh-search:agent
译自 GitHub · 项目涌现 · 录于 二〇二六年六月六日