@sagentic-ai/sagentic-af / SessionEvents
SessionEvents<StateType, ResultType> ​
Session events
Type parameters ​
• StateType
• ResultType
Properties ​
agent-start ​
ts
agent-start: (agent, state) => void;
Parameters ​
• agent: string
• state: StateType
Returns ​
void
Source ​
agent-step ​
ts
agent-step: (agent, state) => void;
Parameters ​
• agent: string
• state: StateType
Returns ​
void
Source ​
agent-stop ​
ts
agent-stop: (agent, result) => void;
Parameters ​
• agent: string
• result: ResultType
Returns ​
void
Source ​
agent-stopping ​
ts
agent-stopping: (agent, state) => void;
Parameters ​
• agent: string
• state: StateType
Returns ​
void
Source ​
heartbeat ​
ts
heartbeat: () => void;
Returns ​
void
Source ​
ledger-entry ​
ts
ledger-entry: (entry) => void;
Parameters ​
• entry: LedgerEntry
Returns ​
void