Privacy-first RAG CLI — local LLM + SearXNG, zero cloud, zero Docker
Project description
TiniRAG
Privacy-first RAG CLI — local LLM + SearXNG, zero cloud, zero Docker.
Install
pip install tinirag # or: pipx install tinirag
Usage
tinirag "what is Python asyncio?"
tinirag --no-search "explain transformers" # skip web search
tinirag -m llama3.2:3b "hello" # override model
tinirag chat # interactive REPL
tinirag setup # guided first-run wizard
tinirag status # show Ollama + SearXNG health
Features
- Auto-detects your installed Ollama models — no need to configure a model name; TiniRAG picks the best available one automatically (prefers instruct/chat-tuned, smallest ≥ 3b parameters)
- Privacy-first: no cloud APIs, everything runs locally
- SearXNG web search (optional) for grounded, real-time answers
- Streaming output, session memory, guardrails
Enable web search (optional)
SearXNG is not required but improves answer quality with live web results.
pipx inject tinirag searxng # if installed via pipx
# or:
pip install searxng # if installed via pip
Then run any query — TiniRAG auto-starts SearXNG on port 18888.
Requirements
- Python 3.11+
- Ollama running locally (
ollama serve) - At least one model pulled:
ollama pull llama3.2:3b
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinirag-0.3.2.tar.gz
(26.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tinirag-0.3.2-py3-none-any.whl
(34.1 kB
view details)
File details
Details for the file tinirag-0.3.2.tar.gz.
File metadata
- Download URL: tinirag-0.3.2.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28ffa3ef6e701a28dbe181cd1928b1161596917c78b98300eb4c17eeaa659c14
|
|
| MD5 |
be384cfc4edcaa4322d6ed6812365bd0
|
|
| BLAKE2b-256 |
dcb3d1ff7dba8e0bc2a6fb6ec3735ba7a21dd9dfd728bea4cd860748d1004e22
|
File details
Details for the file tinirag-0.3.2-py3-none-any.whl.
File metadata
- Download URL: tinirag-0.3.2-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac433e139734fac727ca74e39949c75d112eacebe9e582bb29d659976d7da1a2
|
|
| MD5 |
3cadfa29c6b1bde608f292f485594c28
|
|
| BLAKE2b-256 |
df5aa112a7a544145a0d51975fee5c841f87dc676ebede5d7a34d820d335ab87
|