talira

Paperless-AI

AI extension for Paperless-ngx: fills in titles, tags, correspondents and dates, and answers questions about your archive with cited sources

open sourceMITself-hostablefree

Paperless-AI is a self-hosted companion app for Paperless-ngx that analyses new documents with a language model and fills in their title, tags, correspondent, document type, date and custom fields, on a schedule or instantly from a Paperless workflow webhook, with a history that can undo every change. Its "Ask your archive" chat answers plain-language questions over all documents with hybrid keyword and vector search and cites its sources, using a built-in local embedding model, Ollama or OpenAI-compatible embeddings. It works with OpenAI, Anthropic, Ollama for fully local use, Azure OpenAI and any OpenAI-compatible API, can re-read poor scans with local PaddleOCR on the CPU or an NVIDIA GPU, and can collect due dates and appointments into a private iCal feed. It runs as one Docker container with a setup wizard, OpenID Connect single sign-on, two-factor authentication and a REST API, and is MIT-licensed.

Ways to install

Problems it solves

  • my paperless-ngx inbox is full of scans called scan_0042.pdf with no tags or correspondent
  • automatically title and tag every document that lands in Paperless using an LLM
  • use a local model through Ollama to sort my scanned household paperwork without sending it to the cloud
  • ask my document archive when I signed my rental agreement and get the answer with the source document
  • chat with all my scanned letters, bills and contracts in plain language
  • find the amount of my last electricity bill without opening twenty PDFs
  • fill custom fields like invoice number and amount from scanned documents automatically
  • re-OCR badly scanned or photographed documents because Paperless's text is garbled
  • only let the AI process documents I've tagged for it, and leave everything else alone
  • keep the AI from inventing new tags: restrict it to the tags and correspondents I already have
  • undo the changes an AI tagger made to my documents when it gets one wrong
  • get payment due dates and cancellation deadlines from my mail into my calendar automatically
  • process each new document the moment it's added to Paperless instead of waiting for a scan interval
  • review and approve AI suggestions for a document's metadata before saving them
  • sign in to my document AI tool with Authentik or Keycloak instead of another password

View all 20 problems

Features

  • fills in title, tags, correspondent, document type, date and custom fields for new documents
  • runs on a schedule or instantly through a Paperless-ngx workflow webhook
  • OpenAI, Anthropic (Claude), Ollama, Azure OpenAI and any OpenAI-compatible API, reasoning models included
  • trigger tags and exclude tags choose which documents are processed; can be restricted to existing tags, correspondents and document types
  • optional context from an external API, such as a customer list
  • Ask your archive: hybrid keyword and vector search, streamed answers with cited sources, exact counts from Paperless and a search mode without AI costs
  • built-in local multilingual embedding model, or Ollama, OpenAI-compatible or Azure embeddings, or keyword-only search
  • smart search terms: the AI adds synonyms, names and translations to a question before searching
  • optional local OCR with PaddleOCR on the CPU or an NVIDIA GPU, replacing Paperless's text only when it reads better, with undo
  • calendar of appointments, due dates and deadlines found in documents, with a private iCal subscription link
View 6 more
  • document chat, manual review, prompt playground, prompt wizard and a prompt library with ratings per model
  • history with undo, dashboard, live logs and diagnostics
  • setup wizard, settings in the web UI or environment variables
  • OpenID Connect single sign-on (Authentik, Keycloak, Authelia and others), two-factor authentication and API keys
  • REST API documented with OpenAPI at /api-docs
  • Docker images for amd64 and arm64, plus a CUDA image for NVIDIA GPUs

Limitations

  • No user roles or permissions: every Paperless-AI account has the same rights, settings included, so access has to be limited at the identity provider4
  • Not meant to face the internet directly: the README says to keep it on your local network or behind a VPN or an authenticating reverse proxy4
  • GPU-accelerated OCR only on NVIDIA GPUs: the CUDA image is amd64-only, and other machines run OCR on the CPU4

Capabilities

Has an APIplan not known
Has single sign-onplan not known
Sends webhooksplan not known

Alternatives

The same job

These do what Paperless-AI does.

  1. Papra The minimalistic document archiving platform

Compare Paperless-AI with the top 3