agent-orchestrator/.claude/rules/16-sub-agents.md
DexterFromLab 3672e92b7e feat: Agent Orchestrator — multi-project agent dashboard
Tauri + Svelte 5 + Rust application for orchestrating multiple AI coding agents.
Includes Claude, Aider, Codex, and Ollama provider support, multi-agent
communication (btmsg/bttask), session anchors, plugin sandbox, FTS5 search,
Landlock sandboxing, and 507 vitest + 110 cargo tests.
2026-03-15 15:45:27 +01:00

569 B

Sub-Agents and Team Agents

Use Sub-Agents (Task tool) When

  • Independent research tasks can run in parallel.
  • A specialized agent type matches the work (e.g., debugger, test-engineer, frontend-developer).
  • The main context window would be polluted by excessive search results.

Use Team Agents When

  • The task benefits from multiple specialized perspectives.
  • Code review, security audit, or test analysis is warranted.

Use Direct Tools Instead When

  • Simple, directed searches — use Grep/Glob directly.
  • Single-file edits or tasks under 3 steps.