Download SVG
Agent Loop Runtime Architecture Trigger → think → guarded tool execution → observe → decide Agent Loop Runtime Architecture Trigger → think → guarded tool execution → observe → decide Trigger / Input Cognitive Core · the agent loop Memory Safety Layers Tool Execution start plan response not yet store context observe replan Trigger / Input Message · event · Think Reason, plan, and Act Select and call a Observe Parse result and Done? Is the final answer ready? Output Deliver the final Working Memory Active turn Long-Term Memory Retrieved knowledge Validate Schema and intent Scope Permission boundary Budget Cost · steps · Allow Authorize execution Reject + Replan Revise the action Tool Types Search · code · Dispatch Route to an Return Result Back to Observe