Skip to content

Migration guide

Move from other AI platforms to Xiajiao while keeping agent definitions and knowledge bases.

From ChatGPT

Custom Instructions / GPTs → Xiajiao SOUL.md + Agents.

Steps

  1. Install Xiajiao (~30 seconds)
bash
git clone https://github.com/moziio/xiajiao.git
cd xiajiao && npm install && npm start
  1. Configure OpenAI API key

Settings → Model management → Add OpenAI → paste key → pick a model (e.g. gpt-4o).

  1. Migrate Custom Instructions

Copy ChatGPT Custom Instructions into SOUL.md:

ChatGPTXiajiao SOUL.md
"What would you like ChatGPT to know about you?"## User context
"How would you like ChatGPT to respond?"## Output rules

Example Custom Instructions:

I'm a Python developer. I use FastAPI and PostgreSQL.
Keep responses concise. Use code blocks for code.

As SOUL.md:

markdown
# Code assistant

You are a senior Python backend engineer.

## User context
- Python developer
- Stack: FastAPI + PostgreSQL

## Output rules
- Keep replies concise
- Use fenced code blocks
- Prefer Python examples
  1. Migrate GPTs

Each GPT → one Xiajiao agent. GPT Instructions → SOUL.md; GPT Knowledge → RAG uploads.

What you gain

CapabilityChatGPTXiajiao
Multi-agent teamworkNoYes (@mention + chains)
Agent-to-agent chatNoYes (call_agent)
Durable memoryLimitedThree-type + embedding dedup
Data localityCloudFully local
Cost~$20/moMIT + your API usage
Model choiceFixedAny compatible model

From Dify

Dify Apps / Workflows → Xiajiao agents + collaboration chains.

Steps

  1. Export the system prompt from Dify app settings.

  2. Turn it into SOUL.md

Structure the prompt in Markdown:

markdown
# [Agent name]

[First paragraph as role description]

## Working principles
[Rules from the Dify prompt]

## Output format
[Format requirements from the prompt]
  1. Migrate the knowledge base

Export documents (PDF/TXT) from Dify → upload to the agent’s RAG workspace. Xiajiao re-chunks and indexes automatically.

  1. Migrate workflows
DifyXiajiao
Linear workflowCollaboration chain
BranchesLeader agent routing
LLM nodeAgent
Retrieval noderag_query tool
HTTP nodeCustom tool

Note

Dify’s visual workflow canvas has no 1:1 equivalent. Complex branching is expressed via the leader agent’s SOUL.md routing logic.

Trade-offs

You loseYou gain
Drag-and-drop canvasIM-style multi-agent chat
Hosted API productAgent collaboration chains
Multi-tenant SaaSThree-type durable memory
No external infra
Fully offline capable (+ Ollama)

From Coze

Coze Bot → Xiajiao agent.

Steps

  1. Export bot settings

Copy persona → SOUL.md; download knowledge docs → upload to Xiajiao RAG.

  1. Replace plugins
Coze pluginXiajiao
Searchweb_search
Knowledgerag_query
Scheduled triggersmanage_schedule
OthersCustom tools

Coze has 100+ plugins; Xiajiao ships seven built-ins. Heavy plugin reliance may be a poor fit.

  1. Models

Coze often uses ByteDance models; on Xiajiao you can use any supported provider.

From FastGPT

Knowledge apps → Xiajiao agent + RAG.

Steps

  1. Export KB documents → upload to Xiajiao
  2. Copy system prompt → SOUL.md
  3. Workflows → chains (linear) + leader routing (branches)

Universal migration checklist

  • Install and run Xiajiao
  • Configure at least one LLM provider
  • Create agents with SOUL.md
  • Upload knowledge (if any)
  • Smoke-test chat
  • Configure collaboration chains if needed
  • Verify memory over several turns
  • Set up schedules if needed
  • Configure backups