Skip to content

Lanes

Warm Claude Code sessions coordinating through one append-only file — parallel agent lanes on a shared repo - adam-s/lanes

Lanes screenshot

About Lanes

A Claude Code chat will keep a file watch running (like tail -f ) if you ask, and wake up when a new line arrives. So several chats watching the same file can send messages to each other.

Cache reads cost 0.1x (10%) of the normal token price. A chat that has already read the code is cheap to wake up again. Subagents start with an empty cache every time, so launching them over and over is expensive, even for small tasks.

This proof of concept combines the two ideas into agent lanes. Each chat joins a shared message file with the comms skill. One chat is the orchestrator, the rest are workers. You can also give workers a specialty, like reviewer or UI.

In the second, /comms child claude-1 . In the third, /comms child claude-2 .

Tell main what to build. It splits the work into tasks, sends them out, verifies the results, and sends the next ones.

If two workers write code at the same time, give each its own git worktree.

Codex can join a lane too (for example /comms child codex-1 ), but you have to explicitly tell it not to close the chat, or it ends the session instead of watching the file.

In the file, the task and done above are one line each.

Discussion

Sign in to join the discussion.

Loading comments…

Tagged

Alternatives to Lanes

Tools in the same space, ranked by how they are performing in the directory.

Compare all
  • Orbit

    Multi-repo Git workspaces for any coding agent — real worktrees, no index, no server - orbcli/orbit

    /Developer Tools
  • Concord Mcp

    Live messaging for coding agents.

    Open source/AI Agents
  • Singular Lite

    Autonomous multi-agent orchestration engine for software repos — L0/L1/L2 agents, leases, gates, audits, git-worktree isolation.

    /AI Agents
  • A2acast

    Zero-infrastructure A2A messaging between AI agents on different machines — Claude, ChatGPT/Codex, Copilot, any harness; ntfy relay transport, no ports, no ser…

    /AI Agents
  • Remove Your Data

    Agent-first skill: remove your data from brokers without paying.

    Open source/Developer Tools
  • Podiom

    Thin orchestration layer for local LLM agents.

    Open source/Developer Tools