🔄 Big News! bazed.ai is now sagentic.ai. Same vision, new name!

Skip to content

@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 ​

src/session.ts:71


agent-step ​

ts
agent-step: (agent, state) => void;

Parameters ​

• agent: string

• state: StateType

Returns ​

void

Source ​

src/session.ts:74


agent-stop ​

ts
agent-stop: (agent, result) => void;

Parameters ​

• agent: string

• result: ResultType

Returns ​

void

Source ​

src/session.ts:72


agent-stopping ​

ts
agent-stopping: (agent, state) => void;

Parameters ​

• agent: string

• state: StateType

Returns ​

void

Source ​

src/session.ts:73


heartbeat ​

ts
heartbeat: () => void;

Returns ​

void

Source ​

src/session.ts:76


ledger-entry ​

ts
ledger-entry: (entry) => void;

Parameters ​

• entry: LedgerEntry

Returns ​

void

Source ​

src/session.ts:75