Lesson 1 of 6
What is Hermes and When to Use It
Estimated time: 8 minutes
What is Hermes and When to Use It
Hermes is a persistent AI agent framework developed by Nous Research — the lab behind the Hermes, Nomos, and Psyche large-language-model series. Unlike OpenClaw, which is a gateway-first connectivity orchestrator bridging 24+ messaging platforms, Hermes is an agent-first cognitive engine built around a continuous learning loop.
This lesson explains what Hermes is, how it differs from OpenClaw, and when to pick one over the other.
This course is not "Hermes vs. OpenClaw." It's "Hermes, alongside OpenClaw." Many teams run both — OpenClaw at the edge of their messaging stack, Hermes as a deep-work engine for code and long-horizon pipelines.
The Core Architectural Difference
| Axis | OpenClaw | Hermes |
|---|---|---|
| Primary runtime | Node.js / TypeScript | Python (managed by uv) |
| Topology | Centralized WebSocket Gateway (port 18789) | Headless runtime / continuous event loop |
| Interface | Live Canvas (A2UI) + chat apps | Terminal UI + optional messaging gateway |
| Integration model | Directory-based plugins, ClawHub marketplace | Model Context Protocol (MCP) + agentskills.io |
| Primary design goal | Universal connectivity across 24+ channels | Autonomous deep execution, self-improvement |
OpenClaw is optimized for breadth — make the same agent reachable from WhatsApp, Slack, Telegram, Discord, Matrix, Signal, Google Chat, Teams, and Zalo at once. Hermes is optimized for depth — give a single agent a persistent memory, sandboxed execution, and the ability to rewrite its own skills over time.
The Closed Learning Loop
The defining feature of Hermes: after each task, the runtime enters a structured reflection phase. It analyzes the trajectory of steps it just executed, extracts the patterns that worked, discards the ones that didn't, and writes the distilled procedure to ~/.hermes/skills/ as a new SKILL.md file.
The next time a similar task arrives, Hermes loads that file instead of re-reasoning from scratch. Community benchmarks show this produces 2-3× speedups on repetitive structured work after just 10-20 iterations.
This is why Hermes is described as a framework that grows with you rather than a tool you reconfigure every time your requirements change.
Six Deployment Backends
Hermes is built as a portable, headless runtime. It runs on six backends with no source changes:
- Local process — your laptop,
~/.hermes/as its home. - Docker — for sandboxed execution; the recommended default for anything touching a filesystem.
- SSH — run on a remote box, drive from your terminal.
- Daytona — Daytona workspaces.
- Singularity — HPC / research clusters.
- Modal — serverless; scale-to-zero when idle, start on trigger.
A $5 VPS will happily host a 24/7 Hermes. A Modal deployment can drop baseline infra cost to near zero for bursty workflows.
When to Pick Hermes
Choose Hermes when you want:
- Persistent project memory across weeks or months — a coding partner that remembers your codebase quirks, legacy schemas, and stylistic preferences.
- Self-refining workflows — repetitive structured tasks (code reviews, log analysis, nightly reports) that should get faster and cheaper as they run.
- Sandboxed execution for anything touching the host — Docker, Modal, and Singularity are first-class.
- Local-first operation on open models — zero variable API cost with Ollama, vLLM, or Qwen3-Coder.
- Air-gapped enterprise workflows — Atropos RL integration lets you generate batch trajectories and fine-tune proprietary models without leaking IP.
When to Pick OpenClaw Instead
Stay with OpenClaw when you want:
- Broad consumer-channel reach — 24+ messaging platforms from one instance.
- A large marketplace of ready-made skills — 13,000+ on ClawHub.
- Visual/interactive output — Live Canvas dynamically rendering HTML/CSS/JS in real time.
- Non-technical users — the managed OpenClaw Launch and MyClaw.ai tiers start at $3/month.
Many Teams Run Both
A common topology:
[Users / Channels]
│
▼
OpenClaw (gateway) ──────► triggers / forwards tasks
│
▼
Hermes (cognitive engine)
│
┌──────────────┼──────────────┐
▼ ▼ ▼
Docker Modal Codebase
(serverless)
OpenClaw fronts the humans. Hermes does the heavy, long-horizon work behind the curtain. That's the pattern we'll keep in mind throughout this course — but every lesson below stands on its own whether you have OpenClaw installed or not.
What's Next
In the next lesson you'll install Hermes locally, configure an LLM provider, and verify the runtime — including the one-click migration path if you already have an ~/.openclaw directory.
Reference throughout this course: the OpenClaw vs. Hermes research post goes deeper on memory, token economics, and the ClawHavoc security incident. Worth reading after you finish the hands-on lessons here.
Complete Hermes Install: uv, setup wizard, and migration from OpenClaw
# Installing Hermes Agent — Practical Guide Hermes is a Python-based AI agent runtime that uses `uv` for dependency management and stores everything in `~/.hermes/`. Here's the complete install flow....