2026-11-26 15:47 UTC

AgentLane: Git-backed coordination for parallel coding agents

state: seedheat: lowuncertainty: highrelevance: mediumcoding-agents multi-agent-coordination git-workflows agent-harnessesthetrueshags

What is this?

AgentLane is an MIT-licensed, Git-native coordination tool for people and coding agents working concurrently in one repository. Its maintainer describes a repository-resident task board, exclusive leased path claims, isolated branches and checks that rebase, run project gates, and atomically push completed work—without a separate coordination server. The supplied GitHub page documents installation from a source checkout or maintainer-provided wheel; it says no package was published as part of the release preparation. The design is intended for cooperative workers, and the available sources do not independently verify its effectiveness or adoption.

Why it matters

AgentLane targets a practical bottleneck in parallel AI coding: coordinating who owns which work, not just separating agents into worktrees. Its Git-resident board, leased path claims and guarded landing workflow could let people mix coding agents without adding a hosted coordination service. That may make multi-agent workflows easier to adopt, especially for small teams, but the sources establish the design and availability—not that it reliably prevents collisions in practice. Path-level coordination also cannot resolve conflicting design intent by itself.

Current assessment

The maintainer’s GitHub documentation describes AgentLane as an MIT-licensed tool for coordinating people and coding agents in one repository. Workers use separate clones and branches, claim task paths through a board stored in the repository, and complete work through checks that verify ownership, rebase onto current main, run configured gates and atomically push code and task completion. The maintainer says core use requires no coordination server or shared runtime and supports multiple agent tools. The documented installation is from a source checkout or maintainer-provided wheel; the page says no package was published as part of release preparation. These are maintainer-described capabilities, not independently validated performance results. The tool is intended for cooperative workers, leaves repository permissions to users, and depends on configured gates and a remote that supports atomic pushes for direct landing. A September 25 Reddit discussion illustrates a related limitation: worktree and file-level separation may not prevent agents from pursuing incompatible plans. A separate HN post on Riftri indicates adjacent activity in parallel-agent tooling, but the supplied evidence does not establish a direct comparison or adoption. Useful follow-up: verify implementation and real-world reliability, recovery behavior, and whether path claims reduce integration failures beyond ordinary worktrees.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1695h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-17 00:25 (minted)⭐ origin echo-reconstructedAgentLane assigns concurrent workers tasks, exclusive path claims, and isolated branches, using a repository-resident board and atomic Git p
thetrueshags on github (echo) · attributed from hn.story.49734832 · published time unknown
—
09-17 00:15first on hacker news · published · lag ?AgentLane: Git-native coordination for coding agents
shirag
—
09-25 01:03first on r/ClaudeAI · published · lag ?anyone else getting “intent conflicts” when two coding agents run in parallel, not just merge conflicts?
Tight_Claim8869
—
09-17 00:15amplified on hacker newshn.story.49734832
shirag
peak 3 · 1 comments · 19% of case engagement
09-22 19:58amplified on hacker newshn.story.49807251
kinfish
peak 5 · 2 comments · 34% of case engagement
09-25 01:03amplified on r/ClaudeAI 👑reddit.post.1wpixl9
Tight_Claim8869
peak 4 · 13 comments · 47% of case engagement
09-17 00:21our radar first saw it · lag ?discovery anchor: hn.story.49734832—

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnAgentLane: Git-native coordination for coding agents
Retrieved article excerpt

Open article · Retrieved 2026-09-17T00:22:14.721467+00:00

# AgentLane

**Parallel coding agents. One repository. No collisions.**

**Git-native coordination for humans and coding agents working concurrently on one repository.**

Each worker gets a lane: a task, an exclusive claim on the paths it needs, and an isolated branch.
Git coordinates ownership and serializes completed work into the shared codebase. The board lives
in the repository. No coordination server, database, hosted control plane or shared agent runtime
is required.

[MIT license](https://github.com/thetrueshags/AgentLane/blob/main/LICENSE) | [Contribute](https://github.com/thetrueshags/AgentLane/blob/main/CONTRIBUTING.md) | [Issues](https://github.com/thetrueshags/AgentLane/issues/new/choose) | [Discussions](https://github.com/thetrueshags/AgentLane/discussions)

Use AgentLane for product development, maintenance, documentation, research, operations, or a
hackathon. One person can direct several agents; a team can bring different tools. Each concurrent
worker uses a separate clone and unique name. This coordinates cooperative workers; repository
permissions remain your responsibility.

## Install

Requires Python 3.9+, Git and Bash (Git for Windows on Windows). There are no Python runtime
dependencies. From an AgentLane source checkout:

```
python3 -m pip install -e .
agentlane --help
agentlane --version
```

Or use `pipx install .` for an isolated installation. For an existing project, install AgentLane
from a local source checkout or a maintainer-provided wheel, then work in that project.
No package has been published as part of this release preparation. On Windows, use `python` if
that selects your intended interpreter.

## Your first lane

For optional foreground supervision in separate local clones, use
`agentlane worker run --clone ../worker --name engineer -- <command> <args...>`.
Local receipts and separate logs are available through `agentlane worker list`/`show` and
read-only MCP tools. This also works in ordinary Git source checkouts without a board.
Process exit never marks a task complete. See [local workers](https://github.com/thetrueshags/AgentLane/blob/main/docs/workers.md) for stdin files,
timeouts, duplicate protection and orphan recovery.

In a project whose shared board is initialized:

```
git clone <project-repository>
cd <project-directory>
agentlane join --name alice --agent codex
agentlane status
agentlane list --available
agentlane take AL-12
# Work inside the claim's paths, then commit your changes.
agentlane note AL-12 "API complete; frontend can now use /auth/login"
agentlane done AL-12
```

`take` without an ID lists available tasks. `show AL-12` shows description, paths, ownership,
branch, timestamps, stale state and notes. For incomplete setup, run `agentlane doctor`: it
diagnoses without making changes. Install the local pre-push guardrail with `agentlane install`;
`done` enforces its own checks regardless.

Your agent can handle these steps. Tell it: "Read AGENTS.md, inspect the board, and help me choose
a task." See the [three-worker walkthrough](https://github.com/thetrueshags/AgentLane/blob/main/docs/example.md).

## Set up a project once

Start with a Git repository having an initial commit on its remote main branch. Defaults are
`main` and `board`.

```
agentlane install --project --agent codex
agentlane init
agentlane join --name alice --agent codex
```

`install --project` adds missing configuration, instructions, gates and the selected agent's MCP
configuration. Existing files are preserved; merge your existing instructions/configuration when
necessary. It refuses to replace a different pre-push hook and retains the MIT notice with copied
files. It does not create a remote or publish project files.

Commit generated files through a first setup lane, choosing the paths actually added:

```
agentlane take --new "Configure project coordination" --paths ".harness/**" "AGENTS.md" ".codex/config.toml"
git add .harness AGENTS.md .codex/config.toml
git commit -m "Configure AgentLane"
agentlane done
```

Customize `.harness/gate/code.sh` before this landing. `agentlane doctor` explains remaining setup
steps. For source contributions to AgentLane itself, use [CONTRIBUTING.md](https://github.com/thetrueshags/AgentLane/blob/main/CONTRIBUTING.md) instead.

## Plan, work and recover

```
agentlane add "Implement auth endpoint" --description "Return a tested login response" \
  --paths "src/auth/**" "tests/auth/**"
agentlane list --mine
agentlane show AL-12
agentlane heartbeat
agentlane sync
agentlane release AL-12
```

Backlog tasks reserve no paths. Conflicting claims are refused, including simultaneous attempts.
Paths are repository-relative; quote wildcards. See [glob semantics](https://github.com/thetrueshags/AgentLane/blob/main/docs/architecture.md#path-ownership).

Claims default to 45 minutes with two extensions, and become recoverable after 15 minutes without
a heartbeat. Send heartbeats while working; reads do not refresh claims. Timing is configurable.
Stale claims stay visible until a sweep or new take releases them. Re-taking recovers an existing
branch when available. `release --force AL-12` recovers only stale ownership, never a live claim.
Branches preserve commits; push them so another clone can recover the work.

## Landing and gates

`done` verifies ownership, rebases onto current main, checks paths, runs the project gate, and
rechecks the lease. It publishes code and task completion in **one atomic Git push**. If another
worker lands first, AgentLane refreshes, rebases and checks again. A failing gate, expired lease
or rejected ref update does not mark work complete. Direct landing requires a remote supporting
atomic pushes; there is no unsafe fallback.

`.harness/gate/code.sh` defines acceptable work. The sample detects Python, Node package managers,
Go, Rust, Elixir and Java. Documentation paths use `.harness/gate/docs.sh`. Missing gates fail
closed. See [gate customization](https://github.com/thetrueshags/AgentLane/blob/main/docs/gates.md).

For GitHub review, set `landing_mode` to `pr` in `.harness/config.json`, or use `done --pr`.
Successful submission releases ownership into review; after merging or closing, run
`agentlane sync --reviews`. GitHub CLI/authentication are needed only for PR operations.
PR submission is not completion. Core direct landing works with a writable Git remote.

For independent review before **direct** landing, opt in with `"require_review": true`.
The policy is read from exact target main and takes effect after the enabling change lands.
A registered reviewer who has never owned implementation tests the pushed commit in a separate
clean checkout and records `approve TASK --commit FULL_SHA --base FULL_SHA --evidence TEXT`.
Engineering keeps the claim and runs `done`; changed commits, bases or leases need fresh approval.
PR mode is incompatible with this policy. See the [review workflow](https://github.com/thetrueshags/AgentLane/blob/main/docs/example.md#optional-independent-review).

## Integrations and optional automation

Claude Code, Codex, Cursor, Gemini CLI, VS Code/Copilot, OpenCode and shell agents all follow
[AGENTS.md](https://github.com/thetrueshags/AgentLane/blob/main/AGENTS.md). CLI and MCP share one engine. Source checkouts retain `tools/board-mcp`
and existing configurations; installed projects can launch `agentlane mcp`.
See [integration details](https://github.com/thetrueshags/AgentLane/blob/main/docs/integrations.md).

GitHub Actions and Slack are optional. Workflows can check landed work, recover failed landings
when a board is present, and expire stale claims. They target `main`/`board`; adapt them for custom
branch names. Set `SLACK_WEBHOOK_URL` for concise notices. Core commands need neither GitHub
Actions nor Slack, and can use a local bare Git remote.

## Contribute and learn more

Contributions go back to [thetrueshags/AgentLane](https://github.com/thetrueshags/AgentLane).
Source contributors use ordinary branches and PRs without board membership.

- [Contribution guide](https://github.com/thetrueshags/AgentLane/blob/main/CONTRIBUTING.md)
- [Architecture and recovery](https://github.com/thetrueshags/AgentLane/blob/main/docs/architecture.md)
- [Three-worker example](https://github.com/thetrueshags/AgentLane/blob/main/docs/example.md)
- [Changelog](https://github.com/thetrueshags/AgentLane/blob/main/CHANGELOG.md) and [release instructions](https://github.com/thetrueshags/AgentLane/blob/main/docs/releasing.md)
- [Community guidelines](https://github.com/thetrueshags/AgentLane/blob/main/CODE_OF_CONDUCT.md) and [private security reporting](https://github.com/thetrueshags/AgentLane/blob/main/SECURITY.md)

Run `python3 -m unittest discover -v` for the complete credential-free suite. Build instructions
live in CONTRIBUTING.md. AgentLane is [MIT licensed](https://github.com/thetrueshags/AgentLane/blob/main/LICENSE).
shirag31
🟧 echo.github ⭐AgentLane assigns concurrent workers tasks, exclusive path claims, and isolated branches, using a repository-resident board and atomic Git pthetrueshags——
🟧 hnShow HN: Riftri – copy-on-write Git worktrees for running agents in parallelkinfish52
🟠 redditanyone else getting “intent conflicts” when two coding agents run in parallel, not just merge conflicts?
ClaudeAI
Tight_Claim8869413

Interpretation history

Decision trace