Widgets/Chat/agent_event library

Classes

AgentApprovalNeeded
The loop waits until the user approves or denies this call.
AgentBudget
What a run may still spend after a step.
AgentDone
The run ended.
AgentEvent
One event of the family's agent loop; OxidANT emits these and an app maps its bridge types onto them.
AgentFailed
The run broke off with an error.
AgentPiece
A piece of the model's text.
AgentSession
One running agent loop: its events, and the answers that go back to it.
AgentStep
A new step begins; index counts from zero.
AgentToolCall
The model calls a tool; needsApproval marks an act tool, which waits for AgentApprovalNeeded.
AgentToolResult
What a tool returned, or why it failed.

Enums

AgentFinish
Why an agent run ended, as the loop reports it.