Paperless-AI Next
Automatically tag, sort, and search your documents using AI – no cloud required.
Paperless-AI connects to your Paperless-ngx instance and uses an AI of your choice to automatically read, understand, and classify your documents.
Every time a new document lands in Paperless-ngx, Paperless-AI picks it up, figures out what it is, and assigns the right tags, title, document type, and correspondent – so you don't have to.
What it does
Automatic tagging – New documents get analyzed and tagged automatically. You define the rules; the AI does the work.
Smart search – Ask questions like "What did I pay for electricity last March?" and get an answer based on your actual documents.
Manual control – Process any document on demand through the web interface, tweak results, or revert AI changes with one click.
OCR rescue – Poorly scanned documents can be sent through Mistral's OCR API to extract readable text before tagging.
Supported AI providers
Works with OpenAI, Ollama (local), Azure OpenAI, DeepSeek, OpenRouter, Perplexity, Google Gemini (via compatibility layer), LiteLLM, and any OpenAI-compatible endpoint. Full local operation is supported via Ollama.
Two image variants
| Lite | Full | |
|---|---|---|
| AI auto-tagging | ✅ | ✅ |
| Manual processing | ✅ | ✅ |
| RAG semantic search | ❌ | ✅ |
| Image size | ~500–700 MB | ~1.5–2 GB |
Quick Start
services:
paperless-ai:
image: admonstrator/paperless-ai-next:latest-lite
container_name: paperless-ai
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- PAPERLESS_AI_INITIAL_SETUP=yes
Open http://localhost:3000 and follow the setup wizard.