Lattice: an open-source agent workspace for research papers
Lattice is an open-source Mac app that puts LaTeX source, a live PDF, your cited papers, Overleaf co-authors and an AI agent in one window. It ships no model, and is free for non-commercial use. Features, setup and licence caveats.
Updated November 20, 2026: Expanded with how the agent works, install steps, privacy, platforms and the Trellis licence caveat.
Lattice is an open-source Mac app for writing research papers in LaTeX. The download costs nothing, but one component's terms make it free only for non-commercial use; companies need a separate licence (details below). It gathers the pieces of a paper into one native window: the source, a live PDF, the papers you cite, your co-authors' comments and an AI agent that edits alongside you. The project folder stays an ordinary folder on disk, so it opens in any other editor and fits under Git. Overleaf is treated as a sync target, not as the place the paper lives. The code is on GitHub under leo1oel/lattice.
Bring your own agent
Lattice ships with no model and no account or subscription of its own. Its Agent panel drives an agent CLI already on your Mac, signed in as you: Claude Code or Codex, or others such as Cursor, OpenCode or Droid. Alternatively, in Settings › Agent › Model endpoint you can enter the address, key and model names of your own OpenAI- or Anthropic-compatible API; the key is kept in your Keychain and the agent runs through Pi, with no command-line tool to install. Whatever that agent's plan or API key costs is what you pay. Writing, live preview, citations and Overleaf sync need no AI at all.
The agent reads your project and the papers in it, fixes build errors and edits files. Every change appears as a diff you can review or undo. Select a passage and choose Proofread or Polish, and each edit comes with a reason. You can also annotate the source or the PDF and have the agent propose a fix for each note, to accept or reject one by one. The agent can use MCP servers you have added to its CLI, such as Zotero.
What else it does
- Writing: completion and diagnostics as you type, SyncTeX jumps between source and PDF, one-click builds with your own TeX, and a Visual mode that draws headings, equations and figures in place.
- Templates for NeurIPS, ICML, ICLR, ACL, CVPR and AAAI, plus two thesis classes.
- Papers: add them by arXiv ID, DOI, title, link, BibTeX or from Zotero, read them beside your draft, cite in one step, and check your bibliography against Crossref.
- Overleaf: two-way sync with live presence, comments, chat and tracked changes. Co-authors stay on overleaf.com and nobody else needs Lattice.
- History: one timeline of saves, agent edits and Overleaf history, with latexdiff comparisons and a track-changes mode that needs no Overleaf plan.
- Submission: Export for arXiv writes one ZIP that builds on its own, and submission checks look for double-blind leaks.
- Other formats: markdown notes, whiteboards, interactive HTML pages, spreadsheets and React slide decks in the same project.
How to install it
Lattice needs macOS 14 or later, on Apple silicon or Intel, and a TeX distribution. If you have no TeX installed, Lattice offers to install BasicTeX for you. Download the .dmg from the latest GitHub release and drag it into Applications; Intel Macs use the file ending in _x64.dmg. Or use Homebrew:
brew install --cask latticeThe Mac builds are signed, notarised by Apple and update themselves. For the agent, install and sign in to Claude Code or Codex first. A Guided tutorial in the project menu opens a sample paper with a six-step checklist, from building the PDF to letting the agent revise a paragraph. There is also a browser demo on the project site.
Privacy and offline use
The project says it has no server that stores your work. Files leave your Mac only through features you use. Overleaf sync sends the project to your Overleaf account, and the agent sends what it reads to its own provider under your sign-in. Adding a paper queries arXiv, Crossref or OpenAlex, and the app checks GitHub for updates. Writing, live preview, builds, history and papers already in the project work offline; Overleaf sync, the agent and adding new papers need the network.
Limits and licence caveats
- It is built for the Mac. The website's FAQ says Lattice is not available for Windows or Linux, while the GitHub README describes experimental builds attached to releases that pass their checks. The Linux AppImage does not update itself, and its agent needs bubblewrap, FUSE and Linux 6.12 or later. The Windows installer is unsigned, and the agent and automatic updates are unavailable there.
- The code is Apache-2.0, but the Trellis panel layout it uses has its own terms: free for non-commercial use only. Using Lattice at a company or other for-profit organisation needs a Trellis licence from its author; the sources give no price.
- Releases up to 0.1.341 were GPL-3.0-or-later and remain under those terms, and a separate GPUI preview app in the repo is GPL-3.0-or-later.
- What you pay depends on the agent you connect, and so does the quality of its edits.
Who it is for
In our view, the nearest alternative is Overleaf plus an agent running in a separate terminal. If you already pay for Claude Code or Codex, want the agent to see the whole project, and would rather keep files local without asking co-authors to switch, Lattice is worth a try. If you work in a company lab, sort out the Trellis licence first. If you don't use an agent, the case for leaving Overleaf's editor rests on the other features.
Our take
Not shipping a model means Lattice has no subscription of its own and works with whichever agent you choose. The effort goes instead into paper-specific features: SyncTeX, citations, Overleaf round-trips and arXiv packaging. Agent edits arrive as diffs you can review or undo, each with a reason, which we think suits academic text, where you need to see exactly what changed.
Built by GitHub user leo1oel
Source: Lattice: a workspace for your research, Lattice on GitHub (leo1oel/lattice)
This story first appeared in the claudefox daily briefing for November 8, 2026.