Open Agent Loops
API Reference

AgentEventType

@open-agent-loops/core


Defined in: types/events.ts:22

Discriminant tags for AgentEvent.

Remarks

A string enum: each member's value is the wire string it replaces, so serialized events (JSON to a UI, logs) are byte-for-byte unchanged — only the in-code references become named constants.

Enumeration Members

Enumeration MemberValueDescriptionDefined in
AgentEnd"agent_end"The run has ended.types/events.ts:45
AgentStart"agent_start"The run has started.types/events.ts:24
Message"message"A complete message was added to the conversation.types/events.ts:32
MessageInjected"message_injected"A caller-supplied message was injected into a live run — drained from a steering or follow-up hook — rather than arriving as the run's prompt. Carries the message and which queue it came from, so telemetry can mark why a turn appeared mid-trajectory.types/events.ts:39
ReasoningDelta"reasoning_delta"A partial chunk of the assistant's reasoning channel.types/events.ts:28
TextDelta"text_delta"A partial chunk of the assistant's text content.types/events.ts:30
ToolEnd"tool_end"A tool call finished, carrying its result.types/events.ts:43
ToolStart"tool_start"A tool call is about to execute.types/events.ts:41
TurnStart"turn_start"A new model turn has started.types/events.ts:26

On this page