AI-powered PDF annotation for research papers. PaperFlux extracts exact quotations, organizes them by category (contributions, limitations, claims, evidence), and annotates your PDFs with precise highlights. It works with either OpenAI or Anthropic (Claude) models.
Install the latest release from PyPI:
python -m pip install paperfluxFor local development from a cloned repository:
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"PaperFlux uses OpenAI by default. Set the key for the provider you plan to use:
# OpenAI (default)
export PAPERFLUX_OPENAI_API_KEY="sk-your-key"
# Anthropic (when provider: "anthropic")
export PAPERFLUX_ANTHROPIC_API_KEY="sk-ant-your-key"Select the backend with the provider key in config.yaml ("openai" or "anthropic").
paperflux init
paperflux --config config.yaml path/to/paper.pdf- Pluggable LLM backend: OpenAI or Anthropic (Claude)
- Batch processing:
*.pdf - Three detail levels (low/medium/high)
- RAG-based extraction with exact quotes
- Color-coded highlights by category
- Markdown summary with sticky note
- Quote-match report with matched/skipped counts and scores
- Layout-aware quote matching across column, table, figure, and caption interruptions
- Stage-level CLI progress during extraction and annotation
- Configurable prompts and colors
For detailed setup, configuration options, and advanced usage, see the full documentation.
Contributions welcome! Fork the repo, create a feature branch, and open a PR.
See LICENSE for details.