Agent loop
Builds the prompt, calls the model, runs tool rounds and returns the reply.
- Takes in
- user text, history
- Gives out
- reply text, events
- Owns this state
- session history
Depends on:Provider layerTool registry and groupsMemory storeModel router
See also:Architecture
Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.