Skip to main content

Module step

Module step 

Source
Expand description

Step function: given state, decide next (emit events, do action, interrupt, or complete).

Graph/Agent compile down to a StepFn.

Structs§

InterruptInfo
Information attached to an interrupt (e.g. for human-in-the-loop).

Enums§

Next
What to do next after a step.

Traits§

StepFn
Step function: given current state, returns the next action (emit / do / interrupt / complete). Graph and Agent are compiled to this interface.