Agentlanes — AI skill for Claude Code
Run several AI coding agents on one machine without collisions: file leases, job slots, an event log, and kernel-enforced write lanes on Linux (Landlock).
How to install Agentlanes
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open metastazorg/agentlanes and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentlanes does
Run several AI coding agents on one machine without collisions: file leases, job slots, an event log, and kernel-enforced write lanes on Linux (Landlock).
Alternatives in AI
- Agent Kernel — Minimal kernel to make any AI coding agent stateful 334 ★
- Cplt — Sandbox for AI coding agents 114 ★
- Slopware Skills — Free, portable AI agent skills and plugins for Codex, Claude Code, and Agent Skills clients by Slopware Engine 34 ★
README
agentlanes
A recorded run of ./demo.sh (real timing), then a replay of a real Claude Code session under agentlanes run. Regenerate with tools/make_demo_svg.py; video: docs/demo.mp4.
Coordination for several AI coding agents (Claude Code, Codex, Cursor, Aider, ...) working on one Linux or macOS machine.
The problem
- Two agents edit the same file at the same time and one silently overwrites the other.
- Two agents start a full build or test suite at once and the machine runs out of memory.
- Nobody, human or agent, can see who is working on what, or tell when another agent has finished.
agentlanes gives agents four small primitives for this: **claims** (leases on topics and paths), **slots** (an N-slot queue for heavy commands), an **event log** that agents can block on, and a **job queue**. It is one Python package, standard library only, no daemon. State is a directory of JSON files guarded by `flock`.
60-second quickstart
pip install agentlanes-cli # Python >= 3.9, no dependencies; the command is `agentlanes`
cd your-project
agentlanes init --claude-code --agents-md
agentlanes doctor # every line should say ok/info; anything else comes with a fix
`init` is safe to run again. It creates `.agentlanes/` (this project's state, git-ignored by a `.gitignore` inside it), merges a `PreToolUse` hook into `.claude/settings.json` without touching your other settings or hooks (the previous file is kept as `settings.json.agentlanes-backup-`), and appends the agent instructions to `AGENTS.md` once, between `` markers.
Related Skills
Skilljail
Manifest-declared, kernel-enforced least privilege for AI agent skills (Claude Code SKILL.md). Seatbelt/Landlo
Agistry
Registry, mailbox and device leases for coordinating AI coding agents (Claude Code, Codex): see who's working
Claude Code Wsl Sandbox
Run Claude Code on Windows inside a real Linux sandbox. WSL 2 + ai-jail (bubblewrap, Landlock, seccomp) so the
Fable Director
Token governance for Claude Code: the top model directs, execution goes to the cheapest adequate means. Routin
Zandy.Nix
Sandbox for AI coding agents on macOS, declared in Nix, enforced by the kernel
Confine.Nix
Sandbox for AI coding agents on macOS, declared in Nix, enforced by the kernel
Related Agents
Kernel Coding Style Critic
Specialist critic for linux-kernel-dev answers · scores ONLY coding style — kernel coding-style.rst adherence
Reality Checker Tram
Tier-2 Harness Auditor for Team RAM. Cross-session, cross-project health audits. Verify invariants are enforce
Hatch3r Edge Case Analyst
Domain edge-case + error-handling correctness specialist — enumerates functional edge cases across multi-entit