# Lanes > Lanes is free, open-source software (Apache-2.0) that gives a team's AI coding agents one shared context when several people run agents such as Claude Code, Codex, Cursor or Gemini CLI in the same git repository. Each agent gets a short team brief with every prompt and a one-line heads-up before it reads or edits a file a teammate's agent is changing. Agents that want the same file wait in a queue of about a second instead of overwriting each other, and no edit is ever refused. A teammate can send a request to another person's agent, which runs only after that person approves it. Lanes is self-hosted, needs no account and never sends file contents to its server. Key facts: - Current version: 0.3.0 (beta). Source: https://github.com/mfmatozza/lanes. Licence: Apache-2.0. - Works with Claude Code (run against the real agent), 11 more agents through their own hooks or plugins, and 7 more through MCP. - Interfaces: a CLI, an MCP server (`lanes mcp`), a VS Code extension and a browser app. - Measured: in the scenario where one agent renames a function while another writes a new caller, file locks alone broke the build in 6 of 13 runs; with Lanes' shared context, 0 of 10. With 64 agents writing at once, 0 edits were lost. The check before an edit adds 39 ms (Linux) to 68 ms (Windows) at p95. ## Agents - [Amp](https://trylanes.app/agents/amp): Run Amp with teammates in one repo using Lanes: what it installs, how Amp edits are coordinated, MCP setup and limits. - [Google Antigravity](https://trylanes.app/agents/antigravity): Run Google Antigravity with teammates in one repo using Lanes: what it installs, how Antigravity edits are coordinated, MCP setup and limits. - [Claude Code](https://trylanes.app/agents/claude-code): Run Claude Code with teammates in one repo using Lanes: what it installs, how Claude Code edits are coordinated, MCP setup and limits. - [OpenAI Codex](https://trylanes.app/agents/codex): Run OpenAI Codex with teammates in one repo using Lanes: what it installs, how Codex edits are coordinated, MCP setup and limits. - [Cursor](https://trylanes.app/agents/cursor): Run Cursor with teammates in one repo using Lanes: what it installs, how Cursor edits are coordinated, MCP setup and limits. - [Factory Droid](https://trylanes.app/agents/factory-droid): Run Factory Droid with teammates in one repo using Lanes: what it installs, how Factory Droid edits are coordinated, MCP setup and limits. - [Gemini CLI](https://trylanes.app/agents/gemini-cli): Run Gemini CLI with teammates in one repo using Lanes: what it installs, how Gemini CLI edits are coordinated, MCP setup and limits. - [GitHub Copilot](https://trylanes.app/agents/github-copilot): Run GitHub Copilot with teammates in one repo using Lanes: what it installs, how GitHub Copilot edits are coordinated, MCP setup and limits. - [Kilo Code](https://trylanes.app/agents/kilo-code): Run Kilo Code with teammates in one repo using Lanes: what it installs, how Kilo Code edits are coordinated, MCP setup and limits. - [Kiro](https://trylanes.app/agents/kiro): Run Kiro with teammates in one repo using Lanes: what it installs, how Kiro edits are coordinated, MCP setup and limits. - [opencode](https://trylanes.app/agents/opencode): Run opencode with teammates in one repo using Lanes: what it installs, how opencode edits are coordinated, MCP setup and limits. - [Qwen Code](https://trylanes.app/agents/qwen-code): Run Qwen Code with teammates in one repo using Lanes: what it installs, how Qwen Code edits are coordinated, MCP setup and limits. - [Agents](https://trylanes.app/agents): Lanes coordinates Claude Code, Codex, Cursor, Gemini CLI, Copilot, Kiro and 6 more through hooks or plugins, and 7 more agents through MCP. ## Start here - [Benchmark](https://trylanes.app/benchmark): Results from 389 real Claude Code sessions: broken builds, agents asking for help, lost edits at 64 agents and hook latency. Every run published. - [How it works](https://trylanes.app/how-it-works): What happens when two coding agents touch the same code with Lanes: the lease and queue, the sync, publishing to lanes/main and the team brief. - [What is Lanes](https://trylanes.app/what-is-lanes): Lanes is free, open-source software that lets several people run AI coding agents in one repo without overwriting or breaking each other's work. ## Docs - [Changelog](https://trylanes.app/changelog): Every Lanes release: shared team context, the browser app, personal tokens, GitHub sign-in, 18 more coding agents, the MCP server and lanes doctor. - [CLI reference](https://trylanes.app/docs/cli): Every lanes command with options and examples: init, team on, server, invite, say, ask, approve, app, mcp, doctor, and environment variables. - [MCP server](https://trylanes.app/docs/mcp): Add lanes mcp to Claude Code, Codex, Cursor, Gemini CLI and 15 more agents. Seven tools give agents the team brief, file checks, chat and requests. - [Docs](https://trylanes.app/docs): Install Lanes, set up a repository, run a team server, and find the CLI and MCP references, supported agents, security and the benchmark. - [Security and privacy](https://trylanes.app/security): What leaves a developer's machine with Lanes, what the self-hosted server keeps, how tokens and sign-in work, and the known limits. ## Guides - [Lanes vs worktrees](https://trylanes.app/compare/lanes-vs-git-worktrees): Worktrees give each coding agent its own copy; Lanes coordinates agents while they work. What each prevents, what each misses, why teams use both. - [Agents and merge conflicts](https://trylanes.app/guides/ai-coding-agents-merge-conflicts): Why teams of Claude Code, Codex or Cursor agents overwrite each other and break builds, what worktrees miss, and five steps that prevent it. - [MCP for team context](https://trylanes.app/guides/mcp-server-for-team-context): How an MCP server can tell every coding agent what teammates are changing, which tools it needs, the rules it must follow, and how to add one. - [Multiple Claude Code sessions](https://trylanes.app/guides/multiple-claude-code-sessions-same-repo): How to run several Claude Code agents in one repository, yours or your teammates', without overwritten edits or broken builds. - [Guides](https://trylanes.app/guides): Guides for teams running Claude Code, Codex or Cursor in one repo: merge conflicts, parallel sessions, team context over MCP, worktrees. ## Optional - [Full text of every page](https://trylanes.app/llms-full.txt) - [Source code and issues](https://github.com/mfmatozza/lanes) - [Live demo of the browser app](https://trylanes.app/app/)