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