アーキテクチャレイヤー
完全なエージェントを構成する5つの直交する関心事
L1 Tools & Execution
エージェントができること。基盤:ツールはモデルに世界と相互作用する能力を与えます。
L2 Planning & Coordination
作業の組織化方法。シンプルなTodoリストから、エージェント間で共有される依存関係を認識したタスクボードまで。
TodoWrite
Plan Before You Act
An agent without a plan drifts; list the steps first, then execute
Subagents
Clean Context Per Subtask
Subagents use independent messages[], keeping the main conversation clean
Skills
Load on Demand
Inject knowledge via tool_result when needed, not upfront in the system prompt
Tasks
Task Graph + Dependencies
A file-based task graph with ordering, parallelism, and dependencies -- the coordination backbone for multi-agent work
L3 Memory Management
制限内でのコンテキスト維持。エージェントが一貫性を失わずに無限に動作できる圧縮戦略。
L4 Concurrency
非ブロッキング実行。並列作業のためのバックグラウンドスレッドと通知バス。
L5 Collaboration
マルチエージェント協調。チーム、メッセージング、そして自律的に思考するチームメイト。
Agent Teams
Teammates + Mailboxes
When one agent can't finish, delegate to persistent teammates via async mailboxes
Team Protocols
Shared Communication Rules
One request-response pattern drives all team negotiation
Autonomous Agents
Scan Board, Claim Tasks
Teammates scan the board and claim tasks themselves; no need for the lead to assign each one
Worktree + Task Isolation
Isolate by Directory
Each works in its own directory; tasks manage goals, worktrees manage directories, bound by ID
