Yuxi – Self-Hosted Multi-Tenant Knowledge Agent Platform

Unify RAG, knowledge graphs, multi-agent orchestration, MCP/Skills, sandbox, and permissions in one self-hosted platform.

Source repo
xerrors/Yuxi
Stars
★ 7.8k
Last updated
today v0.8.0
FARS reviewed
Nov 07, 2026 +1 new
License
MIT
Primary language
Python

At a glance

How it runs
Self-hosted serviceWeb app
Works with
Universal · cross-platformOpenAI API
Cost
Free software; you pay for model usage
Setup effort
High · needs real infrastructure
You'll need
DockerDocker ComposeShell / CLINetwork accessLocal filesystem
Typical use
Enterprise knowledge management teams: need internal knowledge bases combined with graph reasoning to give employees accurate, cited answers via chat.
Not a fit if
  • Individuals wanting a zero-ops tool without databases or middleware
  • Teams without resources for PostgreSQL, Milvus, Neo4j and more
Website
xerrors.github.io/Yuxi ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v0.8.0 (2026-11-10)+5.7 ★/day over 7 days
Source review
85/100 · Good

What does this agent do, and when should you use it?

Yuxi is a self-hosted, multi-tenant knowledge agent platform designed for teams. It combines RAG (Milvus-based), knowledge graphs (Neo4j and Milvus), LangGraph multi-agent orchestration, MCP/Skills, sandbox tools, and permission management in a single workbench. Administrators can connect model providers, build knowledge bases, and configure user and department permissions; users interact through a unified chat interface to access knowledge, tools, and subagents, receiving answers with source citations, graph-context reasoning, and downloadable artifacts. The platform deploys via Docker Compose, uses a Vue 3 frontend and FastAPI backend, and integrates DeepAgents as its deep agent framework. It acknowledges inspirations from LightRAG, DeerFlow, and RAGflow, and is licensed under MIT.

Yuxi runs a unified chat interface where users can ask questions and receive answers with source citations and knowledge-graph context. It executes LangGraph and DeepAgents-based agents, supporting subagents, Skills, MCP, tools, and middleware, with ARQ async workers for long-running tasks. Administrators configure model providers (OpenAI-compatible APIs) and API keys. The system extracts entities and relationships from knowledge-base documents, builds and retrieves knowledge graphs in Milvus and Neo4j, and visualizes subgraphs in the frontend. The sandbox provides an isolated filesystem where artifacts like text, images, PDFs, and HTML can be saved, previewed, and downloaded. The platform also includes user/department permission management, model provider configuration, and API key usage monitoring and evaluation.

  1. Enterprise knowledge management teams: need internal knowledge bases combined with graph reasoning to give employees accurate, cited answers via chat.
  2. AI application developers: want to integrate multi-agent, RAG, and knowledge graphs in a self-hosted platform to avoid external SaaS dependencies.
  3. Research institutions: require private deployment of knowledge bases and graphs to support literature retrieval and synthesis.
  4. IT operations staff: need multi-tenancy and user/department permission control to integrate the platform with existing model APIs.
  5. Document-heavy organizations: need to extract entities from documents and build knowledge graphs for complex queries.
  6. Teams requiring task delivery: use sandbox and tools to execute long-running tasks and generate downloadable artifacts like PDFs or HTML.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • docker compose up --build
Ports
5173
Install notes cover
Windows · macOS · Linux · Docker

How do you install or deploy this agent?

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

  1. Clone and initialize:
git clone --branch v0.7.1 --depth 1 https://github.com/xerrors/Yuxi.git
cd Yuxi
# Linux/macOS
./scripts/init.sh
# Windows PowerShell
.\scripts\init.ps1
  1. Start with Docker:
docker compose up --build
  1. Access the platform: open http://localhost:5173 and log in with the admin account generated during initialization.

How do you use this agent?

After installation, log in with the admin account. Admins can configure model providers (OpenAI-compatible API), build knowledge bases (supporting multiple document formats), and set user/department permissions. Users interact through the unified chat interface, invoking knowledge bases, knowledge graphs, tools, subagents, etc. The system returns answers with citations and reasoning, and artifacts can be previewed and downloaded in the sandbox. For a lighter start without knowledge base/graph dependencies, use make up-lite to run in LITE mode for faster cold start. For detailed configuration, production deployment, and troubleshooting, see the project documentation (https://xerrors.github.io/Yuxi/intro/quick-start).

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • least-privilege scoping
  • data-flow disclosure
  • disclosed external effects

What are this agent's strengths and limitations?

Pros
  • Integrates RAG, knowledge graphs, multi-agent, and sandbox into one platform, reducing integration overhead.
  • Supports multi-tenancy and user/department permissions, designed for teams rather than single-user demos.
  • Docker Compose provides a clear out-of-the-box deployment path.
  • Artifacts can be previewed and downloaded, suitable for task delivery scenarios.
  • MIT license allows commercial use and modification.
Limitations
  • Heavy dependency stack (PostgreSQL, Redis, MinIO, Milvus, Neo4j) requires significant resources.
  • Requires at least one OpenAI-compatible LLM API, otherwise the platform cannot function.
  • Early-stage project (v0.7.1) may have stability and documentation gaps.
  • Sandbox security relies on Docker isolation; permission configuration is complex.
  • Third-party components like Neo4j (GPL-3.0) and MinIO (AGPL-3.0) may impose license constraints on redistribution.

How does this agent compare with similar options?

The project references LightRAG, DeerFlow, and RAGflow as inspirations, but does not explicitly position Yuxi as a drop-in replacement. It can be seen as an integration and extension of these projects.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Yuxi – Self-Hosted Multi-Tenant Knowledge Agent Platform This agent 85 · Good Self-hosted serviceFree + model costs ★ 7.8k today Python OpenAI API
Graphiti: Temporal Context Graph Engine for AI Agents 55 · Major gaps Library / SDKFree + model costs ★ 33k 1d ago Python OpenAI API · Claude API
SimpleMem: Efficient Lifelong Memory for LLM Agents 47 · Major gaps Library / SDKFree + model costs ★ 3.9k 4mo ago Python ChatGPT · Claude Code
EvoScientist: Self-Evolving AI Scientist 69 · Some gaps CLIFree + model costs ★ 5.2k 1d ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
85/ 100 5-point scale 4.3 / 5
This review covers the source as of Nov 07, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 23/29
Reliability 12/14
Adaptability 16/18
Convention 16/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust23 / 29 · 4.0/5

The documentation describes backend permission checks, user and resource isolation, non-root containers, read-only root filesystems, resource limits, default network isolation, command approval, and sandbox cleanup ownership, supporting high scores for least privilege, data-flow transparency, and external effects. Confirmation is explicit for commands and writes, but writes inside the Project proceed without approval and fully trusted mode disables approvals, so user confirmation is not full marks. Central credential management, restricted visibility, and separation from the platform environment are described, but the sample does not show the complete secret-storage and rotation implementation. CI includes a dependency-audit workflow, but no audit result or vulnerability-remediation evidence is provided. Cleanup failures remain pending for retry, while Cube rebuilds clear Home and upgrades do not automatically migrate older data; sensitive-data handling and rollback therefore lose points. Upstream projects are credited, but publisher identity and full provenance are not established.

Reliability12 / 14 · 4.3/5

The entrypoint, schema initialization, deployment notes, and mechanism documents give concrete guidance on readiness checks, PostgreSQL checkpoints, Run ownership, and failure handling. Failures are reported explicitly, mapped to stable responses, or left as pending cleanup. The docs identify unsupported automatic migration, a single-instance Container runner, and dependencies on Docker, PostgreSQL, and model services. The sampled documents define different default and Cube deployment scopes, but the sample is insufficient to reconcile every claim with implementation, so self-consistency is not full marks. Dependency health gates, failure boundaries, and optional-capability limits are documented in useful detail.

Adaptability16 / 18 · 4.4/5

The README serves deployment teams and application developers, with separate guides for startup, public API, knowledge bases, administration, Container, and Cube operations. Isolation level, networking, persistence, and capability differences are explicit; Skills also state task triggers and tool dependencies. Trigger descriptions are fairly specific, but only a small sample of built-in Skills is provided, so the full set of trigger boundaries and overlap handling cannot be assessed. The docs address Docker, Windows/macOS development, self-hosting, and Linux/KVM execution nodes.

Convention16 / 18 · 4.4/5

Documentation is organized across onboarding, API, Agent, mechanisms, deployment, and operations, with command examples, troubleshooting, and known limitations. The README states MIT and the supplied LICENSE agrees. Release notes and Skill version fields provide some version evidence, but the sample lacks a complete changelog or release-maintenance cadence. Publisher identity is unverified, and the referenced contribution guide is not in the sample, leaving maintenance ownership and update paths only partly clear. Several version identifiers appear across the docs; their beta deployment context is explained, but overall naming stability cannot be fully established.

Effectiveness12 / 13 · 4.6/5

The platform combines RAG, knowledge graphs, multi-agent orchestration, extensions, sandbox execution, and permission governance in one deployable workspace. The public API guide gives a practical flow from session creation through result retrieval, follow-up, and attachments. The docs explain several feature and operational limits, but deployment requires multiple infrastructure services and administrators must account for differences in Container and Cube isolation and persistence, so cost-benefit is only partly established.

Verifiability6 / 8 · 3.8/5

Documentation points important mechanisms to specific modules, interfaces, test categories, and persistent state, and distinguishes health, readiness, and business-path verification, supporting a high claim-traceability score. The README, mechanism docs, API example, and entrypoint corroborate some topics; however, many referenced implementation files and tests are outside the sample, and descriptions of tests cannot be treated as executed results. The docs often state scope and limitations, but many feature claims remain project-authored assertions, so fact-inference separation is not full marks.

Risks and how to mitigate them
  • The Container sandbox shares the host kernel and is documented for single-tenant, trusted-code, or local-development use. Assess Cube Linux/KVM isolation for untrusted multi-tenant code.
  • Networking is disabled by default; enabling bridge networking expands SSRF and data-exfiltration exposure. Container Home and temporary files are destroyed with each Run, and version 0.8 requires a fresh deployment without automatic migration of older databases, indexes, or file layouts.
  • The sampled development instructions are not themselves runtime guarantees. Tests and CI dependency auditing are described or configured, but this static review did not run them or verify their results.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision 2e8b436d80f0 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/yuxi.svg)](https://followagents.com/en/agents/yuxi)
<a href="https://followagents.com/en/agents/yuxi"><img src="https://followagents.com/badge/yuxi.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.8.1.beta2 Pre-release
    Release notes excerpt
    这是 Yuxi 0.8.1 的第二个预发布版本。正式版安装入口继续使用 v0.8.0,Yuxi CLI 沿用独立版本。 主要变化 - 个人空间新增最近打开的文件、近期交付物和用量。默认软配额为 10 GiB。达到额度后暂停新上传和用户任务启动,已接收的输入保留在队列,正在执行的任务可以继续。 - 对话侧栏分别浏览会话工作区与个人空间。删除会话工作目录后仍可阅读历史,恢复原路径后可继续运行。已有会话按自身配置快照与当前权限显示资源候选。 - 协作默认允许一层子会话,每棵树默认并发 12、上限 20。修正等待协作时的中断误报和取消状态。历史会话读取、工具时间线和文件预览也有改进。 - 智能体可按需加载知识库和 aBridge 插件,知识检索可跨库搜索并阅读来源原文。aBridge 支持个人设备与托管浏览器,托管功能需要配套服务和 Cube 模板。 - 浏览器直接预览 DOCX、PPTX、XLSX 和 XLS 原件,失败时可下载。Public v1 产物的 preview=true 对这些格式返回 Office 原件和对应 MIME。 - 系统管理集中模型供应商、API 集成、用户、部门、系统概览和智能体反馈。用户及部门管理支持一次确认、逐项删除和结果汇报。 数据库与部署 - 新部署直接初始化到 business 8 / knowledge 2。 …
    View on GitHub ↗
  2. v0.8.0 v0.8.0 正式版
    Release notes excerpt
    Yuxi v0.8.0 正式版,相对 v0.7.3。 完整功能与升级说明见 [0.8.0 更新说明](https://github.com/xerrors/Yuxi/blob/v0.8.0/docs/develop-guides/releases/0.8.0.md)。 - 面向全新部署,不提供从 0.7.x 原地升级。 - 已有 0.8 数据库按文档补充 MCP 个人凭证字段。 - 外部调用改用 Session API 与知识工具接口。
    View on GitHub ↗
  3. v0.7.2 v0.7.2 正式版
    Release notes excerpt
    Yuxi v0.7.2 正式版 Yuxi v0.7.2 是自 v0.7.1 以来的一次完整运行时与工作区升级,重点重构了 Project/Workdir、Agent 调度与恢复、知识库处理、安全边界和 CLI 工具链。以下内容按 v0.7.1 → v0.7.2 汇总,包含 beta1、beta2 以及正式版收尾的全部主要变化。 主要更新 Project、Workspace 与持久化 - 新增 Project 业务资源,作为 Conversation Workdir 的持久化 Owner;支持创建、选择、更新和删除 Project,并完成侧边栏项目分组与生命周期同步。 - 顶层 Conversation 与子 Agent 共用稳定的 runtime scope,不同顶层 Conversation 即使绑定同一目录也保持运行隔离。 - 统一 UserWorkspace、Workdir、Viewer、附件和 artifact 的文件边界,移除开发期 file-bridge 与旧 Thread 文件浏览路径。 - 提供 v0.7.1 存储迁移流程,将历史 Conversation、附件、产物、共享 Skill 和运行身份迁移到新布局。 Agent 运行、队列与调试 …
    View on GitHub ↗

FAQ

What hardware resources are needed to deploy Yuxi?
Given the multiple services (Milvus, Neo4j, PostgreSQL, etc.), at least 8GB RAM and sufficient disk space are recommended. See the Docker Compose configuration for details.
How do I configure model providers?
In the management interface, add a model provider compatible with the OpenAI API and provide an API key. The platform calls the LLM through that endpoint.
How secure is the sandbox?
The sandbox provides an isolated filesystem for artifacts, but security depends on Docker container isolation. In production, carefully configure permissions.
Does it support knowledge graph construction and query?
Yes. The system extracts entities and relationships from knowledge base content, builds and retrieves graphs in Milvus and Neo4j, and visualizes subgraphs in the frontend.
What are the limitations of LITE mode?
LITE mode (make up-lite) skips heavy dependencies like knowledge base and graph services, so those features may be unavailable. It is intended for rapid demos or testing.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts