agentlane

official

Run several AI coding agents on one machine, each with its own ports, dev servers, database and simulator, emulator or browser. Works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and Antigravity, on web, iOS and Android.

What can you do with Agentlane MCP?

  • Read the app screen — Ask the agent to inspect what's currently on screen in its lane's simulator, emulator or browser using look.
  • Drive the app — Have the agent perform actions in its own copy of the app with run, the same way across iOS, Android and web.
  • Capture screenshots — Request a screenshot of the lane's device or browser as evidence of what the agent saw.
  • Verify the running code — Use doctor to confirm every server in the lane runs the current worktree's code before trusting it.
  • Keep proof of work — Have the agent retain videos, traces, logs and screenshots from its lane as evidence.
  • Isolate parallel agents — Give each agent session its own ports, dev server, database and device so parallel runs don't collide.

Documentation

agentlane

npm License: MIT CI

Stop your coding agents fighting over ports, simulators and databases.

The fast, light way to run a copy of your app for every agent, with tools to see it and drive it, all at the same time.

Reads the screen 50x faster than stock Maestro.

Claude Code, Codex and Cursor, each shown with its mark, run agentlane up and get their own ports, dev server, database and a browser, iOS simulator or Android emulator. Each types an item into its own copy of the Basket app, ticks items off and takes screenshots, then Codex finishes and its ports and device are released.

Whether you run several Claude Code sessions on one app, Codex and Cursor side by side, or agents testing iOS and Android at once, agentlane keeps them apart.

agentlane calls each copy a lane. Every lane has:

It works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and Antigravity, on web apps, iOS and Android. It runs on your machine, with no account.

Install

1. In your project's root:

npx agentlane init

2. Then tell your agent:

Set this project up with agentlane.

Once setup reports ready, any agent in the project can take work like this:

Add a "clear completed" button to the list. Bring the app up on iOS and on the web, prove the button works with a Maestro flow and a Playwright test, and record a video of it.

Speed

An agent reads its screen in 0.12 s, where stock Maestro takes 6.5 s.

With agentlaneWithout
Read the screen0.12 s6.5 s on stock Maestro
iOS build in a fresh worktree6.5 s from the shared cache91.5 s
Boot an Android emulatorUnder 2 s from Quick Boot14.6 s cold

How we measured, and what makes it fast

The skills

The skills teach an agent the whole loop in your project, from setup to proof.

  • setup finds how your project runs its apps, servers, data and sign-in, wires your agents, writes agentlane.json, and brings each app up until doctor reports ready. It asks you only what it can't find out.
  • dev-loop is what an agent follows whenever it runs the app: one lane per session, up, doctor before trusting an instance, release when done, and what counts as proof.
  • drive covers driving the lane's device or browser, turning what worked into a committed flow or test, and keeping evidence.
  • device is drive's old name. It sends any run skill that still loads device to drive.
  • create-verification-skill writes your project's run skill, with how to launch, check, drive and capture the app and a page per user-facing feature, and runs it end to end once before it is done.
  • maintain-verification-skill keeps the run skill and its feature pages true as the app changes. It checks each page against the code, drives each feature, and opens at most one PR of corrections.

Claude Code can load the skills, the MCP server and the hooks as the agentlane plugin, and Codex, Cursor and Gemini CLI have plugins with the skills and the MCP server.

agentlane and the tools you already use

agentlane is the same idea as a git worktree, for the running app. A worktree gives each agent its own copy of the code, and a lane gives it its own copy of the app, up and running.

agentlane and Simlock

Simlock, from Callstack, leases iOS simulators, Android emulators and enrolled phones to coding agents that run in parallel. An agent asks for a device and gets one back, booted and checked, that no other agent touches until it lets go. A lane holds a simulator, emulator or browser for one agent too, and adds the rest of the running app around it: its ports, dev servers and database.

agentlane and agent-device

agent-device, also from Callstack, lets coding agents control mobile, TV, desktop and web apps through a CLI, an MCP server and a Node.js API, on more platforms than agentlane covers. It also coordinates device access between agents in parallel worktrees. A lane starts the app's servers and database first, so what the agent drives already runs that worktree's code.

agentlane and portless

portless, from Vercel Labs, gives each dev server a free port and a stable, named .localhost URL, and gives each linked worktree a subdomain of its own. A lane adds the database and the simulator, emulator or browser that go with those servers.

agentlane and worktrunk

worktrunk is a CLI for git worktrees, designed for running AI agents in parallel. You switch, list and remove worktrees by branch name, with hooks and shared build caches. A lane runs the app from each worktree, and the same session in a second worktree gets a second lane.

agentlane and Playwright

Playwright drives Chromium, Firefox and WebKit with one API, and its playwright-cli is built for coding agents. agentlane drives the browser with it by default. A lane gives each agent its own Chrome for Testing, with a profile no other lane can read, and agentlane's hook stops one agent's commands from reaching another lane's browser.

agentlane and Maestro

Maestro tests Android, iOS and web apps through YAML flows, and its MCP server lets coding agents drive a live device. agentlane drives every simulator and emulator with it and keeps a Maestro session warm between calls. Its patched Maestro gives each iOS simulator's runner a port of its own, so a second simulator doesn't start cold on every call.

agentlane and Conductor

Conductor runs Claude Code, Codex, Cursor and OpenCode in parallel, each task in its own workspace and branch, on your Mac or in Conductor Cloud's sandboxes. A setup script runs in each new workspace to install dependencies and prepare files, and each workspace gets its own range of ports for the app's servers. On your Mac, a lane adds a database and a simulator, emulator or browser to each workspace.

agentlane and Paradev

Paradev, formerly Superset, is an open-source desktop app for running CLI coding agents in parallel. Each task gets its own git worktree, branch and terminals, and a built-in browser previews each workspace's dev server. Setup and teardown scripts run as each workspace is created and deleted, to install its dependencies or to start its containers and remove them. A lane gives each agent an iOS simulator or Android emulator of its own as well.

agentlane and your agent's own worktrees

Claude Code's --worktree, the Codex app's worktrees and Cursor's worktrees each give an agent its own checkout, so parallel edits don't collide. Codex and Cursor can also run setup scripts in every new one. A lane runs the app from that checkout, and doctor confirms that every server is running that worktree's code.

Where it runs

HostWeb appsiOSAndroid
Mac, Apple siliconyesyesyes
Mac, Inteluntesteduntesteduntested
Linux, x64 and arm64yesnonot yet

agentlane needs Node 24 or newer, and Xcode or the Android SDK for mobile apps. It drives simulators, emulators and browsers, not physical devices. On Linux, Chrome needs system libraries that agentlane can't pin; agentlane doctor names any that are missing and gives the command that installs them. Where it runs on the docs site lists what each platform needs.

Security and telemetry

agentlane runs on your machine. It has no account, no hosted service and no telemetry of its own.

  • On first use it downloads its pinned tools: the patched Maestro from this repository's releases, Playwright and agent-browser from npm, and Chrome for Testing. It checks each against a hash pinned in the package.
  • The patched Maestro has its update check, error reporter, screen report and PostHog analytics removed. A check in maestro/test/ calls every local Maestro tool and sees no connection leave the machine. Maestro's cheat_sheet and cloud tools still call Maestro's servers, as they are built to.
  • Each lane's iOS runner answers only requests that carry the lane's token, so another process can't drive your simulator through it.
  • Playwright and agent-browser run as their maintainers publish them; agentlane doesn't change what they send.
  • What your agent reads through look and screenshot goes to the model it runs on, like any tool output.

To report a vulnerability, see SECURITY.md.

Acknowledgements

agentlane is built on these projects, and we're grateful to their authors:

  • Maestro drives every simulator and emulator. agentlane ships it with the patches in maestro/.
  • Playwright drives the browser by default, on Chrome for Testing.
  • agent-browser is the other browser driver a lane can run.
  • pstack, Lauren Tan's skills for Cursor, is where dev-loop and the two verification skills began. Parts of them are adapted from it under the MIT licence.

The Android robot in the animation is Google's, used under CC BY 3.0.

Documentation

The docs site has per-agent setup, the config and CLI reference, platform requirements and troubleshooting, with an llms.txt for agents. examples/expo-app/ is the app agentlane is tested on, and CHANGELOG.md lists every release.

Star the repository if agentlane helps you. It helps other people find it.

License

MIT. The patched Maestro is Apache-2.0; maestro/ holds its patches and notice.

Made by North Star.