Skip to main content
AI Tool Radar
OSI-openAgent memory and code knowledge

SAG-Wiki

Zleap-AI

A local knowledge base for people and coding agents that indexes folders without LLM calls or embeddings.

1.8k stars(as of 2026-12-02)View on GitHubHomepage

What is SAG-Wiki?

A Rust and Tauri desktop app plus a CLI that makes local folders of documents, notes and code searchable. Indexing needs no LLM calls and no embeddings; the project's own SAG2 retrieval method then finds supporting passages across files, and cited chat answers open the exact source passage. Chats and notes can be imported from Claude Code, Codex and other tools, and a ready-made Skill installs the CLI into Claude Code, Codex or OpenCode.

SAG-Wiki at a glance
FactValue
MaintainerZleap-AI
GitHub stars1,765 (as of 2026-12-02)
Forks191
LicenseMIT
License typeOSI-open
CategoryAgent memory and code knowledge
StatusRising
Edition2026-11
Last verified2026-12-02

SAG-Wiki in depth

Searching your own files has long meant a trade-off. Plain keyword search is fast but misses meaning, while the usual retrieval-augmented generation setup needs an embedding model, a vector index and a pipeline that re-embeds chunks whenever a file changes. SAG-Wiki, from Zleap-AI, takes a different route: you add a folder, and it builds an index without LLM calls and without embeddings, then answers questions with citations that open the original passage. It also lets a coding agent use the same knowledge base.

Technically it is a Rust core with a Tauri and Svelte desktop client, a CLI, an importer and a browser extension. The project's own retrieval method, called SAG2 and described in an arXiv paper, builds a local index and uses evidence scoring and query-time expansion to find supporting passages across documents. The README says text indexing runs at about 200 ms per million characters, excluding document conversion, OCR and table recognition. PDFs become searchable as basic text before background OCR and table enhancement finish, and data sources such as Claude Code and Codex chats, Notion, GitHub and RSS can be imported.

The natural audience is people with large piles of mixed documents, notes and code who want to ask questions and check the source, and developers who want their coding agent to reach the same index. A one-sentence Skill installs the CLI for Claude Code, Codex or OpenCode, and the CLI works without the desktop app. Quick search needs no API key at all. That makes it a reasonable fit for researchers, consultants and anyone maintaining a personal archive.

There are caveats. Semantic retrieval and cited answers need models that you configure: a decision model for SAG2 and an answer model, either with your own API key or through a local endpoint that speaks the Jev protocol the README describes. So the full feature set is not purely offline by default. The version is 0.4.7 with four releases in one week, which signals momentum but also change. The speed figures and the retrieval gains over RAG and GraphRAG are the project's own measurements, and desktop downloads exist for macOS and Windows only.

The verdict: SAG-Wiki is a real, actively developed project with a distinctive claim, retrieval without embeddings, and a repository that backs it with substantial code and 14 contributors. Try it if you want a local, citation-first knowledge base and are willing to configure a model service for the deeper features. Wait if you need a stable 1.0, a fully offline setup or a Linux desktop app, and treat the benchmark comparisons as claims until someone reproduces them.

Pros & Cons

Pros

  • Real multi-component codebase (Rust core, Tauri desktop client, CLI, importer, browser extension) with 14 contributors and about 100 commits in the eight days up to 28 November 2026
  • Quick local search and indexing work without any API key; cited answers link back to the original passage in the source file
  • MIT license, signed and notarized macOS build, and a one-sentence Skill that sets up the CLI for Claude Code, Codex or OpenCode

Cons

  • Pre-1.0 (v0.4.7) with fast-moving releases, four of them between 22 and 28 November 2026
  • In-depth semantic retrieval depends on an external decision model, so the full feature set is not offline-only unless you run a compatible local endpoint
  • The indexing speed (about 200 ms per million characters, text only) and the SAG2 retrieval gains over RAG and GraphRAG are the project's own measurements, not independently reproduced
  • Desktop downloads are listed for macOS and Windows only; on Linux you get the CLI path

License

MIT (OSI-open)

MIT on the code. In-depth semantic retrieval and cited Q&A need a decision model and an answer model that you configure yourself, hosted with your own API key or a local Jev-compatible endpoint.

When it is interesting

Anyone who wants to search and question a large folder of documents and code locally, with answers traced to the source, and who wants their coding agent to use the same index.

When it is too early

If you need a finished 1.0 with a stable API, a fully offline semantic search without configuring a model service, or a Linux desktop app.

Commercial alternative & related

  • Commercial counterpart: NotebookLM

This repo featured in the 2026-11 edition of the Open-Source AI Radar.