Hermes WebUI: The best way to use Hermes Agent from the web or from your phone!
Hermes WebUI: The best way to use Hermes Agent from the web or from your phone!
Hermes Agent is a sophisticated autonomous agent that lives on your server, accessed via a terminal or messaging apps, that remembers what it learns and gets more capable the longer it runs.
Hermes WebUI is a lightweight, dark-themed web app interface in your browser for Hermes Agent. Full parity with the CLI experience - everything you can do from a terminal, you can do from this UI. No build step, no framework, no bundler. Just Python and vanilla JS.
Layout: three-panel. Left sidebar for sessions and navigation, center for chat, right for workspace file browsing. Model, profile, and workspace controls live in the composer footer — always visible while composing. A circular context ring shows token usage at a glance. All settings and session tools are in the Hermes Control Center (launcher at the sidebar bottom).
Setup Hermes so you can access it natively on every device:
|
|
This gives you nearly 1:1 parity with Hermes CLI from a convenient web UI which you can access securely through an SSH tunnel from your Hermes setup. Single command to start this up, and a single command to SSH tunnel for access on your computer. Every single part of the web UI uses your existing Hermes agent and existing models, without requiring any additional setup.
bootstrap.py / start.sh / ctl.shMost AI tools reset every session. They don't know who you are, what you worked on, or what conventions your project follows. You re-explain yourself every time.
Hermes retains context across sessions, runs scheduled jobs while you're offline, and gets smarter about your environment the longer it runs. It uses your existing Hermes agent setup, your existing models, and requires no additional configuration to start.
What makes it different from other agentic tools:
vs. the field (landscape is actively shifting — see docs/why-hermes.md for the full breakdown):
| OpenClaw | Claude Code | Codex CLI | OpenCode | Hermes | |
|---|---|---|---|---|---|
| Persistent memory (auto) | Yes | Partial† | Partial | Partial | Yes |
| Scheduled jobs (self-hosted) | Yes | No‡ | No | No | Yes |
| Messaging app access | Yes (15+ platforms) | Partial (Telegram/Discord preview) | No | No | Yes (10+) |
| Web UI (self-hosted) | Dashboard only | No | No | Yes | Yes |
| Self-improving skills | Partial | No | No | No | Yes |
| Python / ML ecosystem | No (Node.js) | No | No | No | Yes |
| Provider-agnostic | Yes | No (Claude only) | Yes | Yes | Yes |
| Open source | Yes (MIT) | No | Yes | Yes | Yes |
† Claude Code has CLAUDE.md / MEMORY.md project context and rolling auto-memory, but not full automatic cross-session recall
‡ Claude Code has cloud-managed scheduling (Anthropic infrastructure) and session-scoped /loop; no self-hosted cron
The closest competitor is OpenClaw — both are always-on, self-hosted, open-source agents with memory, cron, and messaging. The key differences: Hermes writes and saves its own skills automatically as a core behavior (OpenClaw's skill system centers on a community marketplace); Hermes is more stable across updates (OpenClaw has documented release regressions and ClawHub has had security incidents involving malicious skills); and Hermes runs natively in the Python ecosystem. See docs/why-hermes.md for the full side-by-side.
Run the repo bootstrap:
git clone https://github.com/nesquena/hermes-webui.git hermes-webui
cd hermes-webui
python3 bootstrap.pyOr keep using the shell launcher:
./start.shFor self-hosted VM or homelab installs, ctl.sh wraps the common daemon lifecycle commands without requiring fuser or pkill:
./ctl.sh start # background daemon, PID at ~/.hermes/webui.pid
./ctl.sh status # PID, uptime, bound host/port, log path, /health
./ctl.sh logs --lines 100 # tail ~/.hermes/webui.log
./ctl.sh restart
./ctl.sh stopctl.sh start runs the bootstrap in foreground/no-browser mode behind the daemon wrapper, writes logs to ~/.hermes/webui.log, and respects .env plus inline overrides such as HERMES_WEBUI_HOST=0.0.0.0 ./ctl.sh start.
Stopping the server. Each launch method has its own stop path because only
ctl.sh startwrites a PID file (~/.hermes/webui.pid):
Launch method How to stop python3 bootstrap.pyCtrl-C in the terminal (runs in the foreground) ./ctl.sh start./ctl.sh stop(sends SIGTERM, waits, then SIGKILL)Detached bootstrap.py(no--foreground) or./start.shFind the PID via lsof -i :8787(orss -tlnp) andkillit
./ctl.sh stopcannot stop a server launched bybootstrap.pyorstart.shdirectly — it only manages processes it started itself.
How chat runs by default. WebUI runs the Hermes agent in-process, reading your
HERMES_HOMEconfig directly. It does not connect to an external Hermes/agent OpenAI-compatible API server to run chat.HERMES_API_URLis only read by the Tasks/cron health probe and does not route chat.Two options if you run an external endpoint:
- Use its models as a chat provider (supported today): add it in Settings → Providers as a custom OpenAI-compatible provider with
base_url = http://127.0.0.1:8642/v1and your bearer token.- Route chat through a Hermes Gateway API server (supported today via
HERMES_WEBUI_CHAT_BACKEND=gateway): seedocs/advanced-chat-setup.md. Full agent-loop delegation is not yet shipped; tracked in #1925.
Two optional, self-hosted-deployment features — attaching dynamic session-recall prefill to browser turns (Joplin/Obsidian/Notion/llm-wiki routers), and routing browser chat through a running Hermes Gateway — are documented in docs/advanced-chat-setup.md. Most users need neither.
The bootstrap will:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash)./health.--no-browser.Native Windows is not supported for this bootstrap yet. Use Linux, macOS, or WSL2. For Windows / WSL auto-start at login, see
docs/wsl-autostart.md.
A community-maintained native Windows setup is documented at @markwang2658/hermes-windows-native-guide (companion setup repo: @markwang2658/hermes-windows-native). Notes from the community report in #1952:
python -m venv venv → pip install -r requirements.txt → pwsh .\start.ps1 (it auto-discovers venv\Scripts\python.exe).venv/bin/python, ELF) isn't invokable by native Windows Python, so use the native setup above. WSL2 stays useful as a parallel install if you want the full bootstrap.py + Linux runtime.If provider setup is still incomplete after install, the onboarding wizard will point you to finish it with hermes model instead of trying to replicate the full CLI setup in-browser.
For a step-by-step walkthrough of the wizard, provider choices, local model server Base URLs, and safe re-runs, see docs/onboarding.md.
If an AI assistant is helping with install, reinstall, bootstrap, provider setup, or first-run support, have it read docs/onboarding-agent-checklist.md before running commands or inspecting logs.
~/.hermes/webui/attachments/<session_id>/, or HERMES_WEBUI_ATTACHMENT_DIR/<session_id>/ when configured)Large sessions: ~5s compact_and_merge on every /api/session poll holds session lock -> send/steer timeouts, spurious not_running
Model picker stores a malformed model/provider pair for non-default providers
bug(sidebar): resize handle drag never ends on mouseup — sidebar stays stuck to the cursor until page refresh
bug(sidebar): date-group headers (Yesterday / This Week) don't toggle expand/collapse — click is a no-op
model.provider: ollama makes every Custom-group model fail with custom:<tag-prefix> not configured
Public share creation 500s on a conversation with a >4 KB inline image (ENAMETOOLONG in _resolve_against_roots)
perf(ux): "+ New Chat" has noticeable 2-3s UI freeze due to sequential full sidebar repaint, workspace loadDir, and stream teardown
Self-locked truncation_watermark silently drops all post-compression turns
[security] Remote images in assistant replies let a prompt injection send chat data out with no tool call
perf(profiles): profile skill stats still dominate `/api/profiles`, profile switch and `/api/sessions?all_profiles=1` — cache is cleared on every switch and the mtime probe walks every skill file