The looplook, think, act, repeat; the LLM decides
Long-running taskscheckpoints & deferred answers: hours, not turns
Compaction & rolling windowssqueeze the history, keep going
Memory fileswhat matters, written down outside the window
Subagentsfresh windows for subtasks; attention budgeting