Private research assistant · Local-only
RAG without the cloud tax.
AnyRAG turns a personal library into searchable collections you can
question like a research assistant. Each answer cites the section
and page; a click opens a source reader so you can verify the claim
in context. Generalized from AskJ — same trust model, any corpus
you bring.
Capabilities
Collections stay isolated. Your machine stays the boundary.
- Collections
-
Named libraries with description and author. Switch from the
header — indexes, chats, and settings never mix. Delete a
collection without touching a linked folder.
- Ingest
-
PDF, Word, Markdown, HTML, plain text. Linked folders or managed
imports. Smart section detection, editable titles/years, optional
section summaries, live progress, Rescan for changes.
- Retrieval
-
Hybrid BM25 + dense search with keyword-only fallback. Diversity
so one long file does not dominate. Relevance gate when a
question is outside the collection.
- Answer modes
-
Scholar (cited), Quotes (verified verbatim), Persona (opt-in
first-person for single-author corpora, clearly tagged).
- Research UI
-
Streaming chat, source reader, suggested starters, quote of the
moment, timeline when dates are rich enough, per-collection
history, Markdown export.
- Models
-
Embedded llama.cpp + Qwen 1.5B on desktop; Ollama or any
OpenAI-compatible local server in development. ONNX encoder for
embeddings; optional reranker.
- Privacy
-
Localhost only. No API keys required for core use. Collections,
indexes, and conversations under your user data directory.
- Desktop packaging
-
Native window via pywebview; PyInstaller macOS app ships empty —
you bring the documents. Bundle includes on-device model stack.