agentlane
OfficialDrives Android emulators from a shared device pool: reads the screen with look, runs Maestro steps with run, takes screenshots, and sets location, permissions, appearance and other device state before launch. Emulators boot from a Quick Boot snapshot, and run --quick skips Maestro's window settle for fast taps.
Drives iOS simulators from a shared device pool: reads the screen with look, runs Maestro steps with run, takes screenshots, sets location, permissions, appearance, push notifications and the clipboard, and captures video evidence. A per-session Maestro runner port and a warm Maestro session keep calls fast, and a patched Maestro hierarchy exposes element types.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentlane Open the app, tap the login button, and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
Its own ports, dev servers and database, so no two agents start a server on the same port.
Its own iOS simulator, Android emulator or browser, which no other agent can touch.
look,runandscreenshot, which see and drive the app the same way on all three.doctor, which checks that every server runs this worktree's code before the agent trusts it.Videos, traces, logs and screenshots the agent keeps as proof.
Cleanup when the agent is done: servers stop, databases go, and devices go back to the pool.
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 init2. 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.
Related MCP server: Karagöz
Speed
An agent reads its screen in 0.12 s, where stock Maestro takes 6.5 s.
With agentlane | Without | |
Read the screen | 0.12 s | 6.5 s on stock Maestro |
iOS build in a fresh worktree | 6.5 s from the shared cache | 91.5 s |
Boot an Android emulator | Under 2 s from Quick Boot | 14.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 untildoctorreports 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,doctorbefore trusting an instance,releasewhen 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
deviceto 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
Host | Web apps | iOS | Android |
Mac, Apple silicon | yes | yes | yes |
Mac, Intel | untested | untested | untested |
Linux, x64 and arm64 | yes | no | not 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.
On Linux and in CI, the Docker image runs web lanes, the CLI and the MCP server with Node and the browser already installed.
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'scheat_sheetand 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
lookandscreenshotgoes 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.
Available Tools
3 toolslookARead-only
What's on this session's simulator screen now, one line per element: role, id (testID), label and state. Read it before acting and after the screen changes. A nearly empty read (maps, canvases) comes with a screenshot: tap what it shows by point. On a lane that holds a browser and no simulator, or with browser: true, it reads the page in the lane's browser instead: role, ref (what the browser driver's CLI acts on), name and state.
Inputs: depth, bounds, within, browser, +1 more.
runA
Run Maestro flow YAML on this session's simulator and get back what changed on screen. A failure names the step, its kind, whether it reached the device, the screen now and selectors to try. Passing steps are recorded: 'node_modules/.bin/agentlane record save ' writes them as a flow.
Inputs: env, file, yaml, appId, +1 more.
screenshotARead-only
This session's simulator screen as a JPEG, or the lane's browser viewport as a PNG when the lane holds a browser and no simulator, or with browser: true. look finds elements more cheaply; use this to judge how the screen looks.
Inputs: crop, scale, browser.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a different facet: `look` reads the accessibility/element tree, `run` executes a Maestro flow, `screenshot` captures pixels. The only real overlap is between `look` and `screenshot`, and the descriptions explicitly resolve it ('look finds elements more cheaply; use this to judge how the screen looks'), so a misselection is unlikely.
All three names are single lowercase words, which is consistent stylistically, but the parts of speech are mixed: `look` and `run` are verbs while `screenshot` is a noun, and none follow a verb_noun pattern. Readable but not a predictable convention an agent can extrapolate from.
Three tools is at the low end of the well-scoped 3-15 band, but each maps to a genuinely distinct capability (read structure, act via flow, capture visuals) with no filler. A slightly richer surface would help, but nothing is gratuitous.
The read/act/capture triad covers the core loop, but there is no direct interaction tool (tap/type by element) — every action must be expressed as a Maestro flow, and the recording capability is only exposed as a shell CLI (`agentlane record save`) rather than a tool. Session lifecycle (open/close lane) is also absent, leaving some dead ends.
Maintenance
Related MCP Connectors
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Disposable cloud Android emulators for coding agents: run an APK or PR build, tap, type, screenshot.
Cloud Android devices for AI agents: install an APK, read the screen, tap, type, read logcat.
2111Let your AI agent control real iPhones: screenshots, tap, swipe, type and open apps.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to visually interact with frontend apps by taking screenshots, clicking elements, reading console logs, and performing visual diffs.3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to automate Android and iOS devices, including emulators and physical devices, by capturing screenshots, reading UI accessibility trees, performing touch and text input, and managing app lifecycle and logs.184MIT
- AlicenseAqualityCmaintenanceEnables AI coding agents to open and exercise web applications in an isolated Chromium browser, capture screenshots and runtime/network diagnostics, and run deterministic page checks with linked evidence.121MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to load web pages in true-to-size iPhone, iPad, and Android device frames, capture screenshots, inspect interactive elements and layout diagnostics, and automate tap/type/scroll flows with network mocks, console errors, and test evidence.MIT