llavRAG local
Copyright 2026 LLav Lab

This product is licensed under the Apache License, Version 2.0 (see LICENSE). All code in this repository and its
source distribution, including the retrieval core in src/llavrag/core/ and the Agent Skills in skills/, is written by
LLav Lab. The third-party software and models listed below are not part of this repository; they are installed or
downloaded separately and keep their own licences.

----------------------------------------------------------------------------------------------------------------------
Models used at run time (downloaded separately; sha256-pinned in src/llavrag/manifests/)
  Qwen3-Embedding-4B -- Copyright Alibaba Cloud (Qwen team), Apache License 2.0,
                        https://huggingface.co/Qwen/Qwen3-Embedding-4B (pinned commit 5cf2132a). Used unmodified.
  llavRAG judge 4B   -- llav 4B, https://huggingface.co/llavapp/llav-4b (Apache License 2.0, LLav Lab).
                        Fine-tuned from Qwen3-Reranker-4B (Copyright Alibaba Cloud (Qwen team), Apache License 2.0,
                        https://huggingface.co/Qwen/Qwen3-Reranker-4B). Modifications: LoRA fine-tuning (merged into the
                        weights) as an evidence judge. Licence-clean checkpoint; training data and their licences:
                        LICENSE-AUDIT.md.

----------------------------------------------------------------------------------------------------------------------
Software used at run time
  SQLite and its FTS5 full-text extension (public domain), through Python's standard sqlite3 module. The lexical
  index uses FTS5's built-in bm25() ranking function; no SQLite code is copied or compiled by this package.
  Python dependencies are installed from PyPI under their own licences: numpy (BSD-3-Clause), transformers
  (Apache-2.0), safetensors (Apache-2.0), pypdf (BSD-3-Clause), mcp (MIT), mlx and mlx-lm (MIT, Apple Silicon),
  torch (BSD-3-Clause) and accelerate (Apache-2.0) (other platforms); optional: jieba (MIT, `llavrag[cjk]`),
  bitsandbytes (MIT, `llavrag[cuda8bit]`), pytest (MIT, `llavrag[dev]`).

----------------------------------------------------------------------------------------------------------------------
Data
  skills/tests/data/search-log-states.jsonl is llavrag output on the sample folder examples/docs (written by LLav Lab).
  tests/data/musique-dev10 contains MuSiQue development questions 0-9 and their paragraphs (CC BY 4.0, Trivedi et al.
  2022; paragraph text from Wikipedia, CC BY-SA). See tests/data/README.md.
  Per-question decision traces (published with the paper, not part of this source distribution) are licensed
  CC BY-SA 4.0, not Apache-2.0, because they quote dataset text: HotpotQA (CC BY-SA 4.0), Wikipedia (CC BY-SA),
  MuSiQue (CC BY 4.0), 2WikiMultihopQA (Apache-2.0).
