by leo1oel
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/leo1oel/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 leo1oel. A local-first, agent-first LaTeX writing app for macOS: live PDF, annotations, papers and Overleaf sync. It has 329 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/leo1oel/lattice" and add it to your Claude Code skills directory (see the Installation section above).
lattice is primarily written in TypeScript. It is open-source under leo1oel 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 is an informational directory 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, with completion and diagnostics as you type, SyncTeX jumps both ways and one-click builds with your own TeX Live.
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 and Reading 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. 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. 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.
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, 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, tldraw 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).
The Git panel shows changes and pull requests when the project is a repository.
Lattice runs on Apple Silicon Macs with macOS 14 or later, 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.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 does not update itself, so download each new release, and the built-in Agent is not available yet.
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:
Lattice is licensed under the Apache License 2.0 (see also NOTICE), with the MIT-licensed Synara agent runtime by T3 Tools Inc. and Emanuele Di Pietro. Releases up to and including 0.1.341 were GPL-3.0-or-later and remain available under those terms. See third-party notices for component licenses and Synara integration notes for the runtime details.
Two components carry their own terms:
tldraw, @tldraw/editor, @tldraw/driver) is source-available under the tldraw license, which requires a license key for production use. Release builds read that key from the VITE_TLDRAW_LICENSE_KEY repository secret at build time; it is not in this repository, so a build without the secret runs tldraw in its unlicensed, watermarked mode.@danfessler/trellis (with @danfessler/trellis-react), is under its own non-commercial license with a commercial tier: see its license, the non-commercial terms and the commercial terms. Those terms apply to anyone using Lattice: the free tier covers non-commercial use only, so use at a company or a for-profit organizatio