Table of Contents

Enum PlanningStepType

Namespace
LMKit.Agents.Planning
Assembly
LM-Kit.NET.dll

Identifies the type of a planning step.

public enum PlanningStepType

Fields

Thought = 0

A reasoning or thought step where the agent considers the problem.

Action = 1

An action step where the agent performs an operation (e.g., tool call).

ReAct = 2

A combined ReAct step containing thought, action, and observation.

Reflection = 3

A reflection step where the agent critiques or evaluates its work.

Plan = 4

A plan step outlining future actions.

FinalAnswer = 5

The final answer or response step.

Examples

Filtering a recorded trace to only reflection steps:

using LMKit.Agents.Planning;

foreach (var step in executor.PlanningContext.Steps.Where(s => s.Type == PlanningStepType.Reflection)) { Console.WriteLine($"Reflection #{step.StepNumber}: {step.Thought}"); }

Share