Papilot

A Modern Agentic LaTeX Editor

Change 1 Comment

Writing LaTeX, why read LaTeX source? I just read the PDF! 😎

npm install -g papilot

Version 0.9.4 · Free and open source · MIT License

Supported Coding Agents

  • Codex
  • Claude
  • Cursor
  • GitHub Copilot
  • Grok
  • Antigravity
  • Kimi
  • GLM
  • DeepSeek
  • Qwen
  • OpenCode

What Matters in a Paper Is the Idea and the Story

Rewording and layout shouldn't take attention away from them.

Before AI

Writing LaTeX by Hand

Source on the left, preview on the right, every line typed by hand.

AI added to the editor

Checking LaTeX Diffs

The AI edits the source. Once the diffs pile up, they go unread and the AI decides.

Papilot

Reviewing the PDF

The AI edits the source, and each change is reviewed on the typeset page.

01Annotate

Point at What Should Change

Select a sentence, or box an equation or a figure, and write what should change. The agent gets the exact source lines, with no need to know which file they are in.

02Review

Every Change, Decided One by One

A paper is written to be read, so every change has to be right. However many there are, each one is shown typeset, and nothing that hasn't been accepted reaches the paper. If one isn't right yet, comment on it and the agent revises it.

03Commit

Every Change on the Record

Each task runs in its own Git worktree, and committing and pushing accepted changes is a separate step. Every change to the paper stays in its Git history.

Get Papilot

The desktop app runs on macOS, Linux and Windows, and the command-line version installs from npm (Node.js 22.22+). Both use Git and your own TeX distribution (MacTeX or TeX Live). Papilot is free and open source under the MIT License.

Terminal
$ npm install -g papilot
$ papilot demo
Example paper ready: Papilot paper (~/.papilot/example-paper)
Papilot is running at http://127.0.0.1:7274