An open-source entity knowledge base and knowledge graph entity development platform based on large models

1. Project Overview
Yuxi
Multi-tenant Harness + Enterprise Knowledge Base
Make enterprise knowledge searchable, inferable, and deliverable by intelligent entities
Yuxi is a smart knowledge base and knowledge graph entity development platform based on large models. It integratesRAG Retrieval、Milvus knowledge graph insideandLangGraph multi-entity orchestrationinto a unified multi-tenant workspace: administrators configure knowledge bases, models, and permissions, and users interact with intelligent entities in a ChatGPT-like interface, obtaining answers with references, knowledge graph reasoning, and deliverable products.
2. Open Source License
Licensed under MIT
3. Screenshots
4. Feature Overview
Yuxi
Fusing RAG and knowledge graph's intelligent entity Harness platform
Administrator configures knowledge base, model, and permissions, users engage in conversations with entities in a ChatGPT-like interface, obtaining answers with references, knowledge graph reasoning, and deliverable products.
Entity runtime
Beyond conversation, it can execute and deliver
Yuxi has a complete Harness built-in - sandbox, skills, tools, sub-agents, and middleware, allowing entities to truly complete tasks.
Sandbox file system
Each session has an independent virtual file system (workspace / uploads / outputs), entity products are automatically saved, supporting text, image, PDF, HTML online preview and download.
Skills skill system
Built-in image generation, deep reporting, data reporting, etc. skills, supporting upload and remote installation, "parse draft → confirm installation".
MCP integration
Access external tool services through the Model Context Protocol standard protocol, unified start and stop, and permission management.
Built-in tools
present_artifacts deliver products, pause and wait for user, install skills on demand, online search, etc. ready to use.
Sub-agents SubAgents
The main entity can orchestrate isolated sub-agents, executing complex sub-tasks independently in a child thread and returning products.
Middleware orchestration
Knowledge base retrieval injection, attachment processing, historical summary offload, dynamic tool injection, etc. middleware can be combined and orchestrated.
Asynchronous Worker
Based on ARQ, background tasks are executed asynchronously, supporting cancellation and streaming output, from minutes to hours.
Knowledge engine
From documents to reasoning knowledge assets
Multi-format parsing
MinerU, PaddleX, RapidOCR unified parsing of PDF, Office, images, etc. into structured Markdown.
Agentic RAG
Entity autonomous decision-making retrieval timing and query, multi-round vector retrieval + Rerank, answers with traceable references.
Knowledge graph
Extracting entities and relationships to build knowledge graphs, sub-graph retrieval participation enhancement, and supporting visual exploration.
Retrieval evaluation
Built-in retrieval quality evaluation, supporting named runs and indicator comparison, quantifying recall and answer effect.
Multi-knowledge source access
Supporting Dify, Notion, Feishu (planned) external knowledge source access, unified retrieval and reference.
Working Principles
Four-step building your entity application
01
Configure the base
Administrators access model suppliers, build knowledge bases and knowledge graphs, divide user and department permissions.
02
Orchestrate entities
Mount skills, MCP, tools, and sub-agents to the Agent, combine the required middleware capabilities.
03
Retrieval and reasoning
Fusing vector retrieval and knowledge graph reasoning in conversations, sandbox tools execute real tasks.
04
Deliver products
Return answers with references, and deliver results in cards that can be previewed and downloaded.
Use Cases
Adapt to your real business
Enterprise knowledge Q&A assistant
Internal information is solidified into searchable and reasoning knowledge assets, answers with source references.
Research and industry research reports
Using deep-reporter skills to generate structured deep analysis long reports.
Internal AI capability base
Providing a unified intelligent entity service that can be managed and extended for various business systems.
5. Tech Stack
Tech Stack
| Not the 'scaffolding self-bundled': |
Technology |
| Frontend |
Vue 3 · Vite · Pinia |
| Backend |
FastAPI · LangGraph · ARQ (asynchronous worker) |
| Storage |
PostgreSQL · Redis · MinIO · Milvus · Neo4j |
| Document parsing |
MinerU · PaddleX · RapidOCR |
| Deployment |
Docker Compose |
Quick Start
Pre-requisites: Docker and Docker Compose are already installed, and at least one compatible OpenAI interface big model API is prepared.
1. Clone the code and initialize
git clone --branch v0.7.1.beta1 --depth 1 https://github.com/xerrors/Yuxi.gitcd Yuxi# Linux/macOS./scripts/init.sh# Windows PowerShell.\scripts\init.ps1
2. Start with Docker
docker compose up --build
3. Access the platform
Wait for the startup to complete, and open http://localhost:5173 in the browser using the administrator account generated during initialization.
Acknowledgments
This project references and references the following excellent open-source projects, and expresses sincere gratitude:
-
LightRAG - The early version referenced its graph construction and retrieval ideas; currently, Yuxi has implemented self-researched Milvus knowledge base / graph links to replace historical integration, reducing compatibility issues. -
DeepAgents - Directly introduced as a deep entity framework -
DeerFlow - Referenced its Sandbox entity architecture implementation ideas -
RAGflow - Referenced its document Text Chunking segmentation strategy -
LangGraph - Multi-entity orchestration framework, the core architecture foundation of this project -
QwenPaw - Referenced model configuration and personal file area design
6. Source Code Repository
Open-source project address:
https://github.com/xerrors/Yuxi
Next steps