

Hermes Agent vs OpenClaw: Which self-hosted AI agent should you choose?
Hermes Agent and OpenClaw are open-source AI agents you can self-host. Both support persistent memory, reusable skills, messaging integrations, and multi-agent workflows, but they approach agent execution differently.
- Hermes Agent: Best if you want an agent that learns from previous tasks, builds persistent memory, and turns successful workflows into reusable skills.
- OpenClaw: Best if you want a central platform for connecting AI agents, messaging channels, tools, and integrations, with support for multiple agents and workspaces.
- Security: Both agents can run commands and use your accounts. Hermes enables dangerous-command approval checks by default, while OpenClaw's tool sandboxing is off by default.
- Deployment: Northflank runs either agent in its own microVM, isolated by default, with persistent storage for its memory and skills. One-click deploy templates for Hermes Agent and OpenClaw on Northflank's cloud or inside your own AWS, GCP, Azure, Oracle, or CoreWeave account through self-serve BYOC.
If you want to self-host an AI agent without running and securing the server yourself: Northflank is a runtime platform for agents and everything they build. Every workload runs in its own microVM, so an agent's commands stay isolated from your other services, and the same platform runs the databases, jobs, and GPUs your agents need. Get started with Northflank (self-serve) or book a demo.
| Hermes Agent | OpenClaw | |
|---|---|---|
| What it is | An autonomous agent focused on learning from repeated tasks | An AI assistant platform built around a central Gateway |
| Built by | Nous Research | OpenClaw Foundation |
| License | MIT | MIT |
| Chat apps | 20+, including Telegram, Discord, Slack, WhatsApp, Signal, and email | WhatsApp, Telegram, Discord, Slack, Signal, iMessage, Microsoft Teams, and more through channel plugins |
| Architecture | Agent runtime with memory and skill management | Gateway managing agents, sessions, channels, and integrations |
| Memory and skills | Builds and refines its own memory and skills | Workspace-based memory, skills, and extensibility through ClawHub |
| Multiple agents | Independent profiles and named bots, with message routing | Named agents with separate workspaces and message routing |
| Extensibility | Agent Skills standard and integrations | Plugins, skills, and ClawHub |
| Model providers | Nous Portal, OpenRouter, OpenAI, or any OpenAI-compatible endpoint | Configurable model providers |
| Running commands safely | Dangerous-command approval checks enabled by default, with optional container isolation | Sandboxing disabled by default, with Docker, SSH, and OpenShell backends |
| Migration | Can import an OpenClaw setup | Not applicable |
| Northflank deployment template | Yes | Yes |
| Best for | Agents that improve through repeated tasks | Connecting and coordinating agents across channels and tools |
Both projects let you run an AI assistant on infrastructure you control. You choose the model, configure the tools it can use, and decide where its data lives. You can also connect them to messaging apps, so you can send requests from apps you already use.
Hermes Agent is an open-source autonomous agent built by Nous Research and released under the MIT license. Its main feature is a learning loop that helps it make use of experience from previous tasks.
It maintains persistent memory, searches previous sessions to recall earlier work, and creates skills from successful workflows. It can also refine those skills as it uses them. The skills follow the open Agent Skills standard, so they can be reused beyond Hermes.
Hermes connects to more than 20 messaging platforms through one gateway. These include Telegram, Discord, Slack, WhatsApp, Signal, Matrix, email, and Microsoft Teams. It also supports scheduled tasks that can send results to connected platforms.
You can install Hermes through a desktop installer on Windows and macOS, an installation script on Linux, macOS, and WSL2, Nix, or its official Docker image.
OpenClaw is an open-source AI assistant platform built around a multi-channel Gateway. It connects messaging apps such as WhatsApp, Telegram, Discord, iMessage, Slack, and Signal to AI agents. The project is released under the MIT license and stewarded by the OpenClaw Foundation.
The Gateway is the central part of OpenClaw. It runs as a persistent process and manages sessions, message routing, connected channels, and communication with agents. You can interact with it through messaging apps, the Control UI, and other supported clients.
OpenClaw also supports multiple agents, each with its own workspace, configuration, and session history. You can route conversations to different agents depending on the channel or task, rather than relying on one assistant for everything.
Its extensibility is another important part of the project. OpenClaw supports plugins and skills, while ClawHub provides a registry where you can discover and install additional skills. Agents can use tools for browser automation, command execution, web search, and other tasks.
You can run OpenClaw on your own machine or deploy its Gateway using Docker.
Hermes has a learning loop built into its workflow. After completing a task, it can save useful information to memory and turn successful workflows into reusable skills. It can also refine those skills based on later experience.
OpenClaw approaches extensibility differently. It supports workspace-based skills, plugins, and ClawHub, where users can discover and install skills created by others. Its newer skill-learning capabilities also make it possible to turn useful workflows and corrections into reusable skills.
Both projects support running multiple agents, but they organise them differently.
OpenClaw lets you create named agents and use its Gateway to route conversations to the right one.
Hermes uses independent profiles and named bots. Each can have its own memory and skills, while sharing a messaging gateway and routing conversations between profiles.
Hermes stores memory in files such as MEMORY.md and USER.md. It also includes session search, which lets it look through previous conversations when it needs to recall earlier work.
OpenClaw uses an agent workspace with files such as MEMORY.md, SOUL.md, and a skills/ folder. This gives you a place to manage an agent's memory, behaviour, and skills.
Already running OpenClaw? You don't necessarily have to start from scratch if you want to try Hermes.
Hermes includes an importer that can bring across your OpenClaw persona, memory, and skills. Install the importer plugin and run:
hermes plugins install agent-importers
hermes import-agent openclaw
The importer shows a preview and asks for confirmation before making changes. API keys aren't imported by default. To include eligible secrets, you need to pass --migrate-secrets.
Both agents can run in Docker, so you can deploy them on a cloud server and access them remotely instead of installing everything on your personal computer.
The main setup differences are the container configuration, persistent storage, and resources needed by the tools you plan to use.
| Hermes Agent | OpenClaw | |
|---|---|---|
| Official container setup | Docker image: nousresearch/hermes-agent | Gateway deployed using Docker Compose |
| Where data is stored | A mounted data directory, such as /opt/data | OpenClaw state directory, such as /home/node/.openclaw in Docker |
| Memory requirements | 1 GB minimum; 2 to 4 GB recommended | Requirements depend on the deployment; building the image from source can require more memory than using a prebuilt image |
| CPU | 1 core minimum; 2 recommended | Depends on workload |
| Web interface | Dashboard on port 9119 | Control UI on port 18789 |
If you plan to use browser automation with Hermes, allow for additional memory. At least 2 GB is a sensible starting point.
Whichever agent you deploy, make sure its data directory is mounted on persistent storage. Without it, configuration, memory, skills, and session data can disappear when you recreate the container.
Both agents can execute commands, browse the web, and access the API keys and accounts you connect to them. That makes their execution environment and access permissions important parts of the setup.
Hermes Agent checks commands against a list of dangerous patterns before executing them. Its default smart approval mode approves low-risk commands, denies clearly dangerous ones, and asks for approval when a command is uncertain. If nobody responds before the timeout, the command is denied.
It also restricts messaging access. Users are denied by default unless they're allowlisted, and unknown direct messages receive a one-time pairing code that you must approve.
When Hermes uses its Docker backend, the container drops Linux capabilities except for a limited set it needs. Secrets also stay outside the container unless you explicitly pass them in.
OpenClaw supports sandboxing for agent tools, but it's disabled by default. You can configure it to use Docker, SSH, or OpenShell backends. Its documentation also recommends reviewing network exposure when running a Gateway on a public server. If you're hosting users who don't trust each other, use a separate Gateway for each trust boundary.
Regardless of which agent you choose:
- Store provider API keys and chat tokens as secrets, not in your code or container images.
- Protect administrative interfaces with authentication and HTTPS. Use private networking where possible.
- Restrict who can message the agent through allowlists or pairing.
- Run the agent on a separate server rather than giving it access to your personal machine and other services.
The better choice depends on how you intend to use your agent.
Choose Hermes Agent if:
- You give your agent the same kinds of tasks often and want it to improve at them
- You want dangerous-command approval checks enabled by default
- You want an agent that can run in a container with as little as 1 GB of memory.
- You run OpenClaw today and want to move your memory and skills across
Choose OpenClaw if:
- You want a central Gateway to manage multiple agents, channels, and sessions.
- You need separate agent workspaces for different tasks or workflows.
- You want to extend your setup through plugins, skills, and ClawHub.
- You want to interact with your agents through messaging apps, the Control UI, and supported clients.
You can also run both. Since they're self-hosted, deploying them side by side gives you a chance to compare how they handle your actual workflows.
You don't need to set up a server and configure Docker yourself. Northflank has one-click stack templates for both Hermes Agent and OpenClaw.
Each template deploys the agent as a Northflank service with persistent storage and a password-protected admin interface. Only the web interface is exposed publicly, while the Gateway runs on private networking.
Every workload runs in its own microVM, providing isolation between the agent and your other services. You can use Northflank's managed cloud or deploy into your own AWS, GCP, Azure, Oracle, or CoreWeave account through self-serve BYOC.
The Hermes Agent stack template deploys a Hermes Agent Gateway with an admin UI. Its configuration, sessions, skills, and workspace files are stored on a persistent volume, so the agent retains its data across restarts and redeployments.

- Open the Hermes Agent stack template and click
Deploy Hermes Agent now - Set the required variable (
SETUP_PASSWORD) - Click
Deploy stackto build and run the Hermes Agent template - Wait for the deployment to complete and click
Resource - Open the Hermes Agent service
- Open the public URL and sign in
- Configure your LLM provider and messaging platform, then start the gateway
You can manage the deployment from your browser without needing to connect to a server terminal.
The OpenClaw stack template deploys the OpenClaw Gateway and Control UI, with a password-protected setup wizard. Configuration, credentials, conversations, and workspace data are stored on a persistent volume. The Gateway runs on private networking.

- Open the OpenClaw stack template and click
Deploy OpenClaw now. - Set the required variable (
SETUP_PASSWORD). - Click
Deploy stackto build and run the OpenClaw template - Wait for the deployment to complete and click on
Resource - Open the OpenClaw service
- Open the public OpenClaw URL and complete setup at
/setup - Open the Control UI at
/openclaw
For a more detailed walkthrough, see How to deploy OpenClaw on Northflank securely.
Neither is the better choice for every use case. Hermes is a good fit if you want an agent that learns from repeated tasks and builds reusable skills. OpenClaw is a better fit if you want to access an assistant through several messaging apps and route conversations between multiple agents.
Yes. Both are open-source projects released under the MIT license. You may still need to pay for model inference, hosting, and any other services you connect.
Hermes enables dangerous-command approval checks by default, while OpenClaw's tool sandboxing is disabled by default. Both provide ways to restrict messaging access.
Neither is automatically secure in every deployment. Your configuration, execution environment, tool permissions, network exposure, and credential handling all matter.
Hermes Agent has a stated minimum of 1 GB, with 2 to 4 GB recommended. If you plan to use browser automation, allocate at least 2 GB as a starting point.
OpenClaw's memory requirements depend on how you deploy it. Building its Docker image from source can require more memory than using a prebuilt image. The 6 GB figure sometimes quoted refers to building from source, not a universal runtime requirement.
Yes. Hermes has an importer for OpenClaw setups. Run hermes import-agent openclaw after installing the agent-importers plugin. It can bring across your persona, memory, and skills, and shows a preview before making changes.
API keys aren't copied by default. You need to use --migrate-secrets to import eligible secrets.
Hermes Agent and OpenClaw are both capable self-hosted AI agents, but they serve slightly different needs. Hermes focuses on learning from tasks, building memory, and creating reusable skills. OpenClaw offers a broader assistant platform built around messaging channels, multiple agents, plugins, and integrations.
Whichever you choose, don't overlook persistent storage, credential management, and access controls when setting it up.
If you'd rather not manage the infrastructure yourself, you can deploy either agent using Northflank's Hermes Agent or OpenClaw stack template. Both run on Northflank's cloud or in your own cloud account through BYOC. Get started for free or talk to the team about your setup.


