Expand description
Agent runtime — the core perceive-reason-act loop.
Orchestrates perceive (recall) → reason (LLM) → act (tools) → guard (Jidoka). See: arXiv:2512.10350 (loop dynamics), arXiv:2501.09136 (agentic RAG).
Functions§
- run_
agent_ loop - Run the agent loop to completion (single-turn, no history).
- run_
agent_ loop_ with_ nudge - PMAT-177: Agent loop with tool-use nudge. If first turn has no tool calls, retries once.
- run_
agent_ turn - Run one agent turn with full conversation history (multi-turn).