Learning Path
s01 to s12: Progressive Agent Design
Layer Legend
The Agent LoopBash is All You Need
“The minimal agent kernel is a while loop + one tool”
Learn MoreToolsOne Handler Per Tool
“The loop stays the same; new tools register into the dispatch map”
Learn MoreTodoWritePlan Before You Act
“An agent without a plan drifts; list the steps first, then execute”
Learn MoreSubagentsClean Context Per Subtask
“Subagents use independent messages[], keeping the main conversation clean”
Learn MoreSkillsLoad on Demand
“Inject knowledge via tool_result when needed, not upfront in the system prompt”
Learn MoreCompactThree-Layer Compression
“Context will fill up; three-layer compression strategy enables infinite sessions”
Learn MoreTasksTask Graph + Dependencies
“A file-based task graph with ordering, parallelism, and dependencies -- the coordination backbone for multi-agent work”
Learn MoreBackground TasksBackground Threads + Notifications
“Run slow operations in the background; the agent keeps thinking ahead”
Learn MoreAgent TeamsTeammates + Mailboxes
“When one agent can't finish, delegate to persistent teammates via async mailboxes”
Learn MoreTeam ProtocolsShared Communication Rules
“One request-response pattern drives all team negotiation”
Learn MoreAutonomous AgentsScan Board, Claim Tasks
“Teammates scan the board and claim tasks themselves; no need for the lead to assign each one”
Learn MoreWorktree + Task IsolationIsolate by Directory
“Each works in its own directory; tasks manage goals, worktrees manage directories, bound by ID”
Learn More