What it does
Core capabilities at a glance
- Agents
- Docker
- Document
- Document Parsing
- Markdown
- OCR
- RAG
Deep dive
The full breakdown - performance, comparisons, and setup
papyrusLink to this section
papyrus is a RAG toolkit - Everything your AI does with documents, behind one self-hosted API. Read, convert and render any file or web page, with OCR on your own GPUs.
OverviewLink to this section
Everything your AI does with documents, behind one self-hosted API. Papyrus reads, converts and renders any file or web page from a single Docker service, so your app never touches a parser.
📦 One service instead of a parser stack. PDF, Word, PowerPoint, Excel, Outlook, HTML, EPUB, ZIP and images go in, Markdown or chunks sized for your embedding model come out. LibreOffice, pdfium, Chromium and the OCR clients ship inside the image, so your app needs an HTTP client and nothing else.
🛡️ Your app never parses untrusted files. Every document is read in a worker process inside the container, and a file that crashes or hangs a worker fails its own request while the worker is replaced. URLs pass an SSRF guard that refuses private and internal addresses, and images are checked against a pixel limit before decoding. Your developers call an API and don't have to get parser isolation and security right themselves.
🔍 OCR on your own GPUs or through Mistral. Point Papyrus at a Qwen VL model on vLLM, Ollama or any OpenAI compatible server and page images stay in your network, or use Mistral OCR. Switching backends is a configuration change, and callers keep the same request. Auto mode sends a document to the model only when its text layer is unusable.
papyrus is open-source, written primarily in Python, with 106 GitHub stars under the Apache 2.0 license. The latest release is v0.6.0 (2026-12-01).
InstallLink to this section
A quick way to get started (always check the official docs for the latest):
pip install papyrus-sdkHow it fits a local-AI stackLink to this section
papyrus runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related RAG toolkits in the directory:
SourcesLink to this section
- Source code & docs: axelered/papyrus
- Official website: http://docs.axelered.com/papyrus
Stats from GitHub, 2026-12-05.
Frequently asked
Quick answers to common questions
What is papyrus?
papyrus is a rag tool for local AI workloads. Everything your AI does with documents, behind one self-hosted API. Read, convert and render any file or web page, with OCR on your own GPUs.
Is papyrus free and open source?
Yes, papyrus has 106 GitHub stars and is licensed under Apache 2.0. You can self-host it for free on docker, web.
What platforms does papyrus support?
papyrus runs on docker, web.
What hardware do I need for papyrus?
The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. papyrus has 106 GitHub stars and an active community.
Does papyrus support GPU acceleration?
papyrus's GPU support depends on your specific setup. Check the documentation for details. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.
What are the best alternatives to papyrus?
Popular alternatives include other rag tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.
How much does papyrus cost?
papyrus is free-open-source. It is completely free and open source to self-host.
Pairs well with
Complementary tools, models, and hardware