Sub-Agent Architecture
Twill splits work across specialized sub-agents so each step runs with a focused context. See How Twill Works for the full workflow (planning, implementation, environment setup when needed, verification, review, and commits). The key idea is that each sub-agent starts with only what it needs: the Planning Agent doesn’t carry implementation details, and the Code Agent doesn’t carry long verification logs. This keeps each agent operating in its optimal context range.Verification Loops
After implementation, Twill runs verification and a focused code review. If issues are found:- Results are summarized (not dumped verbatim)
- Code agent receives a focused description of what to fix
- Agent makes corrections
- Verification runs again