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.
Works with
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- Antigravity
Start in your project
1Run this in your project
npx agentlane init2Then ask your agent
Set this project up with agentlane.
Getting started walks through each step.
- Its own portsPorts, dev servers and a database for each agent, so no two start a server on the same port.
- Its own deviceAn iOS simulator, Android emulator or browser that no other agent can touch.
- See and drive
look,runandscreenshotwork the same way on all three. - Checked first
doctorconfirms every server runs this worktree's code before the agent trusts it. - Proof you can openVideos, traces, logs and screenshots, kept after the agent is done.
- Cleans upWhen the agent is done, its servers stop, its database goes and its device returns to the pool.
What is agentlane?
agentlane is a free, open-source toolkit that gives each AI coding agent its own lane: a running copy of your project with its own ports, dev servers and database, and its own iOS simulator, Android emulator or browser. Agents use it through the agentlane CLI, an MCP server, and skills that teach them the loop, on web apps, iOS and Android.
New here? What a lane holds explains the idea, and Getting started takes you from one command to a ready lane.
Fast where agents spend their time
- 0.15 s
- to read an iOS screen
- 0.16 s
- to read a page in the lane's browser
- 6.5 s
- to get an iOS build from the shared cache, against 91.5 s to build it
The docs, in order
From the first command to the full reference.
1Start
- 1.1Getting startedOne command in your project, then one sentence to your agent.
- 1.2Install for your agentWhat init detects, installs and writes for each agent, and the Claude Code plugin.
- 1.3Where it runsHosts, platforms and the tools each platform needs.
- 1.4Docker imageagentlane, Node and a pinned browser in one image, for web lanes, the CLI and the MCP server.
2How it works
- 2.1What a lane holdsPorts, a device or browser, data and processes, claimed per session and folder.
- 2.2How setup decidesWhat the setup skill reads, asks and writes.
- 2.3The CLI, the MCP server and the pluginsWhich part an agent uses for what.
- 2.4The skills
setup,dev-loop,driveand the verification skills: how an agent learns the project. - 2.5What makes it fastA warm driver, a patched Maestro, a shared build cache and a reused device pool.
3Features
- 3.1Bring a worktree up
agentlane up, from a bare worktree to the running app. - 3.2Ports and dev serversEach service gets a free port and a ready check.
- 3.3Simulators and emulatorsA pool of simulators and emulators, one per lane.
- 3.4Browsers for web appsEach web lane gets its own browser profile and driver session.
- 3.5A database per laneGive each lane its own copy of the data, created by up and dropped at release.
- 3.6A server the lanes shareOne database server per repository, started when a lane needs it and stopped when none does.
- 3.7See and drive the app
look,run,screenshotandrecord, on a device or in a browser. - 3.8EvidenceScreenshots, video, traces and logs that outlive the lane.
- 3.9DoctorIs this instance worth driving? Read-only checks, each with its fix.
- 3.10The build cacheOne build per set of inputs, shared by every worktree.
- 3.11The device guard and session hooksHooks that keep agents off each other's devices and browsers, and stop them leaving containers running.
- 3.1Bring a worktree up
4Reference
- 4.1CLIEvery command and flag.
- 4.2MCP serverThe
look,runandscreenshottools over MCP. - 4.3agentlane.jsonThe config file, field by field.
- 4.4Environment variablesWhat a lane exports, and the settings you can set.
- 4.5TroubleshootingCommon failures and their fixes.
- 4.6QuestionsPhysical devices, what leaves your machine, Linux, monorepos, CI and cost.
- 4.7The tools you already useThe tools agentlane works beside, what each does well and what a lane adds.
- 4.8Honorable mentionsThe projects agentlane builds on.