Works across CLI agent subscriptions
One flat latch CLI and a 3 KB skill prompt—no MCP tool bloat. Hop between Claude Code, Codex, Antigravity, and Cursor in the terminal using the exact same browser commands.
An open-source QA workbench for engineers running Claude Code, Codex, or Antigravity from the terminal. Drive one authenticated Chrome tab at a time on playwright-core—with before/after PNG filmstrips, observed locators, and local triage before anything becomes a test.
When you run Claude Code, Codex, or Antigravity from the CLI, you don't have an IDE browser—and isolated headless browsers can't reach your SSO-gated work tabs. Latch gives CLI agents safe, auditable access to your real Chrome.
One flat latch CLI and a 3 KB skill prompt—no MCP tool bloat. Hop between Claude Code, Codex, Antigravity, and Cursor in the terminal using the exact same browser commands.
Attach one signed-in tab with latch connect <tabId> and per-session locks (-s). Your email, Slack, and other tabs stay isolated and untouched on disconnect. Finished session groups collapse by default; --close-tabs (or the popup's On session finish setting) closes only tabs Latch opened.
Active sessions and large ARIA snapshots spill to OS app data—never dirtying git status. Background focus emulation lets agents explore without stealing your cursor.
Pass --record to capture before/after PNGs, ARIA/DOM locator candidates with ambiguity warnings, and checkpoints that never fabricate assertions—reviewed locally at 127.0.0.1.
Requires Node.js 22 or newer and Google Chrome 125 or newer. External Playwright browser downloads and ffmpeg are never needed.
Install @mihaamiharu/latch globally, register the local Chrome bridge, and link agent integrations.
Open chrome://extensions in Chrome, turn on Developer mode, click Load unpacked, and select the Extension path printed by Step 1. Confirm the ID is dlkpkeiejlgggeoibejpoajedoelfcli.
With Chrome open, auto-discover the running extension instance and check bridge health.
latch pair latch doctor
Check that Antigravity, Claude Code, Codex, and Cursor links are active, then ask your agent to inspect a tab.
latch agents status
Your agent runs short CLI commands over a local bridge. Latch attaches Chrome's debugger only to the single tab you explicitly open or connect—never persistent content scripts or full-profile access.
Attach directly to corporate SSO, staging apps, and authenticated sessions already open in Chrome. Disconnecting leaves every tab intact.
Playwright Core runs inside the native messaging host over a private loopback CDP relay. No browser downloads or ffmpeg required.
Active workspace sessions bind under your local app data directory, never writing dotfiles into your codebase. Profile and session flags default automatically.
Works out of the box with Antigravity plugins, Claude Code skills, Codex, and Cursor using a compact 3 KB skill prompt and flat CLI output.
Pass --record or --objective on open or connect to capture before/after PNG filmstrips, ARIA snapshots, and locator candidates—so you can review observed behavior locally before deciding what becomes a bug report or a Playwright test.
http://127.0.0.1) opened from the Chrome popup
Click Open Library in the Chrome popup to open the 127.0.0.1 reviewer immediately, triage runs into automate / investigate / report_bug / closed separately from observed evidence, or clean up finished runs via latch library delete.
All commands support --json for structured automation output, -s for explicit multi-agent session isolation, --profile, and --workspace.
| Command | Purpose |
|---|
| Client | Installed path |
|---|---|
| Antigravity | ~/.gemini/config/plugins/latch |
| Claude Code | ~/.claude/skills/latch |
| Codex / Cursor | ~/.agents/skills/latch |
| Platform / Runtime | Support detail |
|---|---|
| Windows 10 / 11 | Named Pipes (\\.\pipe\latch-*), HKCU Native Messaging, Explorer folder picker; real-browser suites run headless on Chrome for Testing in Windows CI |
| macOS & Linux | Unix domain sockets, standard NativeMessagingHosts, Finder / zenity picker |
| Node.js & Chrome | Node.js >= 22.0.0, Google Chrome >= 125 |
Latch never installs persistent website content scripts or telemetry. Known credentials, tokens, cookies, and internal CDP endpoints are redacted automatically, and uninstalling leaves your configuration and saved library intact until you delete them.