head to head · open source

Yuxi vs SAG

Yuxi has 7,121 GitHub stars, 1,120 forks, 90 open issues and last shipped 2 days ago. SAG has 2,500 stars, 162 forks, 2 open issues and last shipped today. Yuxi leads on adoption by 185% (7,121 vs 2,500 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 6%. SAG 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.1K SAG ★ 2.5K category Content & Publishing

← all 20902 open source comparisons

Side by side

Yuxi SAG
GitHub stars ★ 7.1K ★ 2.5K
License MIT MIT
Written in Python Python
Last push 2026-09-18 2026-09-20
Forks ⑂ 1.1K ⑂ 162
Self-hosting Yes Yes
Data ownership Your server Your server

pick Yuxi if

  • You weight community size — 7.1K 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 is a self hosted, multi tenant knowledge agent platform built in Python under the MIT license. It places knowledge base retrieval, knowledge graphs, LangGraph multi agent orchestration, MCP and Skills, sandboxed tools and permission management inside one workspace, with a Vue 3 and Ant Design front end and a FastAPI back end driven by a LangGraph and ARQ worker layer. The project ships as a Docker Compose deployment and lives in the Python ecosystem, with storage split across PostgreSQL, Redis, MinIO, Milvus and Neo4j, and document processing handled by MinerU, PaddleX and RapidOCR.

read the full Yuxi overview →

About SAG

SAG is an open source, local first knowledge base application and retrieval architecture, built for individuals and AI agents that need searchable, connected and traceable knowledge from their own documents.

read the full SAG overview →

More in Content & Publishing

next.js ★ 142K storybook ★ 91K hugo ★ 90K Understand-Anything ★ 83K Strapi ★ 73K nuxt ★ 61K

Related comparisons

playwright vs storybook storybook vs understand-anything storybook vs devdocs understand-anything vs devdocs storybook vs docsify storybook vs wiki storybook vs mkdocs-material understand-anything vs docsify react vs next-js react vs nuxt next-js vs vite next-js vs nuxt next-js vs gatsby next-js vs ghost next-js vs jekyll next-js vs hexo supabase vs strapi hugo vs strapi hugo vs jekyll hugo vs payload hugo vs halo strapi vs ghost hugo vs filament strapi vs payload

More Documentation & Knowledge Base projects

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

Yuxi vs storybook Yuxi vs Understand-Anything Yuxi vs devdocs Yuxi vs docsify Yuxi vs wiki Yuxi vs mkdocs-material Yuxi vs BookStack Yuxi vs deepwiki-open Yuxi vs Docs Yuxi vs jsdoc Yuxi vs Skill_Seekers Yuxi vs gollum

Frequently asked questions

Is Yuxi or SAG more popular?

Yuxi has 7,121 GitHub stars and SAG has 2,500. 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,121 stars) or its MIT licence terms. Choose SAG if its feature set, stack or MIT licence fits better. Both are self-hostable.