Skip to main content
Loading…
AS Albert Schaper
  • 01Home
    • Profile & Career
    • Expertise
    • Overview
    • Results
    • Technical Depth
  • 04Projects
  • 05Contact
  • 06Insights
  • 07Tools
AS

Albert Schaper

01Home
Profile & CareerExpertise
OverviewResultsTechnical Depth
04Projects05Contact06Insights07Tools

AI · Finance · Entrepreneur

Home/AI Agents Atlas/Chapter 4: Runtimes
AI Agents Atlas · Chapter 4/7

Runtimes: Hermes, OpenClaw and Co.

Gateway or worker? Self-host or cloud? Pick the runtime by reach, isolation and who keeps the machine awake — not by the loudest demo.

By Albert Schaper AI Expert & Entrepreneur
10 November 2026 AI AgentsRuntimes
Auf Deutsch lesen LinkedIn X
Contents
  • The choice in one sentence
  • OpenClaw: gateway first
  • Hermes: worker and backends
  • Comparison table
  • And Co.: harnesses and local models
  • Switch without lock-in
  • Sources

The runtime is the process that hooks a model to channels, files and a shell. It decides who can reach that process, where commands run and whether the agent is still up after the laptop closes. Docs checked on 10 November 2026.

The choice in one sentence

Pick OpenClaw when you need a resident Gateway and many chat channels on one process. Pick Hermes Agent when you want a worker whose terminal runs on your machine, in Docker, over SSH or in a cloud sandbox, and add Hermes Cloud only if you want that process kept awake for you.

Both are self-hostable and MIT-licensed. The OpenClaw Foundation, an independent US 501(c)(3), stewards OpenClaw, with no paid tier and no hosted service in the middle. Telemetry is off except a version check you can disable. Hermes comes from Nous Research; their comparison page also offers Hermes Cloud and Nous Portal. Running cost is chapter 2.

OpenClaw: gateway first

One OpenClaw process on your machine or a server joins the chat apps to coding agents: Discord, Google Chat, iMessage, Matrix, Microsoft Teams, Signal, Slack, Telegram, WhatsApp, Zalo, and more through plugins. That Gateway is the source of truth for sessions, routing and channel connections. Personal or shared is the same install; what changes is ~/.openclaw/openclaw.json. The start page recommends Node 26 and also lists Node 24.22.1+ and Node 26.12.1+.

Bind, auth, port

On a normal host the Gateway binds loopback. Auth is required. The port is 18789: --port, then OPENCLAW_GATEWAY_PORT, then gateway.port, otherwise 18789. The Control UI is http://127.0.0.1:18789/. An SSH tunnel does not skip auth. In a detected container the effective default is auto, which is 0.0.0.0, unless Tailscale Serve or Funnel forces loopback. The Docker image leaves gateway.bind unset, so that default applies there too. A non-loopback bind without a valid auth path refuses to start (refusing to bind gateway ... without auth). gateway.auth.mode: "none" is an opt-out for a trusted local loopback; onboarding does not offer it. The gateway docs recommend one process per machine. A second one is for isolation, with its own ports (at least 120 apart), config and state.

Sandboxing is off

Sandboxing is off by default. The sandbox page says so. Tools move only after you set agents.defaults.sandbox, a per-agent override, or a role that requires a sandbox. The Gateway process stays on the host. The docs call the sandbox a real limit on files and processes, and not a perfect boundary. Loopback protects the control port. It is not a sandbox for exec. tools.elevated runs exec outside it on purpose. Go-live checks are in chapter 7.

Hermes: worker and backends

Hermes Agent (Nous Research) is a CLI, a messaging gateway, a desktop app and plugins. State lives under ~/.hermes/. The provider docs call Nous Portal the recommended path: one login and, as Nous’s own count, 300+ models, plus a Tool Gateway for search, images, speech and a browser. Without Portal you point it at Anthropic, any OpenAI-compatible API, or a local server. Hermes Cloud, on Hermes’s comparison page, is the hosted always-on instance. Self-hosted Hermes still needs a machine that stays up, because the gateway process holds cron and chat.

MEMORY.md and USER.md

Two files under ~/.hermes/memories/ enter the system prompt as a frozen block:

  • MEMORY.md, the agent’s notes: hard cap 2,200 characters (docs: about 800 tokens).
  • USER.md, your profile: hard cap 1,375 characters (docs: about 500 tokens).

Overflow is an error, not a silent trim. The agent has to free space in the same turn. Two processes on one Hermes home mix the entries; give the second agent its own profile. History outside the cap is session_search. memory.write_approval defaults to false (free writes, including the background review). true holds them for /memory pending.

Skills in three steps

Skills follow agentskills.io, live in ~/.hermes/skills/, and load only when the task needs them:

  • Level 0: skills_list() with name, description, category (docs: about 3,000 tokens).
  • Level 1: skill_view(name) loads the skill.
  • Level 2: skill_view(name, path) loads one file under references/.

skills.write_approval is also false. With true, changes sit in ~/.hermes/pending/skills/ until /skills approve. A repeated procedure belongs in a skill, so it does not spend the memory cap.

Terminal backends

The default is local: commands on your machine. The tools page also lists docker, ssh, modal, daytona and vercel_sandbox. singularity and sprites are plugins. Singularity (formerly built in) targets HPC containers; Sprites is a stateful Fly.io sandbox with checkpoint and restore. SSH is the documented choice when the agent must not touch its own code. Docker keeps one container and sends later calls through docker exec; /workspace survives the next tool call, and a restart only if persistence is on. For container backends Hermes documents a read-only root (Docker), dropped capabilities, no privilege escalation and PID limits. That does not apply to the default, local.

Comparison table

Each cell is a documented project fact. Where a parallel number was not published, the cell says so.

QuestionOpenClawHermes Agent
Use it forResident gateway, many channels, one processWorker with a terminal backend, optional Hermes Cloud
StewardFoundation, 501(c)(3), MIT, no paid tier, no hosted service in the middleNous Research, MIT; Portal and Cloud are add-ons
State~/.openclaw/openclaw.json~/.hermes/
NetworkPort 18789, loopback (container: 0.0.0.0), auth requiredNo default port on the pages checked here
CommandsSandbox off; Gateway process stays on the hostDefault local; docker, ssh, modal, daytona, vercel_sandbox; plugins: singularity, sprites
MemorySessions in the Gateway; character caps not established here2,200 and 1,375 characters; overflow is an error
SkillsLoaded when neededIndex, then file, then a reference; writes need no approval
HarnessesCodex app-server, Claude CLI, Copilot opt-in only, ACP separateA PTY can launch the Codex and Claude Code CLIs
SwitchWarelay → Clawdbot → Moltbot → OpenClawhermes migrate openclaw, including legacy directories

OpenClaw’s own architecture comparison targets Hermes commit 6defe7eb6c, reviewed 27 August 2026, and the page says it is not a live test of every deployment.

And Co.: harnesses and local models

OpenClaw separates provider, model and runtime. Three paths, and they do not stand in for each other:

  • Harnesses inside its own loop: the openclaw runtime and plugins such as codex. copilot only through @openclaw/copilot and the GitHub Copilot CLI; auto never selects it.
  • CLI backends launch a local program. claude-cli is Claude Code on the Gateway host; google-gemini-cli is Google’s. There is no bundled codex-cli; Codex uses the app-server.
  • ACP starts external harness sessions: Claude Code, Cursor, Copilot, Droid, OpenCode, Gemini CLI and other acpx harnesses. ACP is not the Codex default, and CLI backends are not ACP. To attach as an MCP client to an existing conversation, use openclaw mcp serve.

Local models work on both sides. OpenClaw can run llama.cpp itself or attach to Ollama, LM Studio, vLLM, SGLang, MLX or another OpenAI-compatible endpoint. Hermes manages llama.cpp from the desktop app and reaches Ollama, vLLM and llama-server through a custom endpoint; SGLang is a base_url there, not its own switch. For agent use with tools, Hermes’s provider docs require at least 64,000 tokens of context. Ollama’s default is often lower and depends on VRAM. llama-server needs --jinja, or Hermes will not recognise the tool calls.

Switch without lock-in

The documented move to Hermes is hermes migrate openclaw. It previews persona, memory, skills, providers, MCP and messaging, and imports only after you confirm. --dry-run stops at the preview. Secrets move only with --migrate-secrets. Cron jobs and plugins with no match are archived. A restore point of ~/.hermes is written first. hermes setup offers the same import when it finds ~/.openclaw. The OpenClaw pages read here do not show a one-command import back.

The name line is in OpenClaw’s lore: Warelay, a WhatsApp gateway, then Clawdbot, then Moltbot on 27 January 2026 after an Anthropic trademark email, then OpenClaw on 30 January 2026. The Hermes importer therefore also reads ~/.clawdbot and ~/.moltbot. Keys and spend limits stay a separate decision: chapter 5.

Sources

  • docs.openclaw.ai — gateway, channels, MIT, Foundation, Node
  • Gateway — port 18789, loopback, auth, SSH
  • Gateway config — bind, auth, container default
  • Sandboxing — off; the Gateway process stays on the host
  • OpenClaw on Hermes — commit 6defe7eb6c, 27 August 2026
  • Lore — Warelay, Clawdbot, Moltbot, OpenClaw
  • Agent runtimes, CLI backends, ACP
  • Local models (OpenClaw)
  • Hermes vs OpenClaw — migration, Cloud, legacy dirs; checked 9 November 2026
  • Hermes skills, memory, tools
  • Hermes providers and local models

Next: Chapter 5: Wallets · Operations: chapter 7 · Atlas: AI Agents Atlas

Cheat sheet: formulas and go-live checklist.

Previous chapter Chapter 3 ROI: When an agent pays off Next chapter Chapter 5 Wallets: protect keys, cap spending
More Insights
  • AI Agents

    Why AI agent projects fail

    Find the cause before you swap the model: data, understanding, tools, process.

  • Crypto

    Wallets for AI agents

    Policy before signature: limits, session keys, acceptance tests.

  • Finance

    What an AI agent actually costs

    Review beats tokens — with a worked example.

Albert Schaper
About the author

AI expert and entrepreneur with a finance background and a focus on execution. I support companies as a partner and partly with own capital, mainly on strategy, financing and sales, and advise teams on putting AI to work. LinkedIn

← Back to atlas
AS

AI · Finance · Entrepreneur

Navigation

HomeAboutExpertiseProjectsContactInsightsTools

Projects

Best-AI.orgBitAutorGeld 2.0Pharmaceutical company

Tools

ETH Unit ConverterAddress ValidatorQR Code GeneratorSeed Phrase ValidatorWallet Generator

© Albert Schaper. All rights reserved.

Privacy / Imprint