Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / Trajectory

Interface: Trajectory

Defined in: packages/memory/src/consolidator/phases/induce.ts:65

The minimal trajectory an inducer needs: the goal, the ordered steps, and whether the run succeeded. Induction fires on success only (AWM online mode) — runWorkflowInduction returns null for a failed run.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
goalreadonlystringWhat the run set out to do (typically the first user message).packages/memory/src/consolidator/phases/induce.ts:67
stepsreadonlyreadonly TrajectoryStep[]Ordered steps the agent took.packages/memory/src/consolidator/phases/induce.ts:69
succeededreadonlybooleanWhether the run succeeded — the induction gate.packages/memory/src/consolidator/phases/induce.ts:71