Back to Blog
Grok BotHermesMigration

How to migrate Grok Bot to Hermes Agent

Export your Grok Bot and move its skills, memory, and routines to Hermes Agent. Preview the changes, then switch each routine over without duplicate runs.

By Hermify Team5 min read
A paper archive between an old terminal and a drive with a green indicator

To move from Grok Bot to Hermes Agent, export one Bot at a time, preview what Hermes will import, and leave the new schedules paused until their Grok counterparts are off. That order lets you carry over the work you taught your Bot without having both agents run the same job.

This guide moves a Bot's working setup into a self-hosted Hermes installation. Your Grok subscription stays with your account, and the model you choose in Hermes is a separate setting. If you already run Hermes and are changing computers, see the Hermes machine migration guide.

1. Prepare the destination and request the export

You need access to the Grok Bot conversation, a working Hermes CLI where you control the destination profile, and the official agent-importers plugin. Start with a separate Hermes profile or make a backup of the existing profile before applying anything. A preview is useful for spotting overlaps, but a backup gives you a recovery point if you later decide to undo a merge into an existing profile.

Run these in the destination profile. If you use a named profile, put -p <profile> immediately after hermes in every command, including plugin installation and cron inspection.

hermes plugins install agent-importers
hermes import-agent grok-bot --help
hermes import-agent grok-bot

With no export found, the last command prints the export prompt. hermes migrate grok-bot is the documented shortcut for the same flow. If the importer finds a previous export in Downloads, check the selected Bot and file before proceeding so you don't reuse a stale copy.

In your own Grok Bot conversation, paste the prompt from the importer into the chat for the Bot you intend to move. Save the resulting grok-bot-export.json locally. If the Bot replies with a JSON code block, save only the JSON inside it as the file. Repeat per Bot and keep each file private. Memories and instructions can contain sensitive material even when there are no credentials.

2. Preview the import and inspect conflicts

Point Hermes to the exact export file you reviewed. Run from its directory or replace the relative path with a quoted path to the file.

hermes import-agent grok-bot --source ./grok-bot-export.json --dry-run

Read the full preview. Compare the proposed routine names and schedules with your source inventory, then inspect skipped items and conflicts. Keep the existing destination copy if it contains newer instructions you want to preserve. When a destination skill has the same path and different contents, compare the two before deciding how to reconcile them.

An open archive folio beside three stacks of blank cards

In the Grok Bot export Where to check in Hermes
Bot memories and user facts memories/MEMORY.md and memories/USER.md under the profile
Available skill definitions skills/grok-bot-imports/<name>/SKILL.md
Scheduled routines Paused cron jobs. Check the name, schedule, time zone, and required skills
Event-driven routines A Markdown note in grok-bot-import/. Use the recorded trigger and instructions to rebuild the routine
Passwords, API keys, and app sessions Reconnect the required services yourself and verify their permissions

The importer can refuse an export with credential-shaped field names and redact recognizable token patterns in text. Still review the export for sensitive values before you import. If the file is refused, request a clean export and preview it again. Set up any required provider or connector credentials separately in Hermes.

3. Apply the plan and verify the paused jobs

When the preview matches what you intend to move, run the import in an interactive terminal and confirm the plan. Then list the cron jobs from the same profile.

hermes import-agent grok-bot --source ./grok-bot-export.json
hermes cron list

Open the imported skill and memory files. For every scheduled routine, record the Hermes job ID, confirm it is paused, and note the expected time zone and destination. Treat any mismatch as a reason to keep the job paused. Check whether delivery stays local or uses the profile’s configured home channel. If the routine references a skill, check the actual skill and any local files or app access the instructions assume.

We tested a synthetic export with Hermes v0.23.6 and agent-importers 1.2.3. The preview left the migration target files unchanged. Applying it imported memory, a skill, and an event-routine note, preserved an existing MCP configuration with the same name, and created a paused cron job. Repeating the same import kept a single job. Request the real export in your own Grok Bot account.

4. Switch one routine over at a time

Before the first live run, verify the inputs, the time zone, and the output location. Use a harmless local example in your own test profile, such as a dummy text file and a local result. Check that the instructions and skill work with those inputs before permitting real app writes. Run hermes cron status before the handoff and confirm a scheduler is serving the target profile.

Three toggle switches with one green indicator lit

  1. Pause the original. In the Grok Bot desktop chat, click the Bot name, open Details, and find Routines. Switch off the matching routine and verify it shows Paused. If an earlier run is in flight, confirm it has finished before switching over.
  2. Hand off the schedule. Resume only the matching Hermes cron job after the source is paused. Check the next run and the delivery destination. Watch the first scheduled result before switching the rest.
  3. Rebuild event triggers separately. Use the imported note to set up the event source, filters, permissions, and result destination. Test with one harmless sample event, then turn off the source trigger before enabling the replacement.
  4. Keep a rollback path. If the Hermes routine fails, pause the replacement first. Re-enable the Grok copy only after checking that no replacement run is still in flight. Keep a note of anything that already wrote to a shared app so a retry doesn't duplicate it.

The export format and commands here are for upstream Hermes on a machine you control. Hermify’s hosted archive uploader is for OpenClaw. For that format, see the OpenClaw migration guide. If you’re starting a fresh managed Hermes Agent, you can get started with Hermify on Telegram.

Sources

Run Your Own Hermes Agent

Bring your API key, connect Telegram, and get a self-improving AI agent live in 60 seconds.

Get Started