← Market Pulse · Nov 7
SAG: open-source RAG knowledge base with a self-developed retrieval architectureGitHub · created Nov 2025 · original page ↗
Stars / day ×991 → 99

One "RAG is dead" article lifted a year-old repo 100x in a single day

What it isAn open-source knowledge base app: upload documents to search them, get answers with citations, and plug it into an Agent.

Why it grewNov 6: the WeChat account 「袋鼠帝」 (Kangaroo Emperor) published the long post "RAG Is Really Dead This Time", pushing SAG2 hard and pasting the repo link.

What to takeThe new product reuses the old name so the old repo rides the traffic; it also gives writers a number that fits in a headline.

Who built itGuangzhou Zhiyue Shenkong (Zleap); CEO is credited as JomyHow it makes moneyOpen source and free; the reranking model is billed by usage, and enterprise pricing is not publicStaying powerIt has staying power: the X post got 120K views, and the sister repo gained 513 stars in one day
SAG's Q&A interface: the small number after each sentence in an answer clicks back to the source passage

Positioning and edge

Who it's forIndividuals and developers with lots of local documents who want AI answers with citationsThe job it doesTurns a pile of documents into a library you can search, ask questions with cited answers, and use from an AgentWhat people did beforeBuild a vector index first (AnythingLLM and the like), or upload to a cloud service such as imaThe wedgeNo model calls and no vectors to build the index; add a folder and search. The paper is the selling point

How it differs from the rest

  1. No LLM calls and no vectors to build the index; edit a document and it rebuilds instantlyPaper: 11,656 passages indexed in 2.36 seconds. User: "Not doing embedding at index time is so great"
  2. A 14 MB desktop app: add a folder and go, no database to installSAG-Wiki README; user: "Just add a folder and it works, that entry point is really appealing"
  3. For multi-hop questions, it finds all the evidence scattered across several documentsOfficial self-test: across three multi-hop test sets, average Recall@5 of 90.07%, 6.79 points above the baseline
  4. Ships with a CLI and a Skill; install it into a coding Agent with one sentenceThe README gives a one-line install command, and the Agent reads SKILL.md and configures itself

Who else is in the space

Similar productHow it differs from this one
AnythingLLMOpen-source all-in-one local AI knowledge base, 68K starsIt has to run vectors to build the index; SAG-Wiki doesn't, but doesn't support Linux yet
RAGFlowOpen-source enterprise-grade RAG engine, 94K starsIt recommends 16 GB of RAM to start; SAG-Wiki is a 14 MB desktop app
LightRAGA graph RAG framework from HKU, 41K starsIt needs an LLM to extract a graph when building the index; SAG links relationships on the fly at query time and builds no graph in advance
Tencent imaTencent's free AI knowledge base appima is ready to use out of the box but uploads to the cloud; SAG keeps the original text on your machine, but you bring your own Key

Can it hold?Not much can be defended: the ideas and code are fully public, so a big project could copy it easily. Only the Jev reranking model is its own.

Last two weeks · Stars / day
10-2911-0111-049911-07

How it happened

  1. Zleap created the SAG repo under the MIT license, exactly one year before this takeoff ↗

  2. CEO Jomy presented SAG on QbitAI: SQL-driven retrieval, then mainly pitched as an enterprise appliance ↗

  3. SAG paper posted to arXiv, claiming a new SOTA in multi-hop retrieval ↗

  4. Paper V2 added experiments to answer doubts, and announced the SAG enterprise edition (closed source, private deployment) ↗

  5. SAG2 paper released: no vectors, no model calls at index time, 11,656 passages in 2.36 seconds ↗

    The scorecard in the official README: on three multi-hop test sets, SAG2's Recall@10 beats both the first generation and BM25 across the board
  6. A new repo, SAG-Wiki, opened: a 14 MB local knowledge base desktop app, with a release every two or three days ↗

    What's really being pushed is this one: SAG-Wiki, where adding a local folder makes a knowledge base
  7. 袋鼠帝 published "RAG Is Really Dead This Time"; SAG gained 99 stars that day and the sister repo 98 ↗

    The trigger: a long post 袋鼠帝 published at 11:02 a.m. on Nov 6, with the GitHub link pasted right at the top
  8. 袋鼠帝 moved the same post to X: 120K views; the sister repo gained 513 stars in one day, SAG 68 ↗

    Four days later the same post moved to X; by Nov 11 it had 1,288 likes and 120K views, and "7000x" was in the first paragraph
    The most representative reply under the post: what won people over was "no embedding, and edit a document and it rebuilds instantly"
  9. Fresh SAG-Wiki installs now default to the official paid reranking model Zev-1, billed by usage ↗

In detail

What it's like to use

The SAG repo is a self-deployable knowledge base: one Docker command, or download the Mac / Windows desktop package. After upload it splits the text into passages, computes vectors, then has an LLM extract "one event + a few entities" from each passage and store them in SQLite. When you ask a question, it first finds relevant entities, then uses SQL to link passages that share entities (the paper calls this "query-time dynamic hyperedges"), so questions spanning several documents can still gather all the evidence. Each sentence of the answer is numbered, and clicking takes you back to the source; the same library can also be used by other Agents via REST and MCP.

Its weak spot is right there: every passage needs a model call, and the first-generation paper records 4.57 hours to index 11,656 passages. SAG-Wiki targets exactly this weakness: a 14 MB desktop app, add a folder, build only a BM25 keyword index, no model calls; at question time BM25 does a rough filter, then its own small Jev model picks the evidence.

Why people buy in

In the replies under the X post, what won people over wasn't "SOTA" but the low barrier: "Not doing embedding at index time is so great, the index can rebuild right after a document changes"; "The fewer things you need to gather first, the more people can build it themselves"; "Just add a folder and it works, that entry point is really appealing." For individual users, "no GPU, no vector database" is much easier to grasp than a few points of higher Recall.

The doubts are also concentrated: "7000x" counts only index building, and the computation has really moved to query time; whether plain-language questions and synonyms can be retrieved is exactly BM25's old weakness; on Nov 11 a user said in an issue that importing 770 files took over thirty minutes to index, which doesn't match "a million characters in 200 ms" (my inference: the time mostly goes to PDF / Office conversion).

The old repo gained, the new repo is the one being pushed

袋鼠帝 wrote about SAG2 and SAG-Wiki and pasted links to both repos; on Nov 6 the two rose almost identically (+99 / +98). After releasing v1.9.2 on Oct 22, the old repo's main branch got only one commit, swapping a QR code; the team's energy is all on SAG-Wiki, which had reached v0.2.8 by Nov 10. By Nov 11, SAG had 2,939 stars and SAG-Wiki 1,003. The attention is moving to the new repo.

Where the money is, and whether to follow

On Nov 11 SAG-Wiki merged a change: for new installs, deep search defaults to Zev-1 on the Zleap open platform, which requires applying for a Key first, and the platform says "billed by actual usage." The code and desktop app are free; the paid part is the reranking model called on every search, and above that the enterprise edition and appliance. What a small team can learn is this split: move the most expensive step from indexing to querying, then turn the query step into your own paid API. What not to copy is the headline: within two days the number was already being discounted.

The official comparison table: against "LLM Wiki" and plain vector RAG, the difference is no model calls and no vectors at index time