A LaTeX editor with AI agents for research.
Write your paper, manage references, and preview the PDF in one desktop workspace. Connect OpenCode or Codex to help edit your project and resolve build errors.
Your project is an ordinary folder of .tex, .bib, and asset files. You can use the same files with other editors and collaborate through Git.
- Edit multi-file LaTeX projects, compile PDFs with
latexmk, and move between source and preview with SyncTeX. - Search arXiv, your bibliography, or an enabled local Zotero library. Insert citations and edit BibTeX files alongside your paper.
- Connect OpenCode or Codex with its own models, authentication, tools, and permissions. Switch agents with recent conversation context carried across. Loom runs one agent request at a time per project.
- Send build diagnostics and relevant source context to an agent when you need help with an error.
- Review changes, stage and commit with Git, or export a source archive.
- Choose a theme and customize the editor.
Agents can change project files under the permissions you select in OpenCode or Codex. Review their changes. Your agent and provider settings determine model availability and remote processing.
Loom is in early development. The Linux x86_64 beta has been tested on an Omarchy host. Clean Ubuntu GNOME Wayland and X11 sessions, desktop integration, and other platforms remain unverified.
Download the AppImage and matching .sha256 file from the Loom Linux 0.1.0 Beta release. In the download directory, run:
sha256sum --check Loom-0.1.0.AppImage.sha256
chmod u+x Loom-0.1.0.AppImage
./Loom-0.1.0.AppImageConfirm that the checksum reports OK before launching. The AppImage needs FUSE support.
Install Git, Node.js, and npm 11 or newer. Supported Node.js versions are ^22.12.0, ^24.0.0, or >=26.0.0. To match CI, use Node.js 26.7.0 and npm 11.19.0.
git clone https://github.com/monabji/loom.git
cd loom
npm ci
npm run devThe development server uses 127.0.0.1:5173. If that port is occupied, free it or change the renderer port in electron.vite.config.ts.
Choose Create project, Open folder, or Try a sample paper. You can edit source files without an agent account or a LaTeX installation.
To compile PDFs, install LaTeX with latexmk and an engine such as pdflatex, xelatex, or lualatex. SyncTeX enables source navigation, BibTeX or Biber handles bibliographies, and TexLab provides language features.
If you cloned the repository, you can install the LaTeX tools on Linux x86_64 with:
npm run setup:latexThe setup script downloads TinyTeX and TexLab into your home directory and preserves existing installations. Git features require a separate Git installation.
Install and authenticate OpenCode or Codex separately, then connect it through Agent connections in Loom. Supported versions are OpenCode 1.19.x or 2.2.x from 2.2.1, and Codex 0.159.x. The AppImage does not bundle these tools.
Loom uses Electron, SolidJS, and TypeScript. For setup, test options, and contribution rules, read CONTRIBUTING.md.
Run the standard checks:
npm run checkThis checks formatting and types, runs unit tests, and builds the app. Tests that need a real TeX installation or an authenticated provider are opt-in.
To run the Electron tests in a graphical Linux session:
npm run build
npm run test:e2eTo build an unpacked Linux app in release/linux-unpacked/:
npm run packageReport bugs, suggest changes, or submit a pull request. Read CONTRIBUTING.md before you start and follow the Code of Conduct. Send contribution pull requests to staging.
To report a vulnerability, follow SECURITY.md.
Loom's source code uses the MIT License. Third-party assets have their own terms. See the brand assets, font license, and provider mark attribution.
