Papilot
Annotate the PDF, let your AI agent edit the LaTeX, and review every change typeset before it reaches your paper.
- Source repo
- PapilotAI/papilot
- Stars
- ★ 457
- Last updated
- today
- FARS reviewed
- Nov 28, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 81/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A PhD student drafting a journal paper who does not want to hunt the sentence across many .tex files and instead boxes it on the PDF for Claude Code.
- Not a fit if
- Authors who write in Word and never touch LaTeX
- Users unwilling to install Git and a TeX distribution locally
- Teams that want a pure-browser editor with zero local install
- Website
- papilot.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-28
- Source review
- 81/100 · Good
What does this agent do, and when should you use it?
Papilot is an MIT-licensed AI LaTeX editor shipped as desktop builds for macOS, Windows and Linux, plus Homebrew, Scoop, APT, AUR, Nix and an npm CLI. Its premise is that you should not have to read or write .tex: you select a sentence or box an equation or figure on the compiled PDF, write what should change, and a connected agent locates the exact source lines in whatever file they live in. It works with Claude Code, Codex, Cursor, GitHub Copilot, Grok, Antigravity, Kimi, GLM, ZCode, DeepSeek, Qwen, OpenCode, Qoder, CodeBuddy, WorkBuddy and Pi, or its built-in Papilot Writer, using a login or API key you already have. Each task runs in its own Git worktree, the edit returns as a typeset before-and-after on the PDF where you accept, reject or comment, and accepted changes are committed to your Git history and synced to a linked Overleaf project. Running it requires Git, a TeX distribution and a signed-in agent; with Tailscale you can also review from a phone.
You open a paper from a local folder, a linked Overleaf project, or a template from Papilot Universe; annotate the PDF by selecting a sentence or boxing an equation or figure and writing an instruction; Papilot hands the note plus the matching LaTeX source lines to the selected agent; the agent edits a copy inside its own Git worktree instead of your working files; the result renders as a typeset before-and-after on the PDF with Accept, Reject and Comment; accepted changes become a separate commit in your Git history and sync both ways with Overleaf in about a second, while coauthors keep writing there; a model menu below the chat lets you pick a model from any connected agent and rerun the request with a different one; over Tailscale the same PDF, annotations and accept actions work from a phone or tablet browser.
- A PhD student drafting a journal paper who does not want to hunt the sentence across many .tex files and instead boxes it on the PDF for Claude Code.
- A lab sharing an Overleaf project: one author reviews and accepts edits in Papilot while coauthors keep typing in Overleaf, with changes syncing in about a second.
- An author polishing line by line before submission, accepting only the edits that read well and sending the rest back for another round.
- Someone already paying for Cursor or GitHub Copilot who wants to reuse that login instead of buying another model subscription.
- A supervisor reviewing away from the desk: opens Papilot over Tailscale on a phone, reads the PDF, marks it up and accepts changes.
- A first-time author starting from a conference or journal template in Papilot Universe and getting a compilable project immediately.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install --cask PapilotAI/tap/papilotscoop install papilot/papilotnix run github:PapilotAI/papilot -- demonpm install -g papilot
- Runtime
- Node.js 22.22+
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
Desktop builds come from the papilot.ai download page: macOS (Apple silicon and Intel, DMG, ZIP or Homebrew), Windows (x64 installer, portable app or Scoop) and Linux (AppImage, APT .deb, AUR or Nix).
macOS via Homebrew:
brew tap PapilotAI/tap
brew trust PapilotAI/tap
brew install --cask PapilotAI/tap/papilotThe macOS build is unsigned; allow it in Privacy & Security on first launch.
Windows via Scoop:
scoop bucket add papilot https://github.com/PapilotAI/scoop-bucket
scoop install papilot/papilotDebian / Ubuntu via APT:
curl -fsSL https://papilot.ai/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/papilot.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/papilot.gpg] https://papilot.ai/apt stable main" |
sudo tee /etc/apt/sources.list.d/papilot.list
sudo apt update && sudo apt install papilotArch Linux via AUR:
paru -S papilot-binNix:
nix run github:PapilotAI/papilot -- demoNode.js CLI (requires Node.js 22.22+):
npm install -g papilot
papilot demoYou also need Git, a TeX distribution, and a signed-in agent (Claude Code, Codex, Cursor, GitHub Copilot and others) or the built-in Papilot Writer.
How do you use this agent?
Launch Papilot, sign in to or configure an agent you already use, then open a paper: a local folder, a linked Overleaf project, or a template from Papilot Universe.
A quick first run with the CLI demo:
npm install -g papilot
papilot demoInside the app, select a sentence or box an equation or figure on the PDF, write what should change, and send it to the selected agent. The agent edits a copy in its own Git worktree; the result comes back as a typeset before-and-after that you Accept, Reject or Comment on. Commit accepted changes as a separate step to record them in Git history; if an Overleaf project is linked, they sync both ways automatically. Use the model menu below the chat to switch agents or models and rerun the request, and expose Papilot over Tailscale to review the same PDF from a phone or tablet browser.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- confirmation before acting
- rollback or recovery path
What are this agent's strengths and limitations?
- PDF-first interaction: select or box on the page plus one note, and the agent receives the exact source lines wherever they live, instead of you hunting through .tex files.
- Every edit returns as a typeset before-and-after with Accept, Reject and Comment, so nothing enters the paper until you accept it.
- Each task runs in its own Git worktree and committing is a separate step, so every accepted change stays auditable in Git history.
- Agent- and model-agnostic: Claude Code, Codex, Cursor, GitHub Copilot, Kimi, GLM, DeepSeek, Qwen and more, reusing logins or API keys you already have, with rerun-on-another-agent switching.
- Live two-way Overleaf sync lets coauthors keep their existing workflow.
- MIT-licensed and free, with desktop builds for three operating systems, six package-manager paths plus npm, and phone review over Tailscale.
- Non-trivial local prerequisites: Git, a TeX distribution and a signed-in agent before the first edit.
- Edit quality and cost depend entirely on the external agent you connect; Papilot itself ships no model capability.
- LaTeX-only: the underlying sources are still .tex, and Word or Markdown writing workflows are out of scope.
- Overleaf sync needs a linked project and a network connection, so a fully offline setup is not supported.
How does this agent compare with similar options?
Overleaf appears in Papilot as a collaborator rather than a replacement: coauthors keep writing there, accepted Papilot changes land in Overleaf in about a second, and their edits arrive back in your files and PDF with attribution. Compared with editing .tex directly in a source editor, Papilot moves the working surface to the compiled PDF and stages every change as a typeset before-and-after.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Papilot This agent | 81 · Good | Desktop appFree + model costs | ★ 457 | today | TypeScript | Codex · Claude Code |
| PaperDebugger | 35 · Major gaps | Browser extensionFree + model costs | ★ 1.6k | 4mo ago | TypeScript | — |
| OpenDraft | 54 · Major gaps | CLIFree + model costs | ★ 547 | 25d ago | Python | Codex · Claude Code · OpenAI API · Claude API |
| PaperJury | 72 · Some gaps | Agent plugin / skillFree + model costs | ★ 1.2k | 3mo ago | JavaScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows the Electron renderer uses contextIsolation, sandbox, and disabled nodeIntegration, with IPC sender-origin checks; tasks run in isolated Git worktrees, and accept/reject/apply/commit/push are separate steps, with update rollback. Deductions: native Windows runs Claude in Accept edits mode without a command sandbox; data flow to third-party models/CLIs is not fully described; dependency security shows some exact pins and overrides but no audit evidence; Overleaf auto-sync and modern-web-guidance telemetry are external effects, though configurable. least_privilege, data_flow_transparency, sensitive_data_handling, dependency_security, and external_effects score 2; user_confirmation and rollback score 3; source_attribution scores 2 because author and MIT are clear but publisher identity is unverified.
README, installation docs, and package.json are broadly consistent on Node 22.22+, Git, and TeX requirements; dependencies are public npm packages, but external agent CLIs and a TeX distribution are required; troubleshooting provides symptom-based recovery, papilot doctor, and log locations. Deductions: no full lockfile evidence or dependency audit is shown; external tool availability depends on the user environment. self_consistency and dependency_availability score 2; failure_messages scores 3.
Targets LaTeX paper authors and covers desktop, CLI, VS Code, mobile via Tailscale, WSL, and Nix; docs state capability boundaries such as experimental PhiTeX, no command sandbox on native Windows, and some agents lacking read-only mode. Deductions: triggering is mainly explicit user annotation/task creation, with limited detail on automatic trigger precision; boundaries are mentioned but not systematically enumerated. audience_and_scenarios and environment_fit score 3; capability_boundaries and trigger_precision score 2.
README is well structured, installation docs are detailed, and MIT LICENSE, CHANGELOG, release workflow, and CONTRIBUTING are present. Deductions: naming stability lacks historical evidence; examples are mainly quickstart/demo, with FAQ handled by troubleshooting; maintenance responsibility has process but publisher identity is unverified. information_architecture, install_notes, license, and versioning_changelog score 3; naming_stability, examples_and_faq, known_limitations, and maintenance_responsibility score 2.
Output is a typeset before-and-after review with accept/reject/comment and separate apply/commit/push, clearly improving manuscript revision review. Deductions: requires Git, TeX, and a signed-in agent, so the cost threshold is nontrivial; marginal value is limited for non-LaTeX users. output_usability and marginal_value score 3; cost_benefit scores 2.
Docs link extensively to guides, test commands, screenshots, and release processes; antigravity-usage explicitly separates verified observations from inference, and reference tests distinguish verified/unverified entries. Deductions: some marketing claims such as “any agent, any model” lack item-by-item evidence; cross-source corroboration comes mainly from the same repository's docs. claim_traceability and cross_source_corroboration score 2; fact_inference_separation scores 3.
- Static source review only; no build, test, or live agent run was executed, so confidence is low.
- Native Windows runs Claude in Accept edits mode without a command sandbox; users should assess agent command-execution permissions themselves.
- Data flow, credential handling, and log contents for third-party agent CLIs and model services are not fully described in the repository.
- Dependency security shows some exact pins and overrides but no dependency audit or vulnerability-scan evidence.
- Publisher identity is unverified; maintenance responsibility and update paths have process, but brand trust should not be inferred from them.
- Overleaf auto-sync and modern-web-guidance telemetry are external effects; confirm configuration and opt-out before use.
FAQ
Do I need my own API key?
Will the agent overwrite my .tex files?
Does it work alongside Overleaf?
What has to be installed?
Can I review on a phone or tablet?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.