zhimaAi/chatwiki

ChatWiki 微信公众号的AI知识库工作流Agent平台,RAG大模型AI客服机器人,致力于成为垂直领域的coze、n8n。

📚 What is ChatWiki?

ChatWiki is an open‑source workflow‑automation platform built for the WeChat ecosystem. It turns a WeChat official account into an AI‑powered assistant that can automatically reply to private messages, rewrite articles, generate and publish content, and answer user questions using large language models (LLMs). All of this is assembled through a visual, drag‑and‑drop workflow editor.


🚀 Core Capabilities

Area What it does
WeChat Integration Auto‑replies to private chats (text, voice, images, mini‑program cards, video) even for unverified accounts; triggers on follows, unfollows, menu clicks, comments, etc.
Workflow Engine Visual orchestration of steps such as replying, tagging fans, drafting or publishing articles, calling external services, or handing off to human staff.
Knowledge Base Scrape official‑account articles, import URLs or batch documents, segment them with AI, build hybrid vector + graph search, and expose a QA interface that can auto‑cluster unknown questions.
Human‑in‑the‑Loop Bot handles routine queries; unresolved issues are escalated to human客服 with multi‑agent assignment.
Model Support Plug‑in for >20 LLM providers (e.g., DeepSeek R1, Doubao Pro, Qwen Max, OpenAI, Claude) and a unified API layer.
Deployment Flexibility Runs as a Docker‑compose stack, a desktop client, a WebApp, or can be embedded in websites, WeChat service accounts, store staff tools, etc.
Enterprise Features Multi‑account permission tiers, IP whitelist, audit logs, OpenAPI for external integration.

🛠️ Technical Stack

  • Frontend – Vue.js (single‑page UI with drag‑and‑drop workflow builder)
  • Backend – Go + Python (Go for core services, Python for LLM calls and document processing)
  • Database – PostgreSQL 16 with pgvector for vector embeddings and zhparser for Chinese full‑text search
  • Containerisation – Docker Compose (one‑click docker compose up -d)

📦 Quick Start (Community Edition)

# Install Docker (if needed)
sudo curl -sSL https://get.docker.com/ | CHANNEL=stable sh

# Clone repo and start services
git clone https://github.com/zhimaAi/chatwiki.git
cd chatwiki/docker
docker compose up -d
  • Default access: http://<host>:18080 (port configurable via CHAT_SERVICE_PORT)
  • Default credentials: admin / chatwiki.com@123
  • Detailed install guides, offline mirrors, and non‑Docker options are linked in the README.

🎨 User Experience

ChatWiki provides a web UI with:

  • A visual workflow canvas for building conversation flows.
  • Screens for knowledge‑base management, article drafting, and analytics.
  • Admin panels for permission management and system settings.

A free trial is available at chatwiki.com.


📄 License & Commercial Use

The project is released under the ChatWiki Open Source License, a modified Apache‑2.0 license. It allows free use for individuals (including personal commercial activities). Organizations must obtain a commercial license to use it in business contexts, and the logo/trademark must remain visible in the UI.


🤝 Community & Support

  • Help docs on Yuque (link in README)
  • Email: jarvis@2bai.com.cn
  • WeChat group (QR code in repo) for real‑time assistance.

TL;DR

ChatWiki is a Chinese‑focused, Docker‑deployable platform that lets you build AI‑driven WeChat official‑account agents using a visual workflow editor and a plug‑in LLM layer. It combines knowledge‑base construction, auto‑reply, human handoff, and enterprise‑grade permission controls, all powered by Go, Python, Vue, and PostgreSQL with vector search.

Related

  • Project
  • Project
  • Project
  • Project
  • Project