PapilotAI/papilot
Next-Generation AI LaTeX Editor: annotate the PDF, review typeset diffs, and live-sync with Overleaf. Works with Claude Code, Codex, Cursor, Copilot and more.
Papilot is a free, open-source editor for LaTeX documents that lets you work directly on the typeset PDF page instead of editing .tex source code.
The core idea
When you write a paper, thesis, or book, your readers only ever see the final typeset page — never the LaTeX source behind it. Papilot applies that same logic to writing: instead of editing raw .tex files and mentally imagining what the compiled PDF will look like, you work on the PDF itself. The project calls this a "new paradigm" for writing and typesetting with AI.
How it works
- Open your project — point Papilot at the folder containing your
.texfiles, and it builds the PDF for you. - Mark up the page — select a sentence, equation, or figure directly on the PDF and write a note describing what you want changed.
- An AI agent does the source work — Papilot's agent locates the corresponding source code and makes the edit. You never need to open a
.texfile. - Review the result — the AI's edit appears as a typeset before-and-after on the PDF, with Accept, Reject, and Comment options.
Key features
- Your files stay yours — everything is stored as plain files on your machine, and every change lands in your Git history.
- Collaboration via Git — pull and push changes with coauthors; an agent can help resolve conflicts.
- Bring your own AI agent — works with agents you may already use, including Codex, Claude, Cursor, Copilot, Grok, DeepSeek, Qwen, and others.
- Cross-platform — available for macOS, Linux, and Windows.
- MIT licensed — free and open source.
Requirements
- Git and TeX Live (or MacTeX) installed on your system.
- If using the npm/CLI version: Node.js 22.22+.
Installation options
| Platform | Package type |
|---|---|
| macOS (Apple Silicon or Intel) | DMG / ZIP |
| Windows (x64) | Installer or portable executable |
| Ubuntu / Debian / Linux Mint | .deb package |
| Fedora / Arch / openSUSE | AppImage |
| NixOS | Nix flake |
| Any OS (CLI) | npm package (npm install -g papilot) |
Getting started
- Install the app for your system (or run
npm install -g papilot). - Open your project folder — Papilot builds the PDF.
- Pick an AI agent using a CLI login or API key you already have, then start marking up the page.
You can also run papilot demo to try a sample project first.
Community
- Bugs or missing features? Open a GitHub issue.
- Questions or ideas? Start a GitHub discussion.
- Want to contribute? Pull requests are welcome, including ones written with AI agents.
Related
- Project
- Project
- Project
- Project