






Weave it all together
A high-performance, local toolchain for managing monorepos. Lattice reads the workspaces, dependencies and scripts your package.json, Cargo.toml, go.mod and Gradle build already declare, runs every task in dependency order, and brings back anything it has built before.
macOS and Linux ·
Point it at the repo you already have
Lattice finds the workspaces, their dependencies and their tasks in the files your tools already read, so the config is only what those files cannot say.
Your manifests are the config
Workspaces come from pnpm-workspace.yaml, Cargo members and go.work. Build order comes from workspace:* and path dependencies. A new package is picked up the moment its package manager sees it.
One task name, each tool's own command
lattice run lint is cargo clippy in a crate, go vet ./... in a module and the lint script in a package. A workspace with no lint sits the run out instead of failing it.
Only what changed runs again
A task is keyed on its inputs, its command, its tool versions and the results of what it depends on. Edit one package and it re-runs with its dependents. Everything else is restored from cache.
A wrong tool version stops the run, and says why
Pin node, the JDK or a linter and Lattice checks it before anything starts. When it is wrong you see the version wanted, the one found and where, and the fix. An installCmd installs it into the repo instead.
Three languages, one short file
The Go service and the Python model sit outside the JavaScript workspace, so the config lists them. The web app calls the API, which no manifest can say, so the config says that too. Everything else comes from the repo.
{
"workspaces": ["apps/api", "services/ml"],
"engines": { "node": ">=22", "go": ">=1.23" },
"overrides": {
"web": { "dependsOn": ["api"] }
}
}$ lattice run build
❖ lattice build · 3 workspaces
● api cached · 1.21s saved
● web cached · 0.83s saved
✓ ml 0.44s
❖ 3 tasks · 2 cached 0.46s · 2.04s saved
The same runs, with the whole repo on screen
Lattice Desktop runs the tasks the CLI runs, with the same engine and the same cache, and shows what a terminal scrolls past: every workspace, the graph, tool versions and what the cache holds.
What every workspace can run
Each workspace with the tasks its manifest and its tool give it, and where each came from. Run one, or several across the repo, and read the output as it prints.
The graph, filling in
The task graph in dependency order, updating as the run moves through it. Focus a task to light up everything it depends on and everything that depends on it.
Tool versions and the cache
Which node, JDK or compiler each workspace runs with and where it lives, checked the way a run checks it. How big the cache is, the time it has saved, and a prune button.
Why a task ran again
A task that missed the cache names what moved: its inputs, its command, a tool version, or a task it depends on.
Install and run
Run this in the root of your repo. Then ./.lattice/bin/lattice init lists every workspace it finds and writes the few lines it needs, and lattice run build builds them in order.
macOS and Linux ·