Paperless-AI

Paperless-AI

Docker app from grtgbln's Repository

Overview

An automated document analyzer for Paperless-ngx using OpenAI API and Ollama (Mistral, llama, phi 3, gemma 2) to automatically analyze and tag your documents.

๐Ÿ“„ Paperless-AI

GitHub commit activity Docker Pulls GitHub Stars License

โš ๏ธ IMPORTANT NOTICE:

This repo is currently not maintained. I appreciate all the efforts from the community pushing PRs and creating issues. I'm currently rewriting the entire codebase with a more stable, up-to-date architecture. But I'm limited to evenings, and doing support here while also working on the rewrite just isn't feasible for me. With the upcoming official AI integration in Paperless-ngx itself, I'm also not sure if I'll complete the rewrite or continue maintaining this repo at all.


Paperless-AI is an AI-powered extension for Paperless-ngx that brings automatic document classification, smart tagging, and semantic search using OpenAI-compatible APIs and Ollama.

It enables fully automated document workflows, contextual chat, and powerful customization โ€” all via an intuitive web interface.

๐Ÿ’ก Just ask:
โ€œWhen did I sign my rental agreement?โ€
โ€œWhat was the amount of the last electricity bill?โ€
โ€œWhich documents mention my health insurance?โ€

Powered by Retrieval-Augmented Generation (RAG), you can now search semantically across your full archive and get precise, natural language answers.


โœจ Features

๐Ÿ”„ Automated Document Processing

  • Detects new documents in Paperless-ngx automatically
  • Analyzes content using OpenAI API, Ollama, and other compatible backends
  • Assigns title, tags, document type, and correspondent
  • Built-in support for:
    • Ollama (Mistral, Llama, Phi-3, Gemma-2)
    • OpenAI
    • DeepSeek.ai
    • OpenRouter.ai
    • Perplexity.ai
    • Together.ai
    • LiteLLM
    • VLLM
    • Fastchat
    • Gemini (Google)
    • ...and more!

๐Ÿง  RAG-Based AI Chat

  • Natural language document search and Q&A
  • Understands full document context (not just keywords)
  • Semantic memory powered by your own data
  • Fast, intelligent, privacy-friendly document queries
    RAG_CHAT_DEMO

โš™๏ธ Manual Processing

  • Web interface for manual AI tagging
  • Useful when reviewing sensitive documents
  • Accessible via /manual

๐Ÿงฉ Smart Tagging & Rules

  • Define rules to limit which documents are processed
  • Disable prompts and apply tags automatically
  • Set custom output tags for tracked classification
    PPAI_SHOWCASE3

๐Ÿš€ Installation

โš ๏ธ First-time install: Restart the container after completing setup (API keys, preferences) to build RAG index.
๐Ÿ” Not required for updates.

๐Ÿ“˜ Installation Wiki


๐Ÿณ Docker Support

  • Health monitoring and auto-restart
  • Persistent volumes and graceful shutdown
  • Works out of the box with minimal setup

๐Ÿ”ง Local Development

# Install dependencies
npm install

# Start development/test mode
npm run test

๐Ÿงญ Roadmap Highlights

  • โœ… Multi-AI model support
  • โœ… Multilingual document analysis
  • โœ… Tag rules and filters
  • โœ… Integrated document chat with RAG
  • โœ… Responsive web interface

๐Ÿค Contributing

We welcome PRs and contributions!

# Fork, clone, then:
git checkout -b feature/YourFeature
# After changes:
git commit -m "Add YourFeature"
git push origin feature/YourFeature

Then open a Pull Request via GitHub.


๐Ÿ†˜ Support & Community


๐Ÿ“„ License

This project is licensed under the MIT License. See LICENSE for details.


๐Ÿ™ Support Development

Patreon PayPal BuyMeACoffee Ko-Fi

Media gallery

1 / 2

Install Paperless-AI on Unraid in a few clicks.

Find Paperless-AI in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Paperless-AI Review the template variables and paths Click Install

Requirements


ย ย ย ย ย ย ย ย Requires a separate Paperless-ngx instance (and optional Ollama) to function.
ย ย ย ย 

Download Statistics

5,465,861
Total Downloads
429,694
This Month
420,938
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Details

Repository
clusterzx/paperless-ai:latest
Last Updated2026-06-27
First Seen2025-01-07

Runtime arguments

Web UI
http://[IP]:[PORT:3000]/
Network
bridge
Privileged
false

Template configuration

Web UI PortPorttcp

Container Port: 3000

Target
3000
Default
3000
Value
3000
App DataPathrw

Path to app data

Target
/app/data
Default
/mnt/user/appdata/paperless-ai
Value
/mnt/user/appdata/paperless-ai