Search BrigadeStack

Search BrigadeStack pages and docs.

BrigadeStack
Menu

Comparisons

Coordinate multiple Claude Code and Codex agents locally

You run multiple coding agents on the same repository and want to keep them from claiming the same task or overwriting each other's files.

Updated December 5, 2026

Short answer: track tasks in a local claim ledger and check live session presence before editing. BrigadeStack refuses duplicate claims on the same task with brigadestack work claim, warns on overlapping file edits during brigadestack work brief, and lists active sessions across Claude Code, Codex, T3 Code, and Cursor when the optional backend is configured.

The problem

Running two or three coding agents in parallel speeds up routine work until two sessions grab the same bug or edit the same file. Native agent sessions do not know what another vendor’s CLI is touching in the same checkout or in another worktree. You find out when tests fail or a merge conflict lands.

The BrigadeStack path

Start with a local task ledger in the repository:

brigadestack work init --target .
brigadestack work next --target .
brigadestack work claim <task-id> --target .
brigadestack work brief --target .
  • Atomic task claims: brigadestack work claim records a single owner for a task in the local ledger. A second claim on that task is refused instead of letting two agents duplicate work. With the optional Fleet Hub running, claims also carry a generation check across machines.
  • Live session presence and overlap warnings: When the Fleet Hub is configured, brigadestack fleet sessions --json lists active sessions from Claude Code, Codex or T3 Code, and Cursor along with the files each session is changing. brigadestack work brief warns when another live session is editing the same files, without blocking you if the overlap is intentional.
  • Bounded multi-agent dispatch: When you want one orchestrator to fan out work across tools, brigadestack run stages workers with declared limits and records check receipts. T3 Code and Orca can also launch child agents while BrigadeStack tracks task claims, status, and results.

When another tool fits better

ToolBest fitTradeoff vs BrigadeStack
BrigadeStackMixing Claude Code, Codex, Cursor, OpenCode, or T3 Code on local repos with claims, shared memory, MCP sync, and verification receiptsLocal files first. Cross-machine session presence needs the optional self-hosted backend
BeadsTeams wanting a distributed, Dolt-backed issue store with git-style branching and merges across many contributorsFocused on issue tracking. Does not sync MCP configs, skills, or cross-agent memory handoffs
Gas TownAlways-on multi-agent runtime with scheduler caps, worker pools, and a built-in merge queueHeavier runtime model than a local CLI layered onto the agents you already run
Claude Code agent teamsParallel subagents when your whole workflow stays inside Claude CodeSingle-vendor. Does not track external Codex, Cursor, or OpenCode sessions

Questions

Do I need a server to stop two local agents from taking the same task? No. brigadestack work claim uses local atomic claims in .brigade/work/ with no required daemon. The optional Fleet Hub adds cross-machine claims and live interactive session presence across hosts.

Does the file-overlap warning block an agent from editing? No. brigadestack work brief prints a warning when another live session is modifying the same files so the operator or agent can check before editing.

Can one agent verify another agent’s work before merging? Yes. Run checks through brigadestack work verify run --target . --command "<check>" to record the exact command, exit code, and tree state in a receipt that the next agent can inspect.

See tasks, claims and checks, work command reference, and bounded runs.