Learning Path
s01 to s10: Progressive Agent Design
Layer Legend
Tools & Execution
Planning & Control
Extensibility
Concurrency
Platform
LOC Growth
50s01
80s02
65s03
90s04
75s05
110s06
85s07
135s08
95s09
60s10
s01The Agent Loop
The smallest useful agent is a loop that calls the model, runs tools, and feeds results back.
50 LOC1 tools
s02Tool Dispatch
The loop stays stable while capabilities register into a dispatch table.
80 LOC5 tools
s03Permission Gate
Dangerous actions need a harness decision point before the shell runs.
65 LOC5 tools
s04Hook System
Cross-cutting behavior belongs around the loop, not tangled inside it.
90 LOC5 tools
s05Task Categories
Routing tasks by category decouples intent from implementation.
75 LOC5 tools
s06Subagent
Subagents give each subtask a clean context while preserving the main thread.
110 LOC5 tools
s07Skill Loading
Inject specialized knowledge only when the task actually needs it.
85 LOC5 tools
s08Plugin SDK
A well-designed hook system makes the agent infinitely extensible.
135 LOC5 tools
s09Background Tasks
The agent can keep reasoning while slow work completes elsewhere.
95 LOC5 tools
s10Config & Session
A single config file controls the entire agent harness behavior.
60 LOC5 tools