agent.agent_loop ================ Agentic execution loop for tool-call-driven prompt execution. The AgentLoop wraps an FFAIClientBase and executes multi-round tool-call loops: the LLM generates responses that may include tool calls, the loop executes those tools, feeds results back, and continues until the LLM produces a final answer without tool calls or the maximum round count is reached. .. automodule:: ffai.agent.agent_loop :members: :undoc-members: :show-inheritance: Classes ------- .. autoclass:: ffai.agent.agent_loop.AgentLoop :members: :undoc-members: :show-inheritance: :inherited-members: