head to head · open source

Yuxi vs SAG

Yuxi has 7,587 GitHub stars, 1,243 forks, 90 open issues and last shipped yesterday. SAG has 2,651 stars, 185 forks, 2 open issues and last shipped 4 days ago. Yuxi leads on adoption by 186% (7,587 vs 2,651 stars). Yuxi is written in Python under MIT; SAG is written in Python under MIT. Yuxi has attracted 16% as many forks as stars, SAG 7%. Yuxi was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (knowledge-base, knowledge-graph), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

Yuxi ★ 7.6K SAG ★ 2.7K category Content & Publishing

← all 20902 open source comparisons

Side by side

Yuxi SAG
GitHub stars ★ 7.6K ★ 2.7K
License MIT MIT
Written in Python Python
Last push 2026-11-04 2026-11-01
Forks ⑂ 1.2K ⑂ 185
Self-hosting Yes Yes
Data ownership Your server Your server

pick Yuxi if

  • You weight community size — 7.6K stars and counting
  • You want the MIT license terms
  • Your stack matches Python
  • You value the larger contributor base for long-term maintenance

full Yuxi profile →

pick SAG if

  • You want the SAG feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches Python
  • You evaluated both and SAG fits your workflow better

full SAG profile →

About Yuxi

Yuxi 是一个可私有部署的多租户知识智能体平台。它把知识库检索、知识图谱、LangGraph 多智能体编排、MCP/Skills、沙盒工具和权限管理放进同一个工作区。 项目主页 · 快速开始 · 演示视频 · 版本记录 · English Yuxi 能做什么 Yuxi 面向需要自己掌握数据、模型和权限的团队: 构建知识问答 :上传文档,经过解析、分块和向量索引后,让智能体结合检索内容回答问题。 执行多步骤任务 :组合工具、MCP、Skills、子智能体和沙盒,产出可预览、可下载的文件。 连接知识图谱 :从 Milvus 知识库的文档块中抽取实体和关系,写入 Neo4j 并参与检索。 管理团队使用范围 :按用户、部门和共享范围管理知识库、智能体、Skills 和模型。 对比运行质量 :评估知识库的检索结果,也可以用 Langfuse Dataset 评估完整智能体任务。 技术栈 快速启动 前置条件 安装 Docker Engine 和 Docker Compose,并准备一个可用的大模型 API。当前仓库默认配置对应 v0.7.3 。 1. 获取代码并初始化 初始化脚本会创建 .env 、读取 SiliconFlow API Key,并为 JWT、API Key 派生和 Sandbox provisioner 生成独立的安全密钥。也可以手动复制 .env.template 并填写这些值。 2. 启动开发环境…

read the full Yuxi overview →

About SAG

SAG English · 简体中文 From now on, this is the only knowledge base app you need. Built on the state of the art SAG architecture, it turns scattered documents and data into knowledge that is searchable, connected, and traceable. Contents Community · Project · Technology · User Guide · Developer Guide Project Changelog August 30, 2026 SAG now supports @zleap ai/dsh sag . The built in local DeepSeek Harness connector makes SAG knowledge available to DSH Agents for search, source reading, and source and document management. August 13, 2026 Added OCTX source import and export with integrity validation, conflict…

read the full SAG overview →

More in Content & Publishing

Related comparisons

More Documentation & Knowledge Base projects

Compare either of these against the rest of the Documentation & Knowledge Base field.

Frequently asked questions

Is Yuxi or SAG more popular?

Yuxi has 7,587 GitHub stars and SAG has 2,651. Yuxi has the larger community by that measure.

Are Yuxi and SAG free?

Both are open source. Yuxi is licensed under MIT and SAG under MIT. Neither carries a licence fee.

What is the difference between Yuxi and SAG?

Yuxi is written in Python and SAG in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, Yuxi or SAG?

Choose Yuxi if you want the larger community (7,587 stars) or its MIT licence terms. Choose SAG if its feature set, stack or MIT licence fits better. Both are self-hostable.