Instructions to use Wellz1000/hermes-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HERMES
How to use Wellz1000/hermes-2 with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README with Hermes 2 documentation
Browse files
README.md
CHANGED
|
@@ -1,264 +1,71 @@
|
|
| 1 |
-
<p align="center">
|
| 2 |
-
<img src="assets/banner.png" alt="Hermes Agent" width="100%">
|
| 3 |
-
</p>
|
| 4 |
-
|
| 5 |
-
# Hermes Agent ☤
|
| 6 |
-
<p align="center">
|
| 7 |
-
<a href="https://hermes-agent.nousresearch.com/">Hermes Agent</a> | <a href="https://hermes-agent.nousresearch.com/">Hermes Desktop</a>
|
| 8 |
-
</p>
|
| 9 |
-
<p align="center">
|
| 10 |
-
<a href="https://hermes-agent.nousresearch.com/docs/"><img src="https://img.shields.io/badge/Docs-hermes--agent.nousresearch.com-FFD700?style=for-the-badge" alt="Documentation"></a>
|
| 11 |
-
<a href="https://discord.gg/NousResearch"><img src="https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"></a>
|
| 12 |
-
<a href="https://github.com/NousResearch/hermes-agent/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" alt="License: MIT"></a>
|
| 13 |
-
<a href="https://nousresearch.com"><img src="https://img.shields.io/badge/Built%20by-Nous%20Research-blueviolet?style=for-the-badge" alt="Built by Nous Research"></a>
|
| 14 |
-
<a href="README.zh-CN.md"><img src="https://img.shields.io/badge/Lang-中文-red?style=for-the-badge" alt="中文"></a>
|
| 15 |
-
<a href="README.ur-pk.md"><img src="https://img.shields.io/badge/Lang-اردو-green?style=for-the-badge" alt="اردو"></a>
|
| 16 |
-
<a href="README.es.md"><img src="https://img.shields.io/badge/Lang-Español-orange?style=for-the-badge" alt="Español"></a>
|
| 17 |
-
</p>
|
| 18 |
-
|
| 19 |
-
**The self-improving AI agent built by [Nous Research](https://nousresearch.com).** It's the only agent with a built-in learning loop — it creates skills from experience, improves them during use, nudges itself to persist knowledge, searches its own past conversations, and builds a deepening model of who you are across sessions. Run it on a $5 VPS, a GPU cluster, or serverless infrastructure that costs nearly nothing when idle. It's not tied to your laptop — talk to it from Telegram while it works on a cloud VM.
|
| 20 |
-
|
| 21 |
-
Use any model you want — [Nous Portal](https://portal.nousresearch.com), OpenRouter, OpenAI, your own endpoint, and [many others](https://hermes-agent.nousresearch.com/docs/integrations/providers). Switch with `hermes model` — no code changes, no lock-in.
|
| 22 |
-
|
| 23 |
-
<table>
|
| 24 |
-
<tr><td><b>A real terminal interface</b></td><td>Full TUI with multiline editing, slash-command autocomplete, conversation history, interrupt-and-redirect, and streaming tool output.</td></tr>
|
| 25 |
-
<tr><td><b>Lives where you do</b></td><td>Telegram, Discord, Slack, WhatsApp, Signal, and CLI — all from a single gateway process. Voice memo transcription, cross-platform conversation continuity.</td></tr>
|
| 26 |
-
<tr><td><b>A closed learning loop</b></td><td>Agent-curated memory with periodic nudges. Autonomous skill creation after complex tasks. Skills self-improve during use. FTS5 session search with LLM summarization for cross-session recall. <a href="https://github.com/plastic-labs/honcho">Honcho</a> dialectic user modeling. Compatible with the <a href="https://agentskills.io">agentskills.io</a> open standard.</td></tr>
|
| 27 |
-
<tr><td><b>Scheduled automations</b></td><td>Built-in cron scheduler with delivery to any platform. Daily reports, nightly backups, weekly audits — all in natural language, running unattended.</td></tr>
|
| 28 |
-
<tr><td><b>Delegates and parallelizes</b></td><td>Spawn isolated subagents for parallel workstreams. Write Python scripts that call tools via RPC, collapsing multi-step pipelines into zero-context-cost turns.</td></tr>
|
| 29 |
-
<tr><td><b>Runs anywhere, not just your laptop</b></td><td>Seven terminal backends — local, Docker, SSH, Singularity, Modal, Daytona, and Vercel Sandbox. Daytona and Modal offer serverless persistence — your agent's environment hibernates when idle and wakes on demand, costing nearly nothing between sessions. Run it on a $5 VPS or a GPU cluster.</td></tr>
|
| 30 |
-
<tr><td><b>Research-ready</b></td><td>Batch trajectory generation, trajectory compression for training the next generation of tool-calling models.</td></tr>
|
| 31 |
-
</table>
|
| 32 |
-
|
| 33 |
---
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
|
| 41 |
-
```
|
| 42 |
-
|
| 43 |
-
### Windows (native, PowerShell)
|
| 44 |
-
|
| 45 |
-
> **Heads up:** Native Windows runs Hermes without WSL — CLI, gateway, TUI, and tools all work natively. If you'd rather use WSL2, the Linux/macOS one-liner above works there too. Found a bug? Please [file issues](https://github.com/NousResearch/hermes-agent/issues).
|
| 46 |
-
|
| 47 |
-
Run this in PowerShell:
|
| 48 |
-
|
| 49 |
-
```powershell
|
| 50 |
-
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
|
| 51 |
-
```
|
| 52 |
-
|
| 53 |
-
The installer handles everything: uv, Python 3.11, Node.js, ripgrep, ffmpeg, **and a portable Git Bash** (MinGit, unpacked to `%LOCALAPPDATA%\hermes\git` — no admin required, completely isolated from any system Git install). Hermes uses this bundled Git Bash to run shell commands.
|
| 54 |
-
|
| 55 |
-
If you already have Git installed, the installer detects it and uses that instead. Otherwise a ~45MB MinGit download is all you need — it won't touch or interfere with any system Git.
|
| 56 |
-
|
| 57 |
-
> **Android / Termux:** The tested manual path is documented in the [Termux guide](https://hermes-agent.nousresearch.com/docs/getting-started/termux). On Termux, Hermes installs a curated `.[termux]` extra because the full `.[all]` extra currently pulls Android-incompatible voice dependencies.
|
| 58 |
-
>
|
| 59 |
-
> **Windows:** Native Windows is fully supported — the PowerShell one-liner above installs everything. If you'd rather use WSL2, the Linux command works there too. Native Windows install lives under `%LOCALAPPDATA%\hermes`; WSL2 installs under `~/.hermes` as on Linux.
|
| 60 |
-
|
| 61 |
-
After installation:
|
| 62 |
-
|
| 63 |
-
```bash
|
| 64 |
-
source ~/.bashrc # reload shell (or: source ~/.zshrc)
|
| 65 |
-
hermes # start chatting!
|
| 66 |
-
```
|
| 67 |
-
|
| 68 |
-
### Troubleshooting
|
| 69 |
-
|
| 70 |
-
#### Windows Defender or antivirus flags `uv.exe` as malware
|
| 71 |
-
|
| 72 |
-
If your antivirus (Bitdefender, Windows Defender, etc.) quarantines `uv.exe` from the Hermes `bin` folder (`%LOCALAPPDATA%\hermes\bin\uv.exe`), this is a **false positive**. The file is Astral's `uv` — the Rust Python package manager Hermes bundles to manage its Python environment. ML-based antivirus engines commonly flag unsigned Rust binaries that download and install packages.
|
| 73 |
-
|
| 74 |
-
**To verify your copy is authentic:**
|
| 75 |
-
|
| 76 |
-
```powershell
|
| 77 |
-
# Install GitHub CLI if needed
|
| 78 |
-
winget install --id GitHub.cli
|
| 79 |
-
|
| 80 |
-
# Login to GitHub
|
| 81 |
-
gh auth login
|
| 82 |
-
|
| 83 |
-
# Run verification
|
| 84 |
-
$uv = "$env:LOCALAPPDATA\hermes\bin\uv.exe"
|
| 85 |
-
$ver = (& $uv --version).Split(' ')[1]
|
| 86 |
-
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
| 87 |
-
$zip = "$env:TEMP\uv.zip"
|
| 88 |
-
Invoke-WebRequest "https://github.com/astral-sh/uv/releases/download/$ver/uv-x86_64-pc-windows-msvc.zip" -OutFile $zip -UseBasicParsing
|
| 89 |
-
gh attestation verify $zip --repo astral-sh/uv
|
| 90 |
-
Expand-Archive $zip "$env:TEMP\uv_x" -Force
|
| 91 |
-
(Get-FileHash "$env:TEMP\uv_x\uv.exe").Hash -eq (Get-FileHash $uv).Hash
|
| 92 |
-
```
|
| 93 |
-
|
| 94 |
-
If attestation says "Verification succeeded" and the last line prints `True`, you're good.
|
| 95 |
-
|
| 96 |
-
**To whitelist Hermes:**
|
| 97 |
-
- **Windows Defender:** Run PowerShell as Admin → `Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\hermes\bin"`
|
| 98 |
-
- **Bitdefender:** Add an exception in the Bitdefender console (Protection > Antivirus > Settings > Manage Exceptions)
|
| 99 |
-
- Whitelist the **folder**, not the file hash — Hermes updates `uv` and the hash changes every version
|
| 100 |
-
|
| 101 |
-
For more context, see the upstream Astral reports: [astral-sh/uv#13553](https://github.com/astral-sh/uv/issues/13553), [astral-sh/uv#15011](https://github.com/astral-sh/uv/issues/15011), [astral-sh/uv#10079](https://github.com/astral-sh/uv/issues/10079).
|
| 102 |
-
|
| 103 |
---
|
| 104 |
|
| 105 |
-
#
|
| 106 |
|
| 107 |
-
|
| 108 |
-
hermes # Interactive CLI — start a conversation
|
| 109 |
-
hermes model # Choose your LLM provider and model
|
| 110 |
-
hermes tools # Configure which tools are enabled
|
| 111 |
-
hermes config set # Set individual config values
|
| 112 |
-
hermes config get # Print individual config values
|
| 113 |
-
hermes gateway # Start the messaging gateway (Telegram, Discord, etc.)
|
| 114 |
-
hermes setup # Run the full setup wizard (configures everything at once)
|
| 115 |
-
hermes claw migrate # Migrate from OpenClaw (if coming from OpenClaw)
|
| 116 |
-
hermes update # Update to the latest version
|
| 117 |
-
hermes doctor # Diagnose any issues
|
| 118 |
-
```
|
| 119 |
|
| 120 |
-
|
| 121 |
|
| 122 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
|
| 124 |
-
##
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
-
|
| 129 |
-
- **Tool Gateway** — web search (Firecrawl), image generation (FAL), text-to-speech (OpenAI), cloud browser (Browser Use), all routed through your sub. No extra accounts.
|
| 130 |
|
| 131 |
-
|
| 132 |
|
| 133 |
```bash
|
| 134 |
-
|
|
|
|
| 135 |
```
|
| 136 |
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
You can still bring your own keys per-tool whenever you want — the gateway is per-backend, not all-or-nothing.
|
| 140 |
-
|
| 141 |
-
---
|
| 142 |
-
|
| 143 |
-
## CLI vs Messaging Quick Reference
|
| 144 |
-
|
| 145 |
-
Hermes has two entry points: start the terminal UI with `hermes`, or run the gateway and talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or Email. Once you're in a conversation, many slash commands are shared across both interfaces.
|
| 146 |
-
|
| 147 |
-
| Action | CLI | Messaging platforms |
|
| 148 |
-
| ------------------------------ | --------------------------------------------- | -------------------------------------------------------------------------------- |
|
| 149 |
-
| Start chatting | `hermes` | Run `hermes gateway setup` + `hermes gateway start`, then send the bot a message |
|
| 150 |
-
| Start fresh conversation | `/new` or `/reset` | `/new` or `/reset` |
|
| 151 |
-
| Change model | `/model [provider:model]` | `/model [provider:model]` |
|
| 152 |
-
| Set a personality | `/personality [name]` | `/personality [name]` |
|
| 153 |
-
| Retry or undo the last turn | `/retry`, `/undo` | `/retry`, `/undo` |
|
| 154 |
-
| Compress context / check usage | `/compress`, `/usage`, `/insights [--days N]` | `/compress`, `/usage`, `/insights [days]` |
|
| 155 |
-
| Browse skills | `/skills` or `/<skill-name>` | `/<skill-name>` |
|
| 156 |
-
| Interrupt current work | `Ctrl+C` or send a new message | `/stop` or send a new message |
|
| 157 |
-
| Platform-specific status | `/platforms` | `/status`, `/sethome` |
|
| 158 |
-
|
| 159 |
-
For the full command lists, see the [CLI guide](https://hermes-agent.nousresearch.com/docs/user-guide/cli) and the [Messaging Gateway guide](https://hermes-agent.nousresearch.com/docs/user-guide/messaging).
|
| 160 |
-
|
| 161 |
-
---
|
| 162 |
-
|
| 163 |
-
## Documentation
|
| 164 |
-
|
| 165 |
-
All documentation lives at **[hermes-agent.nousresearch.com/docs](https://hermes-agent.nousresearch.com/docs/)**:
|
| 166 |
-
|
| 167 |
-
| Section | What's Covered |
|
| 168 |
-
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
|
| 169 |
-
| [Quickstart](https://hermes-agent.nousresearch.com/docs/getting-started/quickstart) | Install → setup → first conversation in 2 minutes |
|
| 170 |
-
| [CLI Usage](https://hermes-agent.nousresearch.com/docs/user-guide/cli) | Commands, keybindings, personalities, sessions |
|
| 171 |
-
| [Configuration](https://hermes-agent.nousresearch.com/docs/user-guide/configuration) | Config file, providers, models, all options |
|
| 172 |
-
| [Messaging Gateway](https://hermes-agent.nousresearch.com/docs/user-guide/messaging) | Telegram, Discord, Slack, WhatsApp, Signal, Home Assistant |
|
| 173 |
-
| [Security](https://hermes-agent.nousresearch.com/docs/user-guide/security) | Command approval, DM pairing, container isolation |
|
| 174 |
-
| [Tools & Toolsets](https://hermes-agent.nousresearch.com/docs/user-guide/features/tools) | 40+ tools, toolset system, terminal backends |
|
| 175 |
-
| [Skills System](https://hermes-agent.nousresearch.com/docs/user-guide/features/skills) | Procedural memory, Skills Hub, creating skills |
|
| 176 |
-
| [Memory](https://hermes-agent.nousresearch.com/docs/user-guide/features/memory) | Persistent memory, user profiles, best practices |
|
| 177 |
-
| [MCP Integration](https://hermes-agent.nousresearch.com/docs/user-guide/features/mcp) | Connect any MCP server for extended capabilities |
|
| 178 |
-
| [Cron Scheduling](https://hermes-agent.nousresearch.com/docs/user-guide/features/cron) | Scheduled tasks with platform delivery |
|
| 179 |
-
| [Context Files](https://hermes-agent.nousresearch.com/docs/user-guide/features/context-files) | Project context that shapes every conversation |
|
| 180 |
-
| [Architecture](https://hermes-agent.nousresearch.com/docs/developer-guide/architecture) | Project structure, agent loop, key classes |
|
| 181 |
-
| [Contributing](https://hermes-agent.nousresearch.com/docs/developer-guide/contributing) | Development setup, PR process, code style |
|
| 182 |
-
| [CLI Reference](https://hermes-agent.nousresearch.com/docs/reference/cli-commands) | All commands and flags |
|
| 183 |
-
| [Environment Variables](https://hermes-agent.nousresearch.com/docs/reference/environment-variables) | Complete env var reference |
|
| 184 |
-
|
| 185 |
-
---
|
| 186 |
-
|
| 187 |
-
## Migrating from OpenClaw
|
| 188 |
-
|
| 189 |
-
If you're coming from OpenClaw, Hermes can automatically import your settings, memories, skills, and API keys.
|
| 190 |
-
|
| 191 |
-
**During first-time setup:** The setup wizard (`hermes setup`) automatically detects `~/.openclaw` and offers to migrate before configuration begins.
|
| 192 |
-
|
| 193 |
-
**Anytime after install:**
|
| 194 |
|
| 195 |
```bash
|
| 196 |
-
|
| 197 |
-
hermes claw migrate --dry-run # Preview what would be migrated
|
| 198 |
-
hermes claw migrate --preset user-data # Migrate without secrets
|
| 199 |
-
hermes claw migrate --overwrite # Overwrite existing conflicts
|
| 200 |
```
|
| 201 |
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
- **SOUL.md** — persona file
|
| 205 |
-
- **Memories** — MEMORY.md and USER.md entries
|
| 206 |
-
- **Skills** — user-created skills → `~/.hermes/skills/openclaw-imports/`
|
| 207 |
-
- **Command allowlist** — approval patterns
|
| 208 |
-
- **Messaging settings** — platform configs, allowed users, working directory
|
| 209 |
-
- **API keys** — allowlisted secrets (Telegram, OpenRouter, OpenAI, Anthropic, ElevenLabs)
|
| 210 |
-
- **TTS assets** — workspace audio files
|
| 211 |
-
- **Workspace instructions** — AGENTS.md (with `--workspace-target`)
|
| 212 |
-
|
| 213 |
-
See `hermes claw migrate --help` for all options, or use the `openclaw-migration` skill for an interactive agent-guided migration with dry-run previews.
|
| 214 |
-
|
| 215 |
-
---
|
| 216 |
|
| 217 |
-
|
| 218 |
|
| 219 |
-
|
|
|
|
|
|
|
|
|
|
| 220 |
|
| 221 |
-
|
| 222 |
-
full git checkout it creates at `$HERMES_HOME/hermes-agent` (usually
|
| 223 |
-
`~/.hermes/hermes-agent`). This matches the layout used by `hermes update`, the
|
| 224 |
-
managed venv, lazy dependencies, gateway, and docs tooling.
|
| 225 |
|
| 226 |
```bash
|
| 227 |
-
|
| 228 |
-
cd "${HERMES_HOME:-$HOME/.hermes}/hermes-agent"
|
| 229 |
-
uv pip install -e ".[all,dev]"
|
| 230 |
-
scripts/run_tests.sh
|
| 231 |
```
|
| 232 |
|
| 233 |
-
|
| 234 |
-
want the managed install layout):
|
| 235 |
-
|
| 236 |
-
Create the venv outside the cloned source tree — a venv inside the directory
|
| 237 |
-
the agent operates from can be wiped by a relative-path command the agent runs
|
| 238 |
-
against its own checkout, destroying the running runtime mid-session.
|
| 239 |
|
| 240 |
```bash
|
| 241 |
-
|
| 242 |
-
uv venv ~/.hermes/venvs/hermes-dev --python 3.11
|
| 243 |
-
source ~/.hermes/venvs/hermes-dev/bin/activate
|
| 244 |
-
uv pip install -e ".[all,dev]"
|
| 245 |
-
scripts/run_tests.sh
|
| 246 |
```
|
| 247 |
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
## Community
|
| 251 |
-
|
| 252 |
-
- 💬 [Discord](https://discord.gg/NousResearch)
|
| 253 |
-
- 📚 [Skills Hub](https://agentskills.io)
|
| 254 |
-
- 🐛 [Issues](https://github.com/NousResearch/hermes-agent/issues)
|
| 255 |
-
- 🔌 [computer-use-linux](https://github.com/avifenesh/computer-use-linux) — Linux desktop-control MCP server for Hermes and other MCP hosts, with AT-SPI accessibility trees, Wayland/X11 input, screenshots, and compositor window targeting.
|
| 256 |
-
- 🔌 [HermesClaw](https://github.com/AaronWong1999/hermesclaw) — Community WeChat bridge: Run Hermes Agent and OpenClaw on the same WeChat account.
|
| 257 |
|
| 258 |
-
-
|
|
|
|
|
|
|
| 259 |
|
| 260 |
## License
|
| 261 |
|
| 262 |
-
MIT
|
| 263 |
-
|
| 264 |
-
Built by [Nous Research](https://nousresearch.com).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- agent
|
| 5 |
+
- telegram
|
| 6 |
+
- hermes
|
| 7 |
+
- ai-assistant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Hermes 2 - Personal AI Agent
|
| 11 |
|
| 12 |
+
Hermes 2 is a personal AI agent that runs across CLI, messaging gateways (Telegram, Discord, Slack, and 20+ other platforms), TUI, and an Electron desktop app.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
## Features
|
| 15 |
|
| 16 |
+
- Memory and Learning - Learns across sessions with persistent memory and skills
|
| 17 |
+
- Subagents - Delegates complex tasks to specialized subagents
|
| 18 |
+
- Scheduled Jobs - Run cron-style scheduled tasks
|
| 19 |
+
- Terminal and Browser - Controls real terminal and browser
|
| 20 |
+
- Plugins and Skills - Extended through plugins and skills
|
| 21 |
+
- Multi-Platform - Telegram, Discord, Slack, WhatsApp, and more
|
| 22 |
|
| 23 |
+
## Telegram Bot
|
| 24 |
|
| 25 |
+
This instance is configured with Telegram integration via [@well_ia_bot](https://t.me/well_ia_bot).
|
| 26 |
|
| 27 |
+
## Quick Start
|
|
|
|
| 28 |
|
| 29 |
+
### 1. Clone the repository
|
| 30 |
|
| 31 |
```bash
|
| 32 |
+
git clone https://huggingface.co/Wellz1000/hermes-2
|
| 33 |
+
cd hermes-2
|
| 34 |
```
|
| 35 |
|
| 36 |
+
### 2. Install dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
```bash
|
| 39 |
+
pip install -e ".[all]"
|
|
|
|
|
|
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
+
### 3. Configure environment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
Create a `.env` file with your API keys:
|
| 45 |
|
| 46 |
+
```env
|
| 47 |
+
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
|
| 48 |
+
OPENAI_API_KEY=your_openai_key
|
| 49 |
+
```
|
| 50 |
|
| 51 |
+
### 4. Run the gateway
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
```bash
|
| 54 |
+
hermes gateway
|
|
|
|
|
|
|
|
|
|
| 55 |
```
|
| 56 |
|
| 57 |
+
## Docker Deployment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
```bash
|
| 60 |
+
docker compose up -d
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
```
|
| 62 |
|
| 63 |
+
## Links
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
+
- [Documentation](https://hermes.nousresearch.com)
|
| 66 |
+
- [Telegram Bot](https://t.me/well_ia_bot)
|
| 67 |
+
- [Nous Research](https://nousresearch.com)
|
| 68 |
|
| 69 |
## License
|
| 70 |
|
| 71 |
+
MIT License
|
|
|
|
|
|