아키텍처 레이어
완전한 에이전트를 구성하는 5개의 직교 Concern
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
