Lattices
Find any project's windows. Put them in place, for you or your agent.
A window manager that knows about projects.
Get started ·
For agents ·
Documentation ·
Website
Lattices is a native Mac app that makes your desktop part of your workflow. Put your editor and browser side by side, find a terminal by the project running inside it, and switch between groups of windows as your work changes.
Use hotkeys, gestures, or the command bar. Your agents can inspect and arrange the same workspace, read app controls, click, type, and verify results through lats, MCP, or a local API.
- Arrange the work in front of you. Tile windows into halves, thirds, or grids. Group a project's windows into a workspace layer.
- Find the context you need. Search window titles, apps, terminal directories, and screen text. Bring the matching window into place with one command.
- Come back to a running session. Define your terminal panes once, then reattach with
lats start after closing the terminal. Persistent sessions use tmux.
Get started
Requires macOS 26 or later. The Mac app works without Bun or tmux.
- Download Lattices for Mac, open the DMG, and drag Lattices to Applications.
- Open Lattices and grant Accessibility access when prompted.
- Press Control+Option+Left. Your frontmost window moves to the left half of the screen. Press Control+Option+Space to open the command bar.
For screen-text search, also grant Screen Recording permission and enable Search & OCR in Settings. OCR is off by default.
Install the CLI
Install Bun first: the CLI uses it at runtime, even when you install with npm. Then:
npm install -g @lattices/lattices
lats app
lats
The package includes the Mac app. lats app launches it; bare lats shows workspace status. Both lats and lattices run the same CLI. The package is macOS-only.
The setup guide covers login startup, permissions, and other installation options.
Linux (Hyprland and Omarchy)
Install the Linux app, CLI, host and tray from a terminal inside Hyprland:
curl -fsSL https://raw.githubusercontent.com/lattices-dev/lattices/main/install.sh | bash
On Arch/Omarchy, the installer installs missing dependencies, enables the user
services, verifies host health and opens the app. From a checkout, use
bash install.sh. Add --gestures for Forward-button gestures, or
--wheel-gestures to also reserve wheel-click. --no-start prepares the files
without starting services.
See Install on Linux for requirements, updates and
recovery. The published npm app package remains macOS-only.
Find a project window and bring it beside you
With a terminal open in your project, replace tideline with its directory name:
lats search tideline --deep
lats place tideline right
Deep search includes live terminal inspection. place searches the same sources, focuses the top match, and tiles that window on the right. Inspect the search results first if several windows match.
An agent can run those same commands. It can find the terminal by project context instead of needing you to copy a window ID.
Give your agents workspace access
With the app running and the CLI installed, add the family skills to your agent:
npx skills add lattices-dev/lattices --all --global --yes
Inspect the live API or call it directly:
lats daemon status
lats call api.schema
lats call windows.search '{"query":"api"}'
For a Bun script, install the package in your project (bun add @lattices/lattices):
import { daemonCall, isDaemonRunning } from '@lattices/lattices'