学习路径
s01 到 s20:渐进式 Agent Harness 设计
层次图例
The Agent LoopOne Loop Is All You Need
“The smallest useful agent is a loop that calls the model, runs tools, and feeds results back.”
了解更多Tool UseAdd a Tool, Add Just One Line
“The loop stays stable while capabilities register into a dispatch table.”
了解更多PermissionCheck Permissions Before Execution
“Dangerous actions need a harness decision point before the shell runs.”
了解更多HooksHang on the Loop, Don't Write into It
“Cross-cutting behavior belongs around the loop, not tangled inside it.”
了解更多TodoWriteAn Agent Without a Plan Drifts Off Course
“Explicit plans keep long-running work visible and correctable.”
了解更多SubagentBreak Large Tasks into Small Ones with Clean Context
“Subagents give each subtask a clean message history while preserving the main thread.”
了解更多Skill LoadingLoad Only When Needed
“Inject specialized knowledge only when the task actually needs it.”
了解更多Context CompactContext Will Fill Up
“Compression keeps the conversation usable when the context window gets crowded.”
了解更多MemoryKeep a Layer That Doesn't Lose Details
“Some facts should survive summarization and future sessions.”
了解更多System PromptAssembled at Runtime, Never Hardcoded
“The system prompt is a generated product of policy, tools, skills, and context.”
了解更多Error RecoveryErrors Are the Start of a Retry
“A robust harness classifies failures and decides what kind of retry is worthwhile.”
了解更多Task SystemBreak Big Goals into Small Tasks
“A task graph turns vague goals into ordered, observable work.”
了解更多Background TasksSlow Operations Go to the Background
“The agent can keep reasoning while slow work completes elsewhere.”
了解更多Cron SchedulerProducing Work on a Schedule
“Recurring work should be created by the harness, not remembered by the model.”
了解更多Agent TeamsOne Agent Isn't Enough, Form a Team
“Persistent teammates let work continue in parallel without stuffing every thought into one context.”
了解更多Team ProtocolsTeammates Need Agreements
“Multi-agent systems need explicit message contracts, not vibes.”
了解更多Autonomous AgentsCheck the Board, Claim the Task
“Teammates become useful when they can discover and claim work themselves.”
了解更多Worktree IsolationSeparate Directories, No Conflicts
“Parallel agents need isolated filesystems as much as isolated conversations.”
了解更多MCP ToolsExternal Tools, Standard Protocol
“External services can become agent tools through a standard discovery and call protocol.”
了解更多Comprehensive AgentAll Mechanisms, One Loop
“The final harness is still one loop, now surrounded by the systems that make it production-shaped.”
了解更多