# Lanekeeper > Lanekeeper keeps every AI coding agent in its lane. It detects when parallel AI coding agents' changes collide, warns them before they write breaking code, and checks their pull requests together in CI. The analysis runs on your machine; source code never leaves it. ## Key facts - Lanekeeper is a developer tool that detects when parallel AI coding agents' changes collide, before they merge. - It solves the problem of agents breaking each other's code: two agents each pass their own tests, git merges them without a conflict, and main is broken. - Detection is deterministic: ten rules compare lanes using parsed code structure, not a language model. The same changes always produce the same clashes. - Source code never leaves the developer's machine. Team sync sends only symbol names, file paths and clash metadata. - Languages analyzed in depth: TypeScript, JavaScript and Python (imports, arity, re-exports). By name: Go, Rust, Java, Kotlin, Swift, Ruby, C#, PHP. - Agents supported: Claude Code (hooks and plugin), Cursor (hooks and MCP), Codex (MCP and AGENTS.md), GitHub Actions (CI). - Price: free for everything on one machine. Team sync (cross-machine) is a paid plan (not yet launched). - Install: `npm i -g lanekeeper && lk init` (requires Node 22.13+, git 2.38+). Version 0.2.0. - License: Apache-2.0 (CLI, daemon, hooks, Action). - Repository: https://github.com/UpwanSingh/lanekeeper - Website: https://lanekeeper.dev ## Docs - [Quick start](https://lanekeeper.dev/docs/quick-start.md): Install Lanekeeper, set up a repository, and see your first clash in about two minutes. - [Concepts](https://lanekeeper.dev/docs/concepts.md): Lanes, clashes, claims and the merge plan, and how Lanekeeper decides what to tell an agent. - [Clash rules](https://lanekeeper.dev/docs/rules): The ten clash rules: what each one catches, how severe it is, and an example. - [CLI reference](https://lanekeeper.dev/docs/cli): Every lk command with its usage, options and exit codes, generated from the CLI itself so it always matches the installed version. - [Config reference](https://lanekeeper.dev/docs/config): Every field of .lanekeeper/config.yml, generated from the configuration schema. - [Claude Code](https://lanekeeper.dev/docs/claude-code.md): Hooks that brief Claude at session start and tell it about clashes before and after each edit. - [MCP, Cursor and Codex](https://lanekeeper.dev/docs/mcp.md): The Lanekeeper MCP server for agents without Claude Code hooks, and Cursor's hooks. - [GitHub Action](https://lanekeeper.dev/docs/github-action.md): Check every pull request against the other open pull requests, build risky pairs together, and get a merge order. - [Team sync](https://lanekeeper.dev/docs/team-sync.md): Lanes on different machines see each other live, with a shared dashboard and Slack alerts. - [Policies](https://lanekeeper.dev/docs/policies.md): Rules for what agents may touch: path, symbol and agent matches, required claims and lane limits, enforced in hooks, MCP and CI or set for an organization. - [Audit log](https://lanekeeper.dev/docs/audit.md): A tamper-evident, hash-chained record of what agents did, what Lanekeeper checked and what they were told, with lk audit verify and lk audit export. - [Cost tracking](https://lanekeeper.dev/docs/cost.md): Estimated model cost from agent transcripts and reported usage, per session, lane, agent, day and model, with your own rates and team budgets. - [Single sign-on](https://lanekeeper.dev/docs/sso.md): Sign in through your identity provider (OpenID Connect, or SAML through WorkOS), provision people with SCIM, and require SSO. - [Self-hosting](https://lanekeeper.dev/docs/self-host.md): Run the Lanekeeper team server inside your own network with Docker Compose: sign-in, team sync, the dashboard and the API on your own hardware. - [Privacy and data](https://lanekeeper.dev/docs/privacy.md): What stays on your machine, what Team sync sends and how hashed sync hides even names, what the GitHub Action reports, and what usage stats contain. - [Troubleshooting](https://lanekeeper.dev/docs/troubleshooting.md): What lk doctor checks, what each failure means, and where the logs are. - [Changelog](https://lanekeeper.dev/docs/changelog.md): What changed in each Lanekeeper release: the CLI and daemon, agent hooks and the MCP server, the GitHub Action, and the team service. ## Blog - [Run multiple AI coding agents without breaking your code](https://lanekeeper.dev/blog/running-multiple-ai-coding-agents.md): A guide to running Claude Code, Cursor and Codex agents in parallel using git worktrees, and detecting the merge conflicts they create. - [Ten rules for catching conflicts between coding agents](https://lanekeeper.dev/blog/ten-rules-for-catching-agent-conflicts.md): How ten deterministic rules detect when parallel AI agents' changes collide, from renamed functions to overlapping migrations, measured on 187 scenarios. - [Your agents are breaking each other's code](https://lanekeeper.dev/blog/agents-breaking-each-others-code.md): Parallel coding agents each pass their own tests and still break main together. Why git and CI miss it, and what we built instead. ## Optional - [Pricing](https://lanekeeper.dev/pricing.md): Free on your own machine; Team and Enterprise plans. - [Everything in one file](https://lanekeeper.dev/llms-full.txt): Every docs page, the pricing and every post as Markdown. - [Security](https://lanekeeper.dev/security): How to report a vulnerability. - [Privacy policy](https://lanekeeper.dev/privacy): What is collected and what never is.