Installation
mosaic needs Python 3.11 or newer. The core install has every search source, downloads, exports, the cache, watches, and the language-model features that need no extra package; the extras below add the rest.
With pipx
pipx installs command-line tools in their own environment and puts mosaic on your PATH:
pipx install mosaic-search # core
pipx install 'mosaic-search[all]' # core and every extraInstall pipx with apt install pipx (Debian, Ubuntu), brew install pipx (macOS) or python -m pip install --user pipx. uv works the same way: uv tool install 'mosaic-search[all]'.
With pip, in a virtual environment
python -m venv ~/.venvs/mosaic
source ~/.venvs/mosaic/bin/activate # Windows: ~\.venvs\mosaic\Scripts\activate
pip install 'mosaic-search[all]'Extras
| Extra | Installs | For |
|---|---|---|
rag | sqlite-vec | mosaic index, ask, chat, search --semantic |
analysis | networkx | Louvain clusters in mosaic network --cluster (without it: connected components) |
browser | Playwright | mosaic auth login, get --interactive, the Springer browser source, ScienceDirect and Scopus searches without an API key |
ui | Flask, Waitress | mosaic ui, the web interface |
notebooklm | notebooklm-py | mosaic notebook create |
all | all of the above |
Add an extra later by reinstalling with it (pipx install --force 'mosaic-search[rag]') or by injecting its package (pipx inject mosaic-search sqlite-vec).
Two extras need one more step:
Playwright needs a browser binary. After installing
browser,notebooklmorall:bash~/.local/share/pipx/venvs/mosaic-search/bin/playwright install chromium # pipx playwright install chromium # pip, in the venvFull-text indexing reads PDFs with PyMuPDF (AGPL-licensed), which no extra installs:
pipx inject mosaic-search pymupdf. Without it,mosaic indexembeds titles and abstracts only.
The language-model features (--summarise, --sort relevance with a model, compare, ask) talk to a server over HTTP and need no extra: Ollama on your machine, or an OpenAI or Anthropic API key. Local RAG shows both setups.
Standalone app
The GitHub releases carry the web interface packaged with its own Python, for people who do not use a terminal:
| Platform | Asset |
|---|---|
| Windows 10/11, x86-64 | MOSAIC-Windows.zip |
| macOS 12+, Apple Silicon | MOSAIC-macOS-arm64.zip |
| Linux x86-64, glibc 2.31+ | MOSAIC-Linux.tar.gz |
Unpack it and start MOSAIC; see Web UI.
From source
git clone https://github.com/szaghi/mosaic
cd mosaic
make dev # creates .venv and installs mosaic in editable mode with the dev tools
make testContributing describes the development workflow.
Check, complete, upgrade
mosaic --version
mosaic --install-completion # tab completion for bash, zsh or fish
pipx upgrade mosaic-search # or: uv tool upgrade mosaic-search, pip install -U mosaic-searchNext: the tutorial.

