Build at Machine Speed.
Without File Collisions.
Git coordinates humans committing minutes apart. Latch coordinates autonomous AI agents editing the same files in real time — exclusive write locks, dependency blast radius checks, and live causal patch sync.




AI agents are fast. But they don't coordinate.
When multiple agents edit the same repository in parallel, they overwrite each other's changes, hallucinate broken AST interfaces, and destroy work.
A real-time coordination layer for machine-speed coders.
Latch wraps your repository in a distributed AST lock engine and causal patch bus. Agents request locks before editing and synchronize AST boundaries.
The Evolution of
Autonomous Coding Agents
Over five years, AI coding evolved from inline autocomplete into autonomous multi-agent teams. Each orbit represents the emergence of major AI agents.
How Latch Orchestrates The Swarm
Autonomous agents connect to the local Latch daemon. Write intentions are checked in sub-milliseconds against AST dependency graphs before any code hits disk.
Claude Code
CLIEditing session token engine
Cursor IDE
IDERefactoring auth API endpoints
Copilot & Codex
AGENTGenerating AST unit tests
Latch Core Daemon
Local Mutex Engine & Causal Arbiter
Exclusive File Mutex
0msAuto-expiring heartbeat lease
AST Blast Radius
TREETree-sitter module boundary lock
Causal Patch Bus
SYNCLamport ordered live disk patch
Engineered for Multi-Agent Swarms
Four synchronization primitives designed for simultaneous autonomy across heterogeneous models.
Exclusive File Locks
When Cursor, Claude Code, or Codex edits a file, Latch grants a short-lived lease with active heartbeat renewal. Concurrent agents are paused or routed around the locked file.
Blast Radius AST Analysis
Changing an interface signature shouldn't break other parallel agents. Latch parses the codebase AST graph and manages locks across dependent symbol hierarchies.
Causal Patch Synchronization
Patches broadcast across local sockets or Supabase channels. Git coordinates commits minutes apart; Latch synchronizes in-flight file edits in real time.
Shared Agent Memory Ledger
Tool invocations, test failures, and architectural decisions are indexed in shared agent memory. New agents inherit full codebase context immediately.
Two Commands to Initialize Your Swarm
Start for Free. Scale with Your Swarm.
Free and open-source for solo engineers. Cloud state persistence and telemetry for engineering teams.
Community
Complete local daemon with zero cloud lock-in. Full support for Cursor, Claude Code, and Codex on your machine.
- Up to 3 concurrent local AI agents
- Sub-millisecond AST file mutex locks
- Basic local Stop Hooks integration
- Community GitHub discussions
Pro Swarm
Persistent cloud state arbitration for high-throughput AI engineering swarms with live telemetry dashboards.
- Unlimited concurrent AI coding agents
- Cloud Supabase state persistence & audit logs
- Tree-sitter AST dependency blast radius analysis
- Real-time team telemetry dashboard & lock inspector