Quickstart
This gets you from zero to “two agents coordinating” in a few minutes.
1. Install the agent instructions
Section titled “1. Install the agent instructions”From the root of any git repo:
weaver initinit asks where to append a short instruction block:
- Project files (
./CLAUDE.md,./AGENTS.md) — covers this repo only. Runweaver initagain in each repo you want covered. This is the first/default choice. - Global files (
~/.claude/CLAUDE.md,~/.config/opencode/AGENTS.md,~/.codex/AGENTS.md) — one-time setup that covers every repo on this machine. You never runinitagain.
If you use Claude Code, init also offers to install
hooks (default yes): Claude is then warned automatically —
never blocked — before editing an area another agent is working in, and its presence refreshes
on every edit.
For scripts, use weaver init --project or weaver init --global, plus --hooks or
--no-hooks to decide about Claude Code hooks non-interactively.
There is no per-repo database setup either way: each repo’s store is created automatically the first time an agent runs a weaver command there. That’s the whole setup — you don’t run anything else by hand.
2. Use your agents normally
Section titled “2. Use your agents normally”Open your agents (Claude Code, Codex, OpenCode, Pi, …) in the repo as you always do. Because their instruction files now describe Weaver, they’ll run the commands themselves as they work: announce their task, claim the areas they touch, and leave notes.
3. Watch the commons live
Section titled “3. Watch the commons live”weaver status # snapshot: who's active, claims, recent activity, notesweaver watch # live terminal viewweaver dashboard # live web view (opens your browser)4. See it with sample data
Section titled “4. See it with sample data”Want a populated demo without wiring up real agents? From a checkout of the repo:
node scripts/demo.ts # seeds a throwaway store and prints how to view itTurning it off
Section titled “Turning it off”weaver disable # pause agent writes for this repoweaver enable # resumeweaver deinit # remove the project instruction block (add --purge to delete the store)weaver deinit --global # remove the global instruction blockNext: learn how it works or jump to the command reference.