Back to news

Code

The OpenClaw to Hermes Migration: Step-by-Step.

Moving from OpenClaw's messaging-first architecture to Hermes' learning runtime requires planning. Here is the practical migration path, including the built-in migration tool and manual steps for complex setups.

AI Kick Start editorial image for The OpenClaw to Hermes Migration: Step-by-Step.

Decision

Start narrow

Use the article to decide the smallest useful workflow worth testing before expanding the system.

Risk to watch

Hype drift

Avoid turning a practical adoption step into a broad transformation promise nobody can verify.

Proof to collect

Business signal

Write down the owner, data boundary, review point, and measurable outcome before the first build.

TL;DR

TL;DR: Moving from OpenClaw's messaging-first architecture to Hermes' learning runtime requires planning. Here is the practical migration path, including the built-in migration tool and manual steps for complex setups.

Key takeaways

  • Briefing: If you run a self-hosted AI agent, the past few months have probably forced a decision you were hoping to put off.
  • Pre-Migration Assessment: Before you run `hermes claw migrate`, take stock of your current OpenClaw setup.
  • Phase 1: Run the Migration Tool: Hermes ships [`hermes claw migrate`](https://hermes-agent.nousresearch.com/docs/guides/migrate-from-openclaw) for exactly this transition.
  • Phase 2: Review and Remediate: The tool gives you a report of what it sorted out on its own and what still needs you.
  • Phase 3: Parallel Operation: Run both systems side by side for a while.

Briefing

If you run a self-hosted AI agent, the past few months have probably forced a decision you were hoping to put off. Two open-source frameworks, OpenClaw and Hermes, have become the default choices for teams who want an agent wired into their own messaging tools rather than a vendor's hosted product. Lately a lot of those teams are weighing a move from the first to the second.

Two things are driving it. In early February, OpenClaw was hit with a serious security flaw, CVE-2026-25253, a one-click remote-code-execution bug that let an attacker steal auth tokens over a WebSocket. Security vendors found tens of thousands of exposed instances before a patch landed. At the same time, Hermes has been winning over engineers with its memory system, which learns from how your team actually works instead of forgetting everything between sessions.

The catch is that switching is not a copy-paste job. The two tools are built on opposite ideas. OpenClaw puts an agent on top of messaging plumbing. Hermes does the reverse: it puts messaging on top of an agent designed to learn. Move between them and you are not just changing software, you are changing the shape of how your agent thinks.

This guide walks through the migration end to end, from the audit you should run before you touch anything, through the official tooling, to the cutover.

OpenClaw's CVE-2026-25253 incident and the learning advantages of Hermes' Honcho memory are pushing the decision. The patch for the CVE shipped in OpenClaw version 2026.1.29, so if you are staying on OpenClaw for any stretch, update first. As for community sentiment, reviews of Reddit discussion suggest no clear winner and plenty of people running both; one widely shared breakdown reportedly put the split near 35% OpenClaw, 30% Hermes, and 20% both, though that exact figure is unconfirmed. Either way, migration is not trivial. The two architectures differ at the root: OpenClaw wraps an agent around messaging infrastructure, while Hermes wraps messaging around a learning agent.

Pre-Migration Assessment

Before you run hermes claw migrate, take stock of your current OpenClaw setup.

# Audit installed skills and their sources
openclaw skills list --verbose > skills_audit.json

# Check which messaging channels are active
openclaw channels list > channels_audit.json

# Export memory files
cp MEMORY.md hermes_migration/
cp -r .openclaw/journal/ hermes_migration/journal/

# Document custom configurations
openclaw config export > config_backup.json

What you are looking for:

  • Custom skills that aren't published on agentskills.io
  • Channel-specific workflows, like Discord bot commands
  • Cron-scheduled sub-agents
  • Integrations with external services

Phase 1: Run the Migration Tool

Hermes ships `hermes claw migrate` for exactly this transition.

# Install Hermes
pip install hermes-agent

# Run the migration
hermes claw migrate \
  --source ~/.openclaw \
  --target ./hermes_project \
  --import-memory \
  --import-channels \
  --import-skills

According to the official docs, the migration tool handles three things. The exact internal breakdown below is illustrative, but it matches the documented behaviour:

  1. Memory conversion: MEMORY.md and journal files are turned into Honcho dialectic memory entries. Each journal entry becomes a conversation with its context attached.
  2. Channel migration: Discord, Slack, Telegram, and other channel configs are mapped onto Hermes' messaging adapters.
  3. Skill mapping: OpenClaw AgentSkills are matched to Hermes tool equivalents where one exists. Anything without a direct match gets flagged for you to review by hand.

Phase 2: Review and Remediate

The tool gives you a report of what it sorted out on its own and what still needs you. The numbers below are example output, not figures from a real run:

Migration Report
================
Memory entries: 1,247 imported (100%)
Channels: 5 imported, 2 require manual config
Skills: 23 mapped automatically, 8 flagged for review
Sub-agents: 3 cron schedules migrated
Warnings:
  - Custom skill "internal-deploy" has no Hermes equivalent
  - Telegram webhook URL needs updating
  - Discord bot permissions may need re-authorisation

Manual Skill Migration

When a skill doesn't map on its own, you have three options:

  1. Find an equivalent on [agentskills.io](https://github.com/VoltAgent/awesome-openclaw-skills): Look for a community-maintained alternative.
  2. Port the skill: Convert the Node.js skill to Python for Hermes.
  3. Keep OpenClaw for that one function: Run both systems through the transition.
# Porting an OpenClaw skill to Hermes
# OpenClaw version (Node.js)
# module.exports = { onMessage: async (msg) => { ... } }

# Hermes version (Python)
from hermes.tools import tool

@tool("deploy_service")
async def deploy_service(environment: str, version: str) -> dict:
    """Deploy service to specified environment."""
    # Ported logic from OpenClaw skill
    result = await run_deploy_script(environment, version)
    return {"status": result.status, "url": result.url}

Channel Re-Authorisation

Your messaging channels need re-authorising, because Hermes connects with its own bot credentials rather than OpenClaw's.

# Discord
hermes channels discord connect \
  --bot-token $DISCORD_BOT_TOKEN \
  --guild-id $DISCORD_GUILD_ID

# Slack
hermes channels slack connect \
  --app-token $SLACK_APP_TOKEN \
  --bot-token $SLACK_BOT_TOKEN

# Telegram
hermes channels telegram connect \
  --api-token $TELEGRAM_API_TOKEN \
  --webhook-url https://your-hermes-instance/webhook/telegram

Phase 3: Parallel Operation

Run both systems side by side for a while. Two weeks is a sensible window. Move channels across one at a time rather than all at once.

Phase 4: Cutover

Once every channel is working on Hermes:

  1. Disable OpenClaw's bot accounts
  2. Point OpenClaw webhooks at Hermes
  3. Update any docs that still reference OpenClaw commands
  4. Hang on to the OpenClaw config backup for 30 days

Cost Impact

The figures below are estimates to give you a rough sense of the trade-off, not published numbers. Real hosting cost depends on the VPS or serverless provider you pick (Hermes supports VPS, Docker, Modal, and Daytona).

ComponentOpenClawHermesChange
Hosting$0-24/mo~$5/moLower
Token costsSimilarSimilarNeutral
Setup timeN/A4-8 hoursUpfront cost
MaintenanceHigher (security)LowerSavings over time

The upfront hours are real, but for most teams the move pays back through less security firefighting and an agent that gets better at the job over time.

Source trail

Primary references to keep this briefing grounded

AI and automation information changes quickly. Use these official or primary references to verify the claims, pricing, product behaviour, and compliance details before committing budget or production data.

What to do next

  1. Pick the smallest useful workflow that proves the pattern.
  2. Write down the owner, data boundary, review point, and success measure.
  3. Review the result after the first real run and decide whether to scale, change, or stop.

Want help applying this? Explore AI agent design systems.

AI Kick Start is an Illawarra-based AI studio in Figtree, helping businesses across Wollongong, Shellharbour and Kiama and right across Australia put AI to work.

Explore with AI

Use the article as a decision prompt

Summarise this AI Kick Start article for an Australian business owner. Focus on the useful decision, the risks, and the first practical next step: The OpenClaw to Hermes Migration: Step-by-Step

Turn this into a practical roadmap.

Use the guide as a starting point, then map the first workflow worth building.

Book an AI strategy call