Skip to main content
This guide covers migrating from OpenClaw (and other frameworks) to OpenFang. The migration engine handles config conversion, agent import, memory transfer, channel re-configuration, and skill scanning.

Quick Migration

Run a single command to migrate your entire OpenClaw workspace:
This auto-detects your OpenClaw workspace at ~/.openclaw/ and imports everything into ~/.openfang/.

Options

Migration Report

After successful migration, a migration_report.md file is saved to ~/.openfang/ with a summary of everything that was imported, skipped, or needs manual attention.

Other Frameworks

LangChain and AutoGPT migration support is planned for a future release. Currently, only OpenClaw migration is supported.

What Gets Migrated

Channel Import Note

Channel configurations (Telegram, Discord, Slack) are exported to a channels_import.toml file. You must manually merge the [channels] section into your ~/.openfang/config.toml.

Skills Note

OpenClaw skills (Node.js) are detected and listed in the migration report but not automatically converted. After migration, reinstall skills using:
OpenFang automatically detects OpenClaw-format skills and converts them during installation.

Manual Migration Steps

If you prefer migrating by hand (or need to handle edge cases), follow these steps:
1

Initialize OpenFang

Creates ~/.openfang/ with a default config.toml.
2

Convert Your Config

Translate your config.yaml to config.toml:OpenClaw (~/.openclaw/config.yaml):
OpenFang (~/.openfang/config.toml):
3

Convert Agent Manifests

Translate each agent.yaml to agent.toml:OpenClaw (~/.openclaw/agents/coder/agent.yaml):
OpenFang (~/.openfang/agents/coder/agent.toml):
4

Convert Channel Configs

OpenClaw (~/.openclaw/messaging/telegram.yaml):
OpenFang (add to ~/.openfang/config.toml):
5

Import Memory

Copy any MEMORY.md files:
The kernel will ingest these on first boot.

Config Format Differences

Tool Name Mapping

Tools were renamed between OpenClaw and OpenFang for consistency. The migration engine handles this automatically.

New Tools in OpenFang

These tools have no OpenClaw equivalent:

Multi-Agent

  • agent_spawn - Spawn new agents
  • agent_kill - Terminate agents
  • agent_find - Search for agents

Task Management

  • task_post - Post task to board
  • task_claim - Claim available task
  • task_complete - Mark task complete
  • task_list - List tasks by status

Event System

  • event_publish - Publish custom events

Scheduling

  • schedule_create - Create scheduled job
  • schedule_list - List scheduled jobs
  • schedule_delete - Delete scheduled job

Vision

  • image_analyze - Analyze images

Location

  • location_get - Get location info

Provider Mapping

New Providers in OpenFang

  • vllm - Self-hosted vLLM inference server
  • lmstudio - LM Studio local models

Feature Comparison

Troubleshooting

Migration reports “Source directory not found”

The migration engine looks for ~/.openclaw/ by default. If your OpenClaw workspace is elsewhere:

Agent fails to spawn after migration

Check the converted agent.toml for:
  • Valid tool names (see the Tool Name Mapping table)
  • A valid provider name (see the Provider Mapping table)
  • Correct module field (should be "builtin:chat" for standard LLM agents)

Skills not working

OpenClaw Node.js skills must be reinstalled:
The installer auto-detects OpenClaw format and converts the skill manifest.

Channel not connecting

After migration, channels are exported to channels_import.toml. You must merge them into your config.toml manually:
Then restart the daemon:

Next Steps

Creating Agents

Explore 30 pre-built agent templates

Skill Development

Reinstall and create custom skills

Workflows

Build multi-agent pipelines

Production

Deploy OpenFang in production