Skip to main content

An open-source multi-agent research assistant for your Zotero library

Project description

Zori

An open-source multi-agent research assistant that connects to your Zotero library. Search, summarize, and explore your research papers through a conversational interface.

Python LangChain LangGraph ChromaDB FastAPI License PyPI

Features

  • Hybrid search — combines semantic (vector) and keyword (BM25) search across titles, abstracts, tags, and full text
  • Summarization — generates structured summaries and saves them as notes directly in Zotero
  • Web UI — clean chat interface built on FastAPI; no browser issues, works on any platform
  • Conversational context — references like "the first one" or "that paper" are resolved across turns
  • Flexible LLM support — OpenAI, Anthropic, or Ollama (free, runs locally)

Web UI

zori ui

Open http://localhost:7860 in your browser. The web UI is the recommended interface on Windows, where terminal hyperlinks may not render correctly.

Zori search results

Zori structured paper summary

Zori paper summary saved as a Zotero note

Requirements

  • A Zotero account with API access
  • An LLM provider: OpenAI, Anthropic, or Ollama (free, runs locally)

Setup

1. Install

pip install zori
Install from source
git clone https://github.com/nazbn/zori.git
cd zori
uv sync

When installed from source, prefix all commands with uv run (e.g. uv run zori init, uv run zori ingest, uv run zori).

2. Initialize

mkdir my-zori && cd my-zori
zori init

zori init creates config.yaml and .env in the current directory. Always run zori from this directory.

3. Configure

Edit .env with your Zotero API key and library ID, and config.yaml to choose your LLM and embeddings provider (see LLM options and Embeddings options).

4. Ingest your library

zori ingest

Downloads your Zotero PDFs, extracts text, and builds the search index in .zori/. Run time depends on library size and embedding provider. You only need to do a full ingest once. To index new or modified items added to Zotero since the last ingest, run zori ingest --sync.

5. Start the assistant

Web UI (recommended):

zori ui

Or use the terminal REPL:

zori

Usage

Zori supports natural language queries for searching and summarizing papers:

> papers on diffusion models
> papers by Vaswani
> papers from 2023 on neural radiance fields
> summarize the first one
> find attention is all you need
> summarize it

Queries use hybrid search (keyword + semantic). References to previous results are resolved in context (e.g. "the first one", "that paper").

In the terminal REPL: type exit to quit, --new-session to reset conversation history.

LLM options

Provider config.yaml Requires
OpenAI provider: openai OPENAI_API_KEY in .env
Anthropic provider: anthropic ANTHROPIC_API_KEY in .env
Ollama (free, local) provider: ollama Ollama running locally

Embeddings options

LLM and embeddings are configured independently — any combination works.

Provider config.yaml Setup
OpenAI provider: openai, model: text-embedding-3-small OPENAI_API_KEY in .env
Ollama (free, local) provider: ollama, model: nomic-embed-text Ollama running + ollama pull nomic-embed-text
HuggingFace (free, local) provider: huggingface, model: <model> (e.g. all-MiniLM-L6-v2) pip install "zori[huggingface]"

License

MIT — see LICENSE.

Contact

For questions, bug reports, or feature requests, open an issue on the GitHub issue tracker or reach out at nazanin.bagherinejad@rwth-aachen.de.


This repository was developed with the assistance of Claude (Anthropic).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zori-0.3.0.tar.gz (804.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zori-0.3.0-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file zori-0.3.0.tar.gz.

File metadata

  • Download URL: zori-0.3.0.tar.gz
  • Upload date:
  • Size: 804.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":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zori-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bb7203c42efeb8234a0ebfe6a53e414e4821ec59ddd30c7ee6ab0d928ba3684d
MD5 7de372edec6f643fbaf492f7e4a13100
BLAKE2b-256 5ee688d2ae7c029470f321f74d70b4e9d8e8ca7893c2636bb17ae2bfd74398d7

See more details on using hashes here.

File details

Details for the file zori-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: zori-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.5 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":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for zori-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 045d57520cc4c3fa484ccf6b91b1d72a14c28551317e9e838c87edcd40d8b170
MD5 c3ee51bf51fe709fd34c66db84d7e2d1
BLAKE2b-256 c7f085ab4a1e402dc2ffb0fdbb0037e80244374b49387522e02d6fda1760be97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page