Member Junction
    Preparing search index...

    The decision made about what to do next after a step completes.

    This captures not just what was decided, but why it was decided and what will happen next, providing transparency into the agent's decision-making.

    type NextStepDecision = {
        decision: BaseAgentNextStep["step"];
        nextStepDetails?: NextStepDetails;
        reasoning?: string;
    }
    Index

    Properties

    The next step type that was decided

    nextStepDetails?: NextStepDetails

    Details about what will be executed next (if not terminating)

    reasoning?: string

    Human-readable explanation of why this decision was made