Multi-Agent Chat
Create groups, add agents, @mention for precise routing. Agents talk to each other and collaborate like a real team.
Learn more
6 deps, npm start — manage your AI agents like managing a team

Chat with agents via IM — they auto-invoke tools, query status, manage channels — all visible in real time.

git clone https://github.com/moziio/xiajiao.git
cd xiajiao && npm install # 6 deps, done in seconds
npm start # Open http://localhost:18800No Docker, no PostgreSQL / Redis (built-in SQLite), no extra env vars. Just these three lines.
🎭 Scenario 1: AI Writing Studio
Group: Novelist + Editor + Translator | Chain: auto-relay
You: Write an essay about indie developers
→ Novelist writes 800-word Chinese essay
→ Editor auto-relays to polish
→ Translator auto-translates to English
→ 2 min, bilingual masterpiece ready📖 Scenario 2: Private Knowledge Assistant
Agent tools: RAG + Persistent Memory
You: Upload API docs to knowledge base
You: How do I call the payment API?
→ Agent retrieves from YOUR docs → accurate answer, no hallucination⚔️ Scenario 3: Multi-Model Arena
3 agents, same SOUL.md, different models
You: @GPT @Claude @Qwen Explain attention mechanism
→ Three models answer side by side
→ Compare quality, depth, style at a glanceThese are from a live Xiajiao instance, not mockups.

Collaboration chain + AI art generation

Group chat @mention routing

Poetry + auto-translation relay

Agent poetry + AI image generation

News Agent — search & structured output
Where others use frameworks, Xiajiao uses Node.js standard libraries. Where others need external services, Xiajiao uses SQLite.
node:http handles 15 endpoints. One less dep = one less security risk.node:sqlite built-in DB. WAL for concurrent reads, FTS5 for full-text search.node:test runs 53 tests. Zero test deps, zero config files.| Dimension | Xiajiao | Dify / FastGPT |
|---|---|---|
| Install | npm start | docker compose up (needs PostgreSQL + Redis) |
| Deps | 6 npm packages | Multiple packages + external services |
| Agent UX | IM group chat + @mention | Workflow canvas |
| Agent Relations | Equal collaboration, mutual @mention | Predefined DAG pipelines |
| Data Storage | Fully local SQLite | Requires DB config |
| Philosophy | Agents are your colleagues | Agents are your apps |
# Translator
You are a bilingual translation expert (Chinese ↔ English).
## Principles
- Faithfulness, expressiveness, elegance
- Output translation directly, no word-by-word analysis
## Restrictions
- Do not translate content inside code blocks
- Do not proactively @mention other agentsShare a single .md file to clone an agent's personality. Git version control, diffs at a glance.
| Provider | Models | Highlights |
|---|---|---|
| OpenAI | GPT-4o / o1 | Most comprehensive |
| Anthropic | Claude Sonnet / Opus | Code king |
| Qwen | Qwen Max / Turbo | Chinese optimized, low cost |
| DeepSeek | Chat / Coder / Reasoner | Best value |
| Ollama | Llama 3 / Qwen 2 | Completely free, runs locally |
| OpenRouter | 100+ model aggregator | One key for all |
Different agents can use different models — Claude for coding, GPT-4o for translation, Qwen for daily chat.
ChatGPT is "one AI chatting". Xiajiao is "a team of AIs collaborating" — you create multiple agents, each with their own personality and skills, they @mention each other in groups and auto-relay. All data stays on your machine.
Xiajiao is fully open source (MIT). You only pay for LLM API calls — use Ollama local models and even that's free.
Dify is an "AI app development platform" — for building AI products for end users. Xiajiao is "agent team collaboration" — agents are your colleagues. Detailed comparison →
All data stored locally. Zero telemetry. The only external communication is the LLM API you configure. Use Ollama = fully offline. Security details →
Xiajiao (虾饺) — named after the Cantonese shrimp dumpling: small, delicate, packed with flavor.
What is Xiajiao · Quick Start · FAQ · Changelog · GitHub