agent-teams
Multi-agent software delivery for Claude Code. One session acts as the DRI (directly responsible individual) for an initiative: it plans the work as beads, runs a background team of role agents — planner, implementers, tester, reviewer, investigators — and drives the initiative to a reviewable pull request. A persistent Steward session watches every initiative on the machine and is your single conversational counterpart for gates and decisions; you review and merge.
New to agent-teams? Start with GETTING-STARTED.md for an end-to-end walkthrough.
Requirements
- beads (
bd) — hard dependency, no fallback.
- Claude Code with plugins enabled.
Install
/plugin marketplace add MGT-Insurance/agent-teams
/plugin install agent-teams@agent-teams
/setup-agent-teams # one-time per machine: creates/clones the global workspace
(For local development: /plugin marketplace add /path/to/agent-teams.)
$AGENT_TEAMS_HOME/config.toml is the single source of truth for all agent-teams machine configuration, including which model a background DRI runs on and the auto-compact window it and the steward request — see Machine-local runtime defaults.
Enable a repo
A repo is agent-teams-enabled only when a .agent-teams file exists at its root — not to be confused with the global ~/.agent-teams workspace, which is machine-wide and unrelated. Its contents are ignored except for one line: disabled: true, with disabled at the very start of the line. Everything else — empty file, comments, unrelated prose — leaves the repo enabled.
A missing file has the identical effect to disabled: true: not enabled. disabled: true is a live kill switch — no commit, no restart, read fresh on every call — and it doesn't close any initiative that's already open.
Commit the file. It's read straight off disk, so an untracked .agent-teams enables only the checkout it's sitting in, not the repo. Nothing creates it for you.
When a repo isn't enabled, ateam dispatch and ateam resume refuse loudly — agent-teams is not enabled for ..., non-zero exit. Everything hook-driven goes quiet instead: resolving a session to its initiative and PR-event routing skip without erroring. Codex mail delivery also skips because it requires the enabled session binding. So a repo switched off mid-flight reads less like a refusal than like agent-teams having quietly stopped.
Machine-local instructions
A human can give a role standing custom direction by hand-writing a file at $AGENT_TEAMS_HOME/instructions/<role>.md, served to a spawning role agent by ateam instructions <role>. It's machine-local: the file lives outside the global workspace's beads DB, so it needs no check-in and doesn't sync to other machines the way ateam learn memories do.
If cross-machine sharing IS wanted, git add-ing the file into the ~/.agent-teams workspace repo is an available choice — nothing about the mechanism forces machine-locality, it's just the default because nothing creates or commits the file for you.
Content over 4096 bytes is refused rather than truncated: the human sees a loud marker naming the file and its size instead of a silently cut-off instruction. The instructions extend a role's shipped definition — they can't override its hard guardrails.
Today only the reviewer role fetches this on spawn; the other roles don't yet self-fetch it.
Use