barq-web-rag
A document question-answering app that runs entirely in the browser. It searches and answers from your files locally, so no data leaves your machine.
Share on XLicense: Apache-2.0
Overview
Barq RAG is a document question-answering app that runs entirely in the browser. It uses Rust compiled to WebAssembly for the retrieval engine, vector storage and compute kernels, and runs local language models in the browser through transformers.js and WebGPU. Documents are processed, embedded and answered on your device, with no external API and no data leaving your machine.
Key features
- Hybrid search combining BM25 and semantic search with RRF reranking
- Ingests PDF, DOCX, Markdown and TXT files
- Local vector index with persistence in the browser
- Embeddings and LLM inference run on your device
Best for
People who want to ask questions about private documents without sending them to a server. Setup is npm install and a dev server.
- Upstream
- YASSERRMD/barq-web-rag
- Fork on GitHub
- Guo-astro/barq-web-rag
- Upstream stars
- 29
- Category
- AI agents and LLM tools
- Language
- JavaScript
- License
- Apache-2.0
- Forked
- 2026-03-11
- Sync status
- In syncLast synced 2026-10-06
More in AI agents and LLM tools
A curated library of DESIGN.md files for AI coding agents, helping teams reuse real design system patterns to generate matching UI from a reference design.
Forked 2026-10-05Last synced 2026-10-06License: MITAI agents and LLM toolsGitHub
A library of marketing skills for AI coding agents, covering CRO, copywriting, SEO, analytics, and growth engineering. Add the skills to a project so agents can apply marketing workflows to their work.
Forked 2026-10-05Last synced 2026-10-06License: MITAI agents and LLM toolsGitHub
An agent skill that turns natural language and system sources into editable architecture diagrams. It helps teams keep system views aligned with code, infrastructure, and APIs as architecture changes.
Forked 2026-10-05Last synced 2026-10-06License: MITAI agents and LLM toolsGitHub
DeepSeek 4 Flash and PRO local inference engine for Metal, CUDA, and ROCm. It helps run capable open-weight models on consumer hardware without relying on a cloud service.
Forked 2026-10-03Last synced 2026-10-06License: MITAI agents and LLM toolsGitHub