Go to file
Kris f9584fe9ca refactor(channel): 完成多批次bug修复与功能优化
本次提交覆盖了多个生产环境问题修复与功能增强:
1. 修复WeChatWoc拉取适配器游标回传死循环(H-7):将游标offset改为累计偏移,避免重复拉取导致死循环
2. 修复base_worker重启计数逻辑(C-2):区分手动启动与恢复重启,max_restart_attempts阈值正确生效
3. 修复auth_expired死锁问题:改用异步调度停止账号,避免与事件总线形成环路死锁
4. 修复outbox持久化降级路径BUG:极端竞态下正确赋值outbox_entry,避免deliver_stage抛错
5. 修复幂等校验超时死锁问题(C-3):支持超时清理卡死的in_progress幂等记录,从环境变量配置超时阈值
6. 修复stream_chunk_stage异步资源释放:替换废弃的asynccontextlib.aclosing为标准库aclosing
7. 修复异常静默吞没问题:心跳任务、连接关闭异常不再静默忽略,改为记录warn日志
8. 新增多组单元测试覆盖上述修复,同时完善了outbox恢复扫描、入站幂等校验等模块的测试覆盖
9. 优化异常信息格式与代码可读性,替换原生ValueError为业务自定义ValidationError
2026-07-07 20:14:15 +08:00
.github fix(workflow): 更新部署工作流程以确保在推送和 PR 中正确触发构建 2026-04-06 11:40:01 +08:00
backend refactor(channel): 完成多批次bug修复与功能优化 2026-07-07 20:14:15 +08:00
docker feat(docker): add searxng default settings config 2026-06-22 21:23:01 +08:00
docs chore(release): 发布 0.7.0 正式版 2026-06-13 01:02:43 +08:00
scripts fix(init): 修复拉取沙箱镜像的功能 2026-06-09 21:15:53 +08:00
web feat(channels): 多渠道网关模块批量功能与样式优化 2026-07-07 16:24:35 +08:00
.dockerignore add docker support for whole project 2024-09-11 01:09:35 +08:00
.env.template feat: add searxng和crawl4ai服务支持 2026-06-22 21:23:33 +08:00
.gitignore chore: 添加docs/source-code到gitignore忽略列表 2026-06-13 16:58:18 +08:00
AGENTS.md docs: 更新 roadmap 2026-06-06 23:44:24 +08:00
ARCHITECTURE.md refactor: 简化代码逻辑 2026-05-29 22:19:58 +08:00
CLAUDE.md docs: 更新 roadmap 2026-06-06 23:44:24 +08:00
CONTRIBUTING.md docs: 更新 roadmap 2026-06-06 23:44:24 +08:00
docker-compose.prod.yml chore(release): 发布 0.7.0 正式版 2026-06-13 01:02:43 +08:00
docker-compose.yml feat: add searxng和crawl4ai服务支持 2026-06-22 21:23:33 +08:00
LICENSE refactor: 更新文档部署说明 2026-03-24 11:09:46 +08:00
Makefile feat: 添加重置命令以清理和重启服务 2026-06-03 14:09:45 +08:00
README.en.md chore(release): 发布 0.7.0 正式版 2026-06-13 01:02:43 +08:00
README.md Update README with new links and navigation items 2026-06-13 01:28:19 +08:00

Yuxi

A multi-tenant agent platform combining RAG and knowledge graphs
Make enterprise knowledge retrievable, reasoned over, and deliverable by agents

License DeepWiki zread demo

xerrors%2FYuxi | Trendshift

[Docs] · [中文]

arch

*Image generated by GPT-Image-2.

Introduction

Yuxi is an LLM-powered platform for building knowledge-base and knowledge-graph agents. It unifies RAG retrieval, Milvus-backed in-knowledge-base graphs, and LangGraph multi-agent orchestration into a single multi-tenant workspace: administrators configure knowledge bases, models, and permissions, while users chat — in a ChatGPT-like interface — with agents that can mount Skills, MCPs, sub-agents, and sandbox tools, and receive answers with cited sources, graph-based reasoning, and deliverable artifacts.

Navigation: Introduction Quick Start Roadmap; for the latest updates, see the changelog.

Core Features

  • 🤖 Agent development — Built on LangGraph, with sub-agents (SubAgents), Skills, MCPs, Tools, and middleware; long-running tasks run asynchronously on a background worker, backed by a sandbox file system for persisting, previewing, and downloading tool artifacts.
  • 📚 Knowledge base (RAG) — Multi-format document parsing (MinerU / PaddleX / OCR), configurable Embedding and Rerank models, knowledge base evaluation, in-app PDF / image preview, and retrieval sources backfilled as chat citations.
  • 🕸️ Knowledge graph — Build, visualize, and retrieve entity-relation graphs inside Milvus knowledge bases, then fuse graph hits with chunk retrieval for agent reasoning.
  • 🏢 Multi-tenancy & permissions — User / department-level access control, unified model provider configuration, and API Key authentication for external system integration.
  • ⚙️ Platform & engineering — Vue + FastAPI architecture, ready-to-run Docker Compose deployment, dark mode, a lightweight LITE startup mode, and production-grade orchestration.

Tech Stack

Layer Technologies
Frontend Vue 3 · Vite · Pinia
Backend FastAPI · LangGraph · ARQ (async worker)
Storage PostgreSQL · Redis · MinIO · Milvus · Neo4j
Doc parsing MinerU · PaddleX · RapidOCR
Deployment Docker Compose

image-20260606190609377

Quick Start

Prerequisites: Docker and Docker Compose installed, plus at least one OpenAI-compatible LLM API.

1. Clone and initialize

git clone --branch v0.7.0 --depth 1 https://github.com/xerrors/Yuxi.git
cd Yuxi

# Linux/macOS
./scripts/init.sh

# Windows PowerShell
.\scripts\init.ps1

2. Start with Docker

docker compose up --build

3. Open the platform

Once the services are ready, open http://localhost:5173 in your browser and sign in with the admin account generated during initialization.

💡 If you don't need heavy dependencies like knowledge bases / graphs, run make up-lite for a lightweight LITE mode with faster cold starts. See the docs for more deployment details.

Examples and Demo

Home
Home
Dashboard statistics
Dashboard Statistics
Agent configuration
Agent Configuration
Knowledge base invocation
Knowledge Base Invocation
Create knowledge base
Create Knowledge Base
Knowledge base management
Knowledge Base Management
Knowledge graph
Knowledge Graph Visualization
Project docs
Project Documentation
Skills management
Extension Management (Skills)
MCPs management
Extension Management (MCPs)
User and department permissions
User / Department Permission Management
Model provider configuration
Model Provider Configuration

Acknowledgements

Yuxi references and builds on the following excellent open-source projects:

  • LightRAG - Used as the foundation for graph construction and retrieval.
  • DeepAgents - Used as the deep agent framework.
  • DeerFlow - Referenced for Sandbox agent architecture ideas.
  • RAGflow - Referenced for document text chunking strategies.
  • LangGraph - Multi-agent orchestration framework and the core architectural foundation of this project.
  • QwenPaw - Referenced for model configuration and personal file area design.

Contributing

Thanks to all contributors for supporting this project!

Star History

Star History Chart

📄 License

This project is licensed under the MIT License. See LICENSE for details.


If this project helps you, please give us a .