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

Skip to content

@sagentic-ai/sagentic-af / AgentEvents

AgentEvents<StateType, ResultType> ​

Agent events

Type parameters ​

• StateType

• ResultType

Properties ​

heartbeat ​

ts
heartbeat: () => void;

Returns ​

void

Source ​

src/agent.ts:47


start ​

ts
start: (state) => void;

Parameters ​

• state: StateType

Returns ​

void

Source ​

src/agent.ts:43


step ​

ts
step: (state) => void;

Parameters ​

• state: StateType

Returns ​

void

Source ​

src/agent.ts:44


stop ​

ts
stop: (result) => void;

Parameters ​

• result: ResultType

Returns ​

void

Source ​

src/agent.ts:46


stopping ​

ts
stopping: (state) => void;

Parameters ​

• state: StateType

Returns ​

void

Source ​

src/agent.ts:45