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.0.tar.gz
(27.0 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.0-py3-none-any.whl
(34.3 kB
view details)
File details
Details for the file tinirag-0.3.0.tar.gz.
File metadata
- Download URL: tinirag-0.3.0.tar.gz
- Upload date:
- Size: 27.0 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 |
6b0c075f71cb651b9dccb79f83569602107b125b58d1266d344daf1f38581170
|
|
| MD5 |
22b1aee8c69031ef1a5a1c226fe67294
|
|
| BLAKE2b-256 |
47a652ec1221f4c4b71297a3049f897d78136f182c88966f7339811d4d86f9b3
|
File details
Details for the file tinirag-0.3.0-py3-none-any.whl.
File metadata
- Download URL: tinirag-0.3.0-py3-none-any.whl
- Upload date:
- Size: 34.3 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 |
8a131d7edf1461b71f66b5cbd5131f00bf09b9436b4ed083b03afa7191f49f2d
|
|
| MD5 |
e0c7a2f83329d6b18b79bbbca9d4e687
|
|
| BLAKE2b-256 |
f652655833aa29b0d4f4b1cdfc201f66b177d5981100d582597b61b770614fa1
|