# dibs

> dibs is an open-source AI tool for multi-agent frameworks. Lease-based file claims and shared lessons so parallel coding agents stop colliding. It is available on CLI, macOS, Linux, Windows, VS Code and Self-hosted.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, VS Code, Self-hosted
- **Website:** https://polymatx.dev/blog/posts/dibs-coordination-for-parallel-coding-agents/
- **Repository:** https://github.com/polymatx/dibs
- **GitHub stars:** 2
- **License:** MIT
- **Categories:** [multi-agent frameworks](https://ai-powered.com/categories/multi-agent-frameworks), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Running several coding agents against one checkout tends to end in overwritten edits or diffs that will not merge, because each session has no idea what the others are touching. dibs adds a small coordination layer for that case: an agent claims files or globs with a reason and a time-limited lease, and other agents see the claim before they edit.

State lives in the git common directory, which every worktree of a repository shares, so no server, database or daemon is involved. Leases expire on their own, so a crashed agent only holds files until its TTL runs out. Optional hooks for Claude Code and git pre-commit can block edits and commits that run into another agent's claim.

It also keeps short markdown lessons under the repository's .dibs folder, searchable with BM25 from the command line or over MCP. Teams running parallel agents on one machine, or CI agents that should inherit what the team has learned, are the intended users.

## Features

- **Time-limited file claims:** Agents lease files or glob patterns with a reason and TTL, and conflicting claims are denied with the holder's details.
- **Enforcement hooks:** A Claude Code PreToolUse hook and a git pre-commit hook block edits and commits that touch another agent's claim.
- **Agent presence and status:** A status command lists active agents, what branch they are on, their claims and when those claims expire.
- **Handoff notes:** Notes broadcast to every agent on the repository, with per-agent read tracking.
- **Append-only audit journal:** Claims, denials, releases, expiries and notes are logged to a JSONL journal that can be queried.
- **Git-committed lessons search:** Markdown lessons under .dibs/lessons are searched with BM25 ranking, with no embedding model or vector store.
- **MCP server:** A stdio MCP server exposes claim, check, release, status, note and lesson tools to any MCP-capable client.

## Good for

- Running two or three Claude Code or Codex sessions on one repository without them overwriting each other's work
- Letting CI agents pick up the team's recorded lessons from the repository itself
- Stopping a crashed agent from blocking files for longer than its lease
- Leaving handoff notes for other agents when a shared interface changes
- Reviewing afterwards what the agents actually did using the journal

## FAQ

### Does dibs need a server or database?

No. It is a single binary that keeps state as JSON under .git and markdown under .dibs, with no daemon or port.

### What happens if an agent crashes while holding a claim?

The claim expires after its TTL, which defaults to 30 minutes and can be renewed up to 24 hours.

### Does dibs stop agents that ignore it?

Only in the Claude Code and pre-commit hooks it installs. It is a cooperative mechanism, not a security boundary.

### Does live coordination work across machines?

Live claims are per machine for now. Lessons travel across machines through git.

### Is dibs free?

Yes. dibs is open source, so you can use and self-host it for free.

### What are the best alternatives to dibs?

The closest alternatives to dibs are commonly, agent-manager, agent-standup, clawmetry and MemoSync.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [commonly](https://ai-powered.com/tools/commonly-2): commonly is an open-source AI tool for multi-agent frameworks.
- [agent-manager](https://ai-powered.com/tools/agent-manager): agent-manager is an open-source AI tool for ai models and llm tooling.
- [agent-standup](https://ai-powered.com/tools/agent-standup): agent-standup is an open-source AI tool for developer tools.
- [clawmetry](https://ai-powered.com/tools/clawmetry): clawmetry is a freemium AI tool for ai models and llm tooling.
- [MemoSync](https://ai-powered.com/tools/memosync): MemoSync is an open-source AI tool for knowledge and memory.
- [Coderbuds](https://ai-powered.com/tools/coderbuds): Coderbuds is an AI tool for aggregators.
- [Maestro](https://ai-powered.com/tools/maestro-2): Maestro is an open-source AI tool for multi-agent frameworks.
- [codealmanac](https://ai-powered.com/tools/codealmanac): codealmanac is an open-source AI tool for knowledge and memory.

---
Source: https://ai-powered.com/tools/dibs-3
