@sagentic-ai/sagentic-af / AgentEvents
AgentEvents<StateType, ResultType> ​
Agent events
Type parameters ​
• StateType
• ResultType
Properties ​
heartbeat ​
ts
heartbeat: () => void;
Returns ​
void
Source ​
start ​
ts
start: (state) => void;
Parameters ​
• state: StateType
Returns ​
void
Source ​
step ​
ts
step: (state) => void;
Parameters ​
• state: StateType
Returns ​
void
Source ​
stop ​
ts
stop: (result) => void;
Parameters ​
• result: ResultType
Returns ​
void
Source ​
stopping ​
ts
stopping: (state) => void;
Parameters ​
• state: StateType
Returns ​
void