SageDesk,
RAG in the browser.
A RAG support widget that runs retrieval in the browser through WebAssembly, with an optional LLM mode. Open source on npm, with a live demo on its case study.

No server
needed in local mode: retrieval runs in the visitor's browser
- Where
- Open source, on npm
- Role
- Author and maintainer
- Stack
- TypeScript
- RAG
- WebAssembly
- Browser-Native
01Results
What changed.
No backend
and no API key needed in local mode
Optional
LLM mode for fuller, conversational answers
Live
on this page: open the chat in the corner and ask about my work
02What I owned
Where my part began and ended.
Architecture
Designed and built in TypeScript as a browser-native widget, not a hosted script calling a remote server.
Retrieval
In local mode, the question is embedded in the browser through WebAssembly and matched against a prebuilt index.
Tooling
A build CLI turns a knowledge file into that index.
LLM mode
Version 3 sends only the question to your own backend, where a model you choose answers from the whole knowledge file. That removed the browser embedding step and a 44 MB download. Vector retrieval is still there for larger knowledge bases.
Packaging
Packaged for React, Next.js and plain JavaScript.


