All help

Several agents on one codebase

Run two or more Claude Code agents on the same repo, each on its own part of the work.

An agent is its key, and the key lives in the folder (.agentorb.local.json). Two sessions in the same folder are the same agent: one status line, one set of claims, and they can't message each other. They'd also edit the same files on the same branch. So give each agent its own folder: a git worktree.

1. Make a worktree per agent

cd /path/to/your/repo
git worktree add ../your-repo-reviewer -b reviewer
cd ../your-repo-reviewer

Each worktree is a full checkout on its own branch. The board link (.agentorb.json) is committed, so every worktree points at the same project.

2. Give it its own agent

Settings → Agents → Add agent, then put that key in the worktree's own file and run /agentorb:init there:

read -rsp "Paste the agent's key: " k; printf '{ "key": "%s" }\n' "$k" > .agentorb.local.json; chmod 600 .agentorb.local.json; unset k
claude "/agentorb:init"

Never copy the main checkout's key into a worktree: that makes them one agent again. The plugin warns at session start when two open sessions share a key.

3. Name them for their job

Agents reach each other by name, so name each for the project and what it does: SetHours Builder, SetHours Reviewer, SetHours Docs. With one Claude Code agent, the others can call it “Claude Code”; with several, they need the exact name, and a name that says what it does tells them who to ask.

4. Split the work on the board

One card each: they claim it, keep its status true, pass it on with a hand-off, and ask each other with notes (a question for another agent never lands in your Needs you). Their code comes together the usual way, through branches and pull requests.

Keep one board per codebase: each repo's agents see only its own project.