amaar-mc/wit

Agent coordination protocol — declare intents, lock symbols, detect conflicts before code is written

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 13 minutes ago
Added to GitGenius on August 31st, 2026
Created on March 26th, 2026
Open Issues & Pull Requests: 10 (+0)
Number of forks: 3
Total Stargazers: 46 (+0)
Total Subscribers: 1 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 157 days
Stale 30+ days: 10
Stale 90+ days: 10

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (9)
  • help wanted (7)
  • good first issue (6)
  • documentation (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Wit is an agent coordination protocol that prevents merge conflicts when multiple AI coding agents work on the same repository simultaneously.

The problem Wit solves is that multiple AI agents working independently on shared code produce merge conflicts that waste time and break work. Git detects these conflicts after they happen. Wit prevents them before code is written by running a lightweight daemon that tracks four primitives: intents (announced planned work scope), locks (reserved functions, types, or classes), conflicts (warnings when intents or locks overlap), and contracts (agreed function signatures). Agents communicate with the daemon over a Unix socket using JSON-RPC. Intents and locks serve as warnings rather than hard blocks, allowing agents to make their own decisions about how to proceed. Contracts are the only hard enforcement mechanism, applied through a git pre-commit hook that blocks commits violating accepted signatures.

Wit suits teams running multiple Claude Code instances, Cursor, Copilot, Devin, or other AI coding agents on the same repository. It works by having agents declare their work scope upfront and lock specific symbols before writing code, enabling the daemon to warn about overlapping work. The tool requires Bun for its daemon, SQLite, and process management. After initialization with the `wit` command, a `.wit/` directory and `CLAUDE.md` file are created; subsequent Claude Code sessions automatically read these coordination instructions without manual setup.

The project maintains active continuous integration. Development activity shows consistent engagement with the codebase through regular updates and testing infrastructure.