Farhan Beg commited on
Add files via upload
Browse files
README.md
CHANGED
|
@@ -1,83 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
-
# πͺ½ HuggingMes + Hermes WebUI
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
-
|
| 18 |
-
- **[Hermes WebUI](https://github.com/nesquena/hermes-webui)** by **[@nesquena](https://github.com/nesquena)** β the three-panel browser UI (sessions, chat, workspace files) with SSE streaming, slash commands, profiles, themes, voice input, file browser, and 100+ other features. Used as the primary chat surface.
|
| 19 |
-
- **[HuggingMes](https://github.com/somratpro/HuggingMes)** by **[@somratpro](https://github.com/somratpro)** β the HF Space wrapper: Docker image, gateway auth, HF Dataset persistence, Cloudflare proxy/keep-alive, Telegram bridge.
|
| 20 |
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
---
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
|
| 38 |
-
| --- | --- | --- |
|
| 39 |
-
| `GATEWAY_TOKEN` | Your password β gates the WebUI login and the `/v1/*` API. Pick anything strong. | Anything u want to keep as a password for your chat and dashboard |
|
| 40 |
-
| `HF_TOKEN` | Persists your sessions, profiles, skills, cron jobs, memory, and workspace files across Space restarts by syncing to a private HF Dataset every 10 min. **Without this, restarts wipe everything.** | [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens) β Create New token β **Write** scope |
|
| 41 |
-
| `CLOUDFLARE_WORKERS_TOKEN` | Auto-provisions two Cloudflare Workers: one as an outbound proxy (needed for Telegram, sometimes for blocked LLM providers) and one as a cron keep-alive worker that pings `/health` every 10 min so the Space doesn't sleep on free tier | Go to https://dash.cloudflare.com/profile/api-tokens β Create new token β Edit Cloudflare Workers (Use this template)|
|
| 42 |
|
| 43 |
-
**
|
| 44 |
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
| `CLOUDFLARE_ACCOUNT_ID` | Explicit Cloudflare account ID if you have multiple |
|
| 48 |
| `TELEGRAM_BOT_TOKEN` | Enables the Telegram bridge so you can chat with Hermes from Telegram |
|
| 49 |
| `TELEGRAM_ALLOWED_USERS` | Comma-separated numeric Telegram user IDs allowed to use the bot |
|
| 50 |
| `PRIMARY_UI` | Set to `dashboard` to make `/` show the HuggingMes status page instead of the chat UI. Default is `webui`. |
|
| 51 |
| `SYNC_INTERVAL` | Backup cadence in seconds (default 600, range 60β86400) |
|
| 52 |
| `HERMES_AGENT_VERSION` | Pin the upstream Hermes Agent base image to a specific tag for reproducibility (default `latest`) |
|
|
|
|
| 53 |
|
| 54 |
-
##
|
| 55 |
-
|
| 56 |
-
hugging face Settings β **Restart this Space** (or **Factory reboot** if you changed the Dockerfile). Wait ~5β8 minutes for the first build. Watch the **Logs** tab β when you see this, you're ready:
|
| 57 |
|
| 58 |
-
|
| 59 |
-
HuggingMes + Hermes WebUI router listening on 0.0.0.0:7861
|
| 60 |
-
```
|
| 61 |
|
| 62 |
-
Open
|
| 63 |
-
|
| 64 |
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
-
|
| 68 |
|
| 69 |
-
|
| 70 |
-
| --- | --- |
|
| 71 |
-
| `/` | **Hermes WebUI** β three-panel chat with sessions, file browser, slash commands, profiles, themes, voice input, mermaid diagrams, syntax highlighting, tool cards, and everything else hermes-webui ships |
|
| 72 |
-
| `/hm` | HuggingMes status dashboard β gateway/WebUI/backup/Telegram/keepalive tiles |
|
| 73 |
-
| `/hm/app/` | Hermes's built-in dashboard β manage providers, profiles, cron jobs |
|
| 74 |
-
| `/v1/*` | OpenAI-compatible API β point any OpenAI SDK at it with `GATEWAY_TOKEN` as the API key |
|
| 75 |
-
| `/health` | JSON health probe β no auth, used by HF Spaces and the Cloudflare keepalive worker |
|
| 76 |
-
| `/telegram` | Telegram bot webhook (only if `TELEGRAM_BOT_TOKEN` is set) |
|
| 77 |
|
| 78 |
-
|
| 79 |
|
| 80 |
-
```
|
| 81 |
curl https://<you>-<name>.hf.space/v1/chat/completions \
|
| 82 |
-H "Authorization: Bearer $GATEWAY_TOKEN" \
|
| 83 |
-H "Content-Type: application/json" \
|
|
@@ -89,6 +145,7 @@ curl https://<you>-<name>.hf.space/v1/chat/completions \
|
|
| 89 |
|
| 90 |
```python
|
| 91 |
from openai import OpenAI
|
|
|
|
| 92 |
client = OpenAI(
|
| 93 |
base_url="https://<you>-<name>.hf.space/v1",
|
| 94 |
api_key="<your GATEWAY_TOKEN>",
|
|
@@ -99,9 +156,9 @@ resp = client.chat.completions.create(
|
|
| 99 |
)
|
| 100 |
```
|
| 101 |
|
| 102 |
-
##
|
| 103 |
|
| 104 |
-
|
| 105 |
|
| 106 |
```yaml
|
| 107 |
mcp:
|
|
@@ -114,21 +171,21 @@ mcp:
|
|
| 114 |
args: ["-y", "@modelcontextprotocol/server-filesystem", "/opt/data/workspace"]
|
| 115 |
```
|
| 116 |
|
| 117 |
-
`uvx` and `npx` are
|
| 118 |
|
| 119 |
-
## Persistence
|
| 120 |
|
| 121 |
When `HF_TOKEN` is set:
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
|
| 127 |
What gets backed up: chat sessions, agent memory, workspace files, profiles, skills, cron jobs, Hermes config. The dataset is private to your HF account.
|
| 128 |
|
| 129 |
## Architecture
|
| 130 |
|
| 131 |
-
Single port (7861) Node.js router fronts
|
| 132 |
|
| 133 |
```
|
| 134 |
HF Space port 7861
|
|
@@ -146,44 +203,41 @@ HF Space port 7861
|
|
| 146 |
|
| 147 |
`start.sh` boots Hermes Agent's gateway + dashboard + WebUI as subprocesses, then the router on top. `hermes-sync.py` runs the periodic HF Dataset upload loop. Cloudflare and Telegram setup runs once at boot if their respective secrets are set.
|
| 148 |
|
| 149 |
-
## Local
|
| 150 |
|
| 151 |
-
```
|
| 152 |
git clone https://github.com/F4bC0d3/huggingmes-hermes-webui.git
|
| 153 |
cd huggingmes-hermes-webui
|
| 154 |
cp .env.example .env
|
| 155 |
-
# edit .env with
|
| 156 |
docker build -t huggingmes-hermes-webui .
|
| 157 |
docker run --rm -p 7861:7861 --env-file .env huggingmes-hermes-webui
|
| 158 |
# open http://localhost:7861
|
| 159 |
```
|
| 160 |
|
| 161 |
-
## Troubleshooting
|
| 162 |
|
| 163 |
| Symptom | Cause / Fix |
|
| 164 |
| --- | --- |
|
| 165 |
| Build fails on `nousresearch/hermes-agent:latest` | Set `HERMES_AGENT_VERSION` to a specific tag and restart |
|
| 166 |
-
| Container Running but `/` returns 502 | Hermes WebUI didn't bind. Check Logs tab for `webui.log` output β usually missing/wrong
|
| 167 |
| `/v1/*` returns 401 | Need `Authorization: Bearer <GATEWAY_TOKEN>` header |
|
| 168 |
| `/api/status` 404s in logs | Cosmetic β old browser tab polling. Ignored. |
|
| 169 |
| Login loops on `/login` | Browser embedded in HF iframe blocks cookies. Open the Space in a new tab. |
|
| 170 |
-
|
|
| 171 |
| Space sleeps after a few hours | Free tier limitation. Add `CLOUDFLARE_WORKERS_TOKEN` to provision a keep-alive cron worker |
|
| 172 |
| Telegram bot doesn't respond | HF Spaces blocks `api.telegram.org` egress. Add `CLOUDFLARE_WORKERS_TOKEN` to auto-provision an outbound proxy |
|
| 173 |
| Two Spaces overwriting each other's backup | Set different `BACKUP_DATASET_NAME` on each |
|
| 174 |
-
|
| 175 |
-
## Want a native Android app?
|
| 176 |
-
|
| 177 |
-
I have a companion Android wrapper at **[F4bC0d3/hermes-mobile](https://github.com/F4bC0d3/hermes-mobile)** β same auth flow, sessions drawer, ChatGPT/Claude-style top bar, all hermes-webui features inside. Just point it at your Space URL.
|
| 178 |
|
| 179 |
## Credits
|
| 180 |
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
|
| 185 |
-
This repo's only contribution is the integration layer: a Node.js router that fronts both UIs on a single HF Space port, unified auth where one `GATEWAY_TOKEN` gates everything, and minor tweaks to `start.sh` to launch hermes-webui alongside the existing HuggingMes processes. If you find this useful, star the upstream projects
|
| 186 |
|
| 187 |
## License
|
| 188 |
|
| 189 |
-
MIT β same as
|
|
|
|
| 1 |
+
# πͺ½ HuggingMes + Hermes WebUI
|
| 2 |
+
|
| 3 |
+
Run your own AI agent with a chat interface on Hugging Face Spaces β for free.
|
| 4 |
+
|
| 5 |
+
> **This is not original work.** It combines three great open-source projects into one easy-to-deploy package:
|
| 6 |
+
> - [Hermes Agent](https://github.com/NousResearch/hermes-agent) by Nous Research β the AI brain
|
| 7 |
+
> - [Hermes WebUI](https://github.com/nesquena/hermes-webui) by @nesquena β the chat interface
|
| 8 |
+
> - [HuggingMes](https://github.com/somratpro/HuggingMes) by @somratpro β the Hugging Face wrapper
|
| 9 |
+
|
| 10 |
+
All credit goes to the original creators. This repo just wires them together.
|
| 11 |
+
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
## Quick Setup (5 minutes)
|
| 15 |
+
|
| 16 |
+
### 1. Duplicate the Space
|
| 17 |
+
|
| 18 |
+
[](https://huggingface.co/spaces/f4b404/hermes?duplicate=true)
|
| 19 |
+
|
| 20 |
+
Click the badge above, name your space, pick **CPU Basic (Free)**, and keep it public.
|
| 21 |
+
|
| 22 |
+
### 2. Add Your Secrets
|
| 23 |
+
|
| 24 |
+
Go to **Settings β Variables and secrets** in your new Space and add these:
|
| 25 |
+
|
| 26 |
+
| Secret | What It's For | How to Get It |
|
| 27 |
+
|--------|---------------|---------------|
|
| 28 |
+
| `GATEWAY_TOKEN` | Your password for logging into the chat | Make up any strong password |
|
| 29 |
+
| `HF_TOKEN` | Saves your chats and settings so they don't disappear | [Get a Write token here](https://huggingface.co/settings/tokens) |
|
| 30 |
+
| `CLOUDFLARE_WORKERS_TOKEN` | Keeps your Space awake and lets Telegram work | [Create a token here](https://dash.cloudflare.com/profile/api-tokens) with **Edit Cloudflare Workers** permission |
|
| 31 |
+
|
| 32 |
+
### 3. Add an AI Provider
|
| 33 |
+
|
| 34 |
+
Your agent needs an AI model to talk to. Add one of these API keys as a secret (or configure later in the dashboard):
|
| 35 |
+
|
| 36 |
+
| Secret | Provider |
|
| 37 |
+
|--------|----------|
|
| 38 |
+
| `OPENAI_API_KEY` | OpenAI (GPT models) |
|
| 39 |
+
| `ANTHROPIC_API_KEY` | Anthropic (Claude models) |
|
| 40 |
+
| `MOONSHOT_API_KEY` | Moonshot / Kimi |
|
| 41 |
+
|
| 42 |
+
Or configure manually later at `/hm/app/config` inside your Space.
|
| 43 |
+
|
| 44 |
+
### 4. Start It Up
|
| 45 |
+
|
| 46 |
+
Hit **Restart this Space** in Hugging Face. Wait 5β8 minutes for the first build.
|
| 47 |
+
|
| 48 |
+
When you see this in the Logs tab, you're ready:
|
| 49 |
+
```
|
| 50 |
+
HuggingMes + Hermes WebUI router listening on 0.0.0.0:7861
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
Open your Space URL (`https://your-name.hf.space`) in a **new tab**, enter your `GATEWAY_TOKEN`, and start chatting.
|
| 54 |
+
|
| 55 |
+
> **Pro tip:** Bookmark the direct `*.hf.space` URL β it works better on mobile than the Hugging Face embed.
|
| 56 |
+
|
| 57 |
---
|
|
|
|
| 58 |
|
| 59 |
+
## What You Get
|
| 60 |
|
| 61 |
+
| URL | What It Is |
|
| 62 |
+
|-----|------------|
|
| 63 |
+
| `/` | **Chat UI** β main interface for talking to your agent |
|
| 64 |
+
| `/hm` | Status dashboard β see what's running |
|
| 65 |
+
| `/hm/app/` | Settings β add AI models, set up cron jobs, manage profiles |
|
| 66 |
+
| `/v1/*` | API endpoint β connect other apps to your agent |
|
| 67 |
+
| `/telegram` | Telegram bot (if you added `TELEGRAM_BOT_TOKEN`) |
|
| 68 |
|
| 69 |
+
---
|
|
|
|
|
|
|
| 70 |
|
| 71 |
+
## Your Data Is Safe
|
| 72 |
+
|
| 73 |
+
When `HF_TOKEN` is set:
|
| 74 |
+
- All your chats, files, settings, and agent memory are backed up to a **private** Hugging Face Dataset every 10 minutes
|
| 75 |
+
- If the Space restarts, everything comes back exactly as you left it
|
| 76 |
|
| 77 |
---
|
| 78 |
|
| 79 |
+
## Common Issues
|
| 80 |
|
| 81 |
+
| Problem | Fix |
|
| 82 |
+
|---------|-----|
|
| 83 |
+
| Login keeps looping | Open the Space URL in a new tab (Hugging Face iframe blocks cookies) |
|
| 84 |
+
| Space goes to sleep after a few hours | Make sure `CLOUDFLARE_WORKERS_TOKEN` is set |
|
| 85 |
+
| Agent doesn't reply to questions | Check that you added an AI provider API key |
|
| 86 |
+
| Dashboard shows blank pages | Hard-refresh and clear service workers in browser dev tools |
|
| 87 |
|
| 88 |
+
---
|
| 89 |
|
| 90 |
+
## Want It on Your Phone?
|
| 91 |
|
| 92 |
+
Check out the companion Android app: [F4bC0d3/hermes-mobile](https://github.com/F4bC0d3/hermes-mobile)
|
| 93 |
|
| 94 |
+
---
|
| 95 |
|
| 96 |
+
# π§ Advanced Setup & Technical Details
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
|
| 98 |
+
> **Skip this section if you just want to chat.** The steps above are enough to get started. This part is for developers, power users, and anyone who wants to customize or understand the internals.
|
| 99 |
|
| 100 |
+
## Optional Secrets (Power Users)
|
| 101 |
+
|
| 102 |
+
| Secret | What It Does |
|
| 103 |
+
|--------|--------------|
|
| 104 |
| `CLOUDFLARE_ACCOUNT_ID` | Explicit Cloudflare account ID if you have multiple |
|
| 105 |
| `TELEGRAM_BOT_TOKEN` | Enables the Telegram bridge so you can chat with Hermes from Telegram |
|
| 106 |
| `TELEGRAM_ALLOWED_USERS` | Comma-separated numeric Telegram user IDs allowed to use the bot |
|
| 107 |
| `PRIMARY_UI` | Set to `dashboard` to make `/` show the HuggingMes status page instead of the chat UI. Default is `webui`. |
|
| 108 |
| `SYNC_INTERVAL` | Backup cadence in seconds (default 600, range 60β86400) |
|
| 109 |
| `HERMES_AGENT_VERSION` | Pin the upstream Hermes Agent base image to a specific tag for reproducibility (default `latest`) |
|
| 110 |
+
| `BACKUP_DATASET_NAME` | Name of the private HF Dataset used for persistence (default `huggingmes-backup`) |
|
| 111 |
|
| 112 |
+
## Configure LLM Provider via Config Editor
|
|
|
|
|
|
|
| 113 |
|
| 114 |
+
If you prefer not to add API keys as HF Secrets, you can configure providers directly in Hermes after the Space starts:
|
|
|
|
|
|
|
| 115 |
|
| 116 |
+
1. Open `/hm/app/config` in your Space
|
| 117 |
+
2. Add your provider under the `llm` section:
|
| 118 |
|
| 119 |
+
```yaml
|
| 120 |
+
llm:
|
| 121 |
+
openai:
|
| 122 |
+
api_key: "${OPENAI_API_KEY}"
|
| 123 |
+
anthropic:
|
| 124 |
+
api_key: "${ANTHROPIC_API_KEY}"
|
| 125 |
+
moonshot:
|
| 126 |
+
api_key: "${MOONSHOT_API_KEY}"
|
| 127 |
+
base_url: "https://api.moonshot.cn/v1"
|
| 128 |
+
```
|
| 129 |
|
| 130 |
+
If you set the API keys as HF Secrets, you can reference them with `${VAR_NAME}` as shown above. Hermes supports many providers β see the [Hermes Agent docs](https://github.com/NousResearch/hermes-agent) for the full list.
|
| 131 |
|
| 132 |
+
## Using the API from Code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
Your Space exposes an OpenAI-compatible API at `/v1/*`:
|
| 135 |
|
| 136 |
+
```shell
|
| 137 |
curl https://<you>-<name>.hf.space/v1/chat/completions \
|
| 138 |
-H "Authorization: Bearer $GATEWAY_TOKEN" \
|
| 139 |
-H "Content-Type: application/json" \
|
|
|
|
| 145 |
|
| 146 |
```python
|
| 147 |
from openai import OpenAI
|
| 148 |
+
|
| 149 |
client = OpenAI(
|
| 150 |
base_url="https://<you>-<name>.hf.space/v1",
|
| 151 |
api_key="<your GATEWAY_TOKEN>",
|
|
|
|
| 156 |
)
|
| 157 |
```
|
| 158 |
|
| 159 |
+
## Adding MCP Servers
|
| 160 |
|
| 161 |
+
MCP (Model Context Protocol) servers extend your agent's capabilities. Add them via the config editor at `/hm/app/config`:
|
| 162 |
|
| 163 |
```yaml
|
| 164 |
mcp:
|
|
|
|
| 171 |
args: ["-y", "@modelcontextprotocol/server-filesystem", "/opt/data/workspace"]
|
| 172 |
```
|
| 173 |
|
| 174 |
+
`uvx` and `npx` are pre-installed in the image.
|
| 175 |
|
| 176 |
+
## Persistence Details
|
| 177 |
|
| 178 |
When `HF_TOKEN` is set:
|
| 179 |
|
| 180 |
+
* **On boot**, the Space downloads the latest snapshot from your private HF Dataset and restores it into `/opt/data/`.
|
| 181 |
+
* **Every `SYNC_INTERVAL` seconds** (default 600), it detects state changes and uploads a new snapshot.
|
| 182 |
+
* **On graceful shutdown** (SIGTERM), it does one final sync before exit.
|
| 183 |
|
| 184 |
What gets backed up: chat sessions, agent memory, workspace files, profiles, skills, cron jobs, Hermes config. The dataset is private to your HF account.
|
| 185 |
|
| 186 |
## Architecture
|
| 187 |
|
| 188 |
+
Single port (7861) Node.js router fronts multiple backends:
|
| 189 |
|
| 190 |
```
|
| 191 |
HF Space port 7861
|
|
|
|
| 203 |
|
| 204 |
`start.sh` boots Hermes Agent's gateway + dashboard + WebUI as subprocesses, then the router on top. `hermes-sync.py` runs the periodic HF Dataset upload loop. Cloudflare and Telegram setup runs once at boot if their respective secrets are set.
|
| 205 |
|
| 206 |
+
## Local Testing
|
| 207 |
|
| 208 |
+
```shell
|
| 209 |
git clone https://github.com/F4bC0d3/huggingmes-hermes-webui.git
|
| 210 |
cd huggingmes-hermes-webui
|
| 211 |
cp .env.example .env
|
| 212 |
+
# edit .env with GATEWAY_TOKEN and provider API keys (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY)
|
| 213 |
docker build -t huggingmes-hermes-webui .
|
| 214 |
docker run --rm -p 7861:7861 --env-file .env huggingmes-hermes-webui
|
| 215 |
# open http://localhost:7861
|
| 216 |
```
|
| 217 |
|
| 218 |
+
## Extended Troubleshooting
|
| 219 |
|
| 220 |
| Symptom | Cause / Fix |
|
| 221 |
| --- | --- |
|
| 222 |
| Build fails on `nousresearch/hermes-agent:latest` | Set `HERMES_AGENT_VERSION` to a specific tag and restart |
|
| 223 |
+
| Container Running but `/` returns 502 | Hermes WebUI didn't bind. Check Logs tab for `webui.log` output β usually missing/wrong provider API key or LLM config |
|
| 224 |
| `/v1/*` returns 401 | Need `Authorization: Bearer <GATEWAY_TOKEN>` header |
|
| 225 |
| `/api/status` 404s in logs | Cosmetic β old browser tab polling. Ignored. |
|
| 226 |
| Login loops on `/login` | Browser embedded in HF iframe blocks cookies. Open the Space in a new tab. |
|
| 227 |
+
| Dashboard pages blank or 404 on refresh | Should be fixed by the SPA rewriter in health-server.js. Hard-refresh and unregister service worker if cached: DevTools β Application β Service Workers β Unregister |
|
| 228 |
| Space sleeps after a few hours | Free tier limitation. Add `CLOUDFLARE_WORKERS_TOKEN` to provision a keep-alive cron worker |
|
| 229 |
| Telegram bot doesn't respond | HF Spaces blocks `api.telegram.org` egress. Add `CLOUDFLARE_WORKERS_TOKEN` to auto-provision an outbound proxy |
|
| 230 |
| Two Spaces overwriting each other's backup | Set different `BACKUP_DATASET_NAME` on each |
|
| 231 |
+
| Agent responds but cannot answer questions | No LLM provider configured. Add provider API keys and restart, or configure via `/hm/app/config` |
|
|
|
|
|
|
|
|
|
|
| 232 |
|
| 233 |
## Credits
|
| 234 |
|
| 235 |
+
* **[Nous Research](https://nousresearch.com/)** for **[Hermes Agent](https://github.com/NousResearch/hermes-agent)** β the agent runtime, the persistent memory system, the multi-provider LLM routing, the cron and skills systems. None of this exists without their work.
|
| 236 |
+
* **[@nesquena](https://github.com/nesquena)** for **[Hermes WebUI](https://github.com/nesquena/hermes-webui)** β the chat interface you actually see and use. Three-panel layout, SSE streaming, slash commands, profile management, theme system, mobile responsive design β all theirs.
|
| 237 |
+
* **[@somratpro](https://github.com/somratpro)** for **[HuggingMes](https://github.com/somratpro/HuggingMes)** β the HF Space packaging, the HF Dataset backup engine (`hermes-sync.py`), the Cloudflare proxy and keepalive setup, the Telegram integration, and the gateway auth wrapper.
|
| 238 |
|
| 239 |
+
This repo's only contribution is the integration layer: a Node.js router that fronts both UIs on a single HF Space port, unified auth where one `GATEWAY_TOKEN` gates everything, and minor tweaks to `start.sh` to launch hermes-webui alongside the existing HuggingMes processes. If you find this useful, star the upstream projects.
|
| 240 |
|
| 241 |
## License
|
| 242 |
|
| 243 |
+
MIT β same as all upstream projects.
|