$ ls /agents/ | wc -l → 37
/agents fleet
Sub-agents are spawned via the Agent tool with subagent_type=<name>. Every non-trivial spawn forks its own git branch, writes a 6-file artefact bundle, and registers a row in kei-ledger (RULE 0.12).
tiers
| T1 validators | 6 read-only audit gates |
| T2 researchers | 10 read-only analysis |
| T3 implementers | 13 writes code/files |
| T5 orchestrators | 8 hub-and-spoke |
# spawn from main session Agent({ subagent_type: "validator", prompt: "verify the 4 cites in...", isolation: "worktree" })
critic
Ruthless code critic finding anti-patterns, tech debt, security issues, bugs, and performance traps. Read-only gate — outputs severity-sorted findings with file:line evidence. No fixes, only reports.
critic-anti-pattern
Detects code anti-patterns: god classes, deep inheritance, shotgun surgery, primitive obsession. Read-only.
critic-bug
Detects bug patterns: off-by-one, error-swallowing, unchecked Result/Option, race conditions in shared state. Read-only.
critic-perf
Detects performance traps: N+1 queries, allocator hot loops, blocking-in-async, unbounded retention. Read-only.
critic-tech-debt
Detects dead code, TODO/FIXME, version-skew, abandoned branches, stale dependencies. Read-only.
ml-researcher
ML literature, benchmarks, reproducibility, and tooling-reuse research. Math-first + observable-classification discipline. Read-only. Use for any ML/RL question, paper review, sim/dataset selection, or before proposing a custom env / training loop.
researcher
Generic web + codebase research with 3 modes (web / code / hybrid). Returns Evidence-Graded findings. Read-only. Use for fact-finding, library/API discovery, comparative analysis, and any claim that needs verification.
researcher-code
Codebase research specialist. Glob / Grep / Read only. E1-E6 grading.
researcher-hybrid
Hybrid web+code research orchestrator. Routes to researcher-web and researcher-code in parallel.
researcher-web
Web research specialist. WebFetch / WebSearch only. E1-E6 grading.
git-model (RULE 0.12)
# on fork, kei-ledger writes: agent_id = "a3f9c1..." branch = "agent/code-implementer-1714291200" parent = "feat/site-build" spec_sha = "sha256:7d2a..." status = "running" # 6-file artefact bundle in .claude/agents/<id>/ spec.md · plan.md · progress.json chatlog.md · handoffs.md · review.md