Lyze runs multimodal RAG locally to avoid API costs

Lyze is a system built to handle more than plain text. It can work with PDFs, images, audio recordings, and video files in one place. A person asks a question, and Lyze searches across those files to produce an answer.

It also shows which file the answer came from. It can run fully on a local computer with Ollama, so there are no API costs and the files do not leave the machine. It can also connect to Gemini, OpenAI, or Anthropic if needed.

The front end uses React and TypeScript, and the back end uses Python and FastAPI.

Key points

  • Lyze is a RAG tool for PDFs, images, audio recordings, and videos.
  • It answers questions by searching across files and naming the source file.
  • Running with Ollama keeps files local and avoids API costs.
  • Gemini, OpenAI, and Anthropic can be used instead if are preferred.
  • The main open question is whether and local hold up in real use.
Read original