clusterzx/paperless-ai

AI companion for Paperless-ngx OR it's own document managment system: automatically titles, tags and files your documents, reads bad scans with local OCR (PaddleOCR, CPU/GPU) and answers questions about your whole archive with cited sources. Works with OpenAI, Claude, Ollama (fully local), Azure and any OpenAI-compatible API.

What it solves

Paperless-AI automates the tedious task of organizing digital documents. It connects to your Paperless-ngx archive to automatically fill in metadata like titles, tags, dates, and custom fields. It also provides a conversational interface that lets you ask questions about your entire document archive in natural language, receiving answers backed by specific citations.

How it works

The tool functions as an intelligent extension for Paperless-ngx. It monitors your documents and uses AI models—either cloud-based (like OpenAI or Anthropic) or fully local (via Ollama)—to analyze content and extract structured data. For searching, it uses a hybrid approach combining keyword search (BM25) with vector-based semantic search to ensure accurate retrieval. All settings and processing status are managed through a modern, web-based dashboard.

Who it’s for

This project is designed for users of Paperless-ngx who want to reduce manual data entry and gain the ability to "chat" with their stored files. It is ideal for those who prioritize privacy and want the flexibility to choose between cloud AI providers or running models entirely on their own hardware.

Highlights

  • Automated Metadata: Automatically populates titles, tags, correspondents, and custom fields.
  • Archive Chat: Ask natural language questions about your documents with cited sources.
  • Flexible AI Support: Compatible with OpenAI, Anthropic, Azure, and local models via Ollama.
  • Efficient Architecture: A lightweight, single-process TypeScript application with a small memory footprint.
  • Hybrid Search: Combines keyword and vector search for high-accuracy document retrieval.
  • Interactive Tools: Includes a prompt playground, manual review mode, and document-specific chat.

Related

  • Project
  • Project
  • Project
  • Project
  • Project