Agent Loop
The seven-step cycle that turns a message into a tool-backed answer.
The cycle
1. Receive message
2. Find relevant skills
3. Retrieve memories
4. Build system prompt
5. Call LLM
6. Parse tool blocks
7. Return text or execute tools, then return final answerPrompt construction
Session management
Tool execution
Memory extraction
Last updated