A local-first, agent-first LaTeX writing app for macOS: live PDF, annotations, papers and Overleaf sync
# Add to your Claude Code skills
git clone https://github.com/lattice-writer/latticeGuides for using ai agents skills like lattice.
See how lattice compares with popular alternatives.
lattice is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by lattice-writer. A local-first, agent-first LaTeX writing app for macOS: live PDF, annotations, papers and Overleaf sync. It has 547 GitHub stars.
lattice's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/lattice-writer/lattice" and add it to your Claude Code skills directory (see the Installation section above).
lattice is primarily written in Rust. It is open-source under lattice-writer on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh lattice against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A local-first LaTeX workspace for macOS, with your papers, your co-authors and an AI agent in the same window
Download Try it in your browser Website Watch the film Release notes Developer docs Issues 中文
A paper is more than a .tex file: it is the PDF you check, the papers you cite, the comments your co-authors leave and, now, an agent that edits with you.
Lattice keeps all of them in one native Mac window.
Your project stays an ordinary folder on disk, so it works offline, opens in any other editor and fits under Git; Overleaf is a sync target, not the place your paper lives.
Source and PDF side by side (or the PDF in a window of its own, for a second screen), with completion and diagnostics as you type, SyncTeX jumps both ways and one-click builds with your own TeX Live.
Switch a .tex tab from Source to Visual to read and edit it with its headings, emphasis, equations, lists and figures drawn in place, in the same editor.
An outline rail follows your sections, \cite keys show their reference on hover, and six highlighters with meanings mark what still needs work.
Start from a NeurIPS, ICML, ICLR, ACL, CVPR or AAAI template or one of two thesis classes, and Export for arXiv writes one ZIP that builds on its own.
Dock any panel anywhere, keep Writing, Reading and Bibliography layouts, or save your own workspaces.
Select text to Proofread or Polish it in place, with a reason for each edit. Annotate the source or the PDF, then revise from your annotations in rounds: the agent proposes an edit for each one and you accept or reject it in place. Annotations and Overleaf comments also line up in a column beside the PDF, each level with its mark on the page, where you read, reply to and resolve them. Export review PDF writes the annotations you tick into a copy of the compiled PDF as standard PDF comments, so collaborators can read them in Preview, Acrobat or Zotero.
The Agent panel runs Claude Code or Codex, or another agent CLI on your Mac such as Cursor, OpenCode or Droid, signed in as you. Or connect your own OpenAI- or Anthropic-compatible API in Settings › Agent › Model endpoint: an address, a key (kept in your Keychain) and model names, which the agent runs through Pi with no command-line tool to install. Lattice comes with no model and no AI subscription of its own. The agent reads your project and papers, fixes build errors and edits files; every change shows as a diff you can review or undo. It can also use the MCP servers you add to that CLI, such as Zotero or Heptabase: see Zotero, Heptabase and the Agent panel.
Paper shown: Albert Gu and Tri Dao, “Mamba: Linear-Time Sequence Modeling with Selective State Spaces”, arXiv:2312.00752, CC BY 4.0.
Add papers by arXiv ID, DOI, title, link or BibTeX, or straight from your Zotero library, and read each as a blog, the paper or the PDF beside your draft. Cite in one step, with the reference on hover. The library sorts, filters and groups by what you cite; Check references audits your bibliography against Crossref and shows each finding in a keyboard queue.
Two-way Overleaf sync with live presence, chat, comments and tracked changes. Your co-authors stay on Overleaf and their edits arrive as they type; nobody else needs Lattice. Comments read as conversations with one colour per person, and margin review sets comments and suggestions beside their lines.
Markdown notes edited in blocks, Excalidraw whiteboards, interactive HTML pages and spreadsheets with formulas live in the same project as the paper. Slides are React decks powered by Open Slide: edit them, comment on them, let the agent revise them, and present from Lattice. Import files… brings in anything else from your Mac.
One timeline for saved versions, every edit from you or the agent, and Overleaf's history.
Open any entry to see its diff and restore a file, or Compare… any two versions and export the PDF with the changes marked (via latexdiff from your TeX Live).
Track changes turns on review mode: your edits since then are marked in the source as you type, the PDF can show them marked too, and you accept or reject each change, or all at once, without an Overleaf plan.
The Git panel shows changes and pull requests when the project is a repository.
Lattice runs on Macs with macOS 14 or later, Apple silicon or Intel, and builds with your own MacTeX or TeX Live. No TeX yet? Lattice offers to install BasicTeX for you: it is the first step of the Get started checklist, and a build that finds no TeX offers it too.
.dmg from the latest release and drag Lattice into Applications.
On a Mac with an Intel processor, download the one ending in _x64.dmg (Apple menu → About This Mac shows Chip on Apple silicon and Processor on Intel).
Or install it with Homebrew: brew install --cask lattice. The app updates itself, so Homebrew leaves upgrades to it.Official builds are signed, notarized by Apple, and update themselves.
Linux (experimental). Releases that pass their Linux checks also carry an x86_64 .AppImage, for Ubuntu 22.04 or later, Fedora 45 and similar distributions.
Make it executable (chmod +x Lattice_*.AppImage) and run it; it builds with the TeX Live from your distribution's packages.
On Linux, Lattice checks for new releases and links to GitHub Releases, but does not update itself; download each new release yourself. The built-in Agent needs bubblewrap and FUSE (fuse3) from your distribution, on a system that lets bubblewrap start a sandbox, and Linux 6.12 or later; where one is missing the Agent stays off and its panel says which. On an older kernel a setting runs it anyway, with reduced isolation (Settings › Agent › Environment).
Windows (experimental). Releases that pass their Windows checks also carry an
unsigned x64 windows-x64-experimental-setup.exe, with a SHA-256 checksum and
setup instructions. SmartScreen may warn about the unknown publisher. The Agent
and automatic updates are unavailable; Lattice can install TeX Live for you from
its setup dialog, or you can install it yourself. See the
Windows guide for requirements and limitations.
To build from source, see CONTRIBUTING.md and the architecture docs. Bug reports and pull requests are welcome; please open an issue before a large refactor.
Lattice stands on many open-source projects. The major ones: