Decision Loop
Who this is for: readers who want to understand how an agent run progresses.
Flow
- Assemble model context.
- Call the model.
- Parse a structured decision.
- Execute the requested action.
- Add the result to context.
- Repeat until completion or callback.