You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/agents/AGENTS.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,3 +92,29 @@ All skills use `user-invocable: false` -- agents auto-invoke them based on descr
92
92
## Planner Read-Only Enforcement
93
93
94
94
The `planner` agent runs with `permissionMode: plan`. This enforces read-only access to the filesystem -- the planner can analyze the codebase and return plan content, but cannot execute commands that modify source files or run builds. This prevents the planner from accidentally beginning execution during the planning phase.
95
+
96
+
## Tier 2 — Agent Teams
97
+
98
+
When `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is set and Claude Code supports it, MaxsimCLI can use multi-agent orchestration via Agent Teams.
99
+
100
+
### Activation
101
+
102
+
Tier 2 activates when:
103
+
1. Environment variable `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS` is set to `1`
104
+
2. A `TeamCreate` probe succeeds (feature is available in the runtime)
105
+
106
+
If either condition fails, all workflows gracefully degrade to Tier 1 (subagents via the `Agent` tool).
107
+
108
+
### Communication
109
+
110
+
Teams coordinate exclusively through:
111
+
-**Task lists** — `.claude/tasks/{team-name}/` for pending work
112
+
-**GitHub Issues** — Phase tracking, task sub-issues, plan comments
113
+
-**Handoff contracts** — Structured output posted as GitHub Issue comments
114
+
-**SendMessage** — Direct inter-agent messages within the same team
115
+
116
+
### Hooks
117
+
118
+
Two hooks support Tier 2 operations:
119
+
-`maxsim-teammate-idle` (TeammateIdle) — Checks for pending tasks and assigns idle teammates
0 commit comments