Migration from OpenClaw
OpenFang includes a built-in migration engine to import agents, memory, skills, and configurations from OpenClaw.What Gets Migrated
Agent Manifests
Converts YAML agent configs to TOML format
Memory & Sessions
Imports conversation history and KV store
Skills
Converts SKILL.md to OpenFang skill.toml
Configuration
Maps provider names and channel configs
Migration Process
Migration Details
Agent Manifest Conversion
OpenClaw YAML:Tool Name Mapping
OpenClaw tool names are automatically mapped to OpenFang equivalents:| OpenClaw Tool | OpenFang Tool |
|---|---|
shell | shell_exec |
read_file | file_read |
write_file | file_write |
search_web | web_search |
fetch_url | web_fetch |
store_memory | memory_store |
recall_memory | memory_recall |
crates/openfang-migrate/src/tool_compat.rs for the full mapping (21 tools).
Provider Name Mapping
| OpenClaw Provider | OpenFang Provider |
|---|---|
claude | anthropic |
gpt | openai |
gemini | gemini |
llama | groq or ollama |
Memory Migration
OpenClaw’s memory files are imported into OpenFang’s SQLite database:- Structured KV →
memory.dbtable - Sessions →
sessionstable - Embeddings →
embeddingstable (if present)
Skill Migration
OpenClaw SKILL.md files are automatically converted: OpenClaw SKILL.md:SKILL.md.
Custom Migration Path
For advanced scenarios:Post-Migration Steps
Update API keys
Review capabilities
Migrated agents may have broader capabilities than intended. Review and restrict:
Compatibility Notes
Supported Features
✅ Agent manifests (YAML → TOML) ✅ Memory KV store ✅ Sessions and conversation history ✅ Skills (SKILL.md format) ✅ Tool name mapping (21 tools) ✅ Provider name mapping ✅ Channel configurationsUnsupported Features
❌ OpenClaw-specific modules (must be ported manually) ❌ Custom WASM modules (rebuild for OpenFang) ❌ Third-party plugins (check FangHub for alternatives)Known Issues
Agent uses deprecated tools
Agent uses deprecated tools
Some OpenClaw tools don’t have direct OpenFang equivalents. The migration report lists these. You’ll need to:
- Remove the deprecated tool from
capabilities.tools - Update the system prompt to use available alternatives
Memory format mismatch
Memory format mismatch
If OpenClaw used custom memory structures, they may not import cleanly. Check:
Skill dependencies missing
Skill dependencies missing
Python skills may reference packages not in OpenFang’s bundled environment. Add them to
skill.toml:Migration Report
After migration, review the detailed report:Getting Help
If you encounter migration issues:- Check the migration documentation
- Review the migration report for specific errors
- Join the Discord community
- Open an issue on GitHub
Next Steps
Configuration
Set up your LLM providers
Agent Setup
Create new agents for OpenFang
