Skip to main content

Interface: PlanStep

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:42

Represents a single step in an execution plan. Each step contains the reasoning, action, and expected outcome.

Properties

action

action: PlanAction

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:48

The action to take (tool call, reasoning, etc.)


confidence

confidence: number

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:58

Confidence score (0-1) in this step's success


dependsOn

dependsOn: string[]

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:54

Dependencies on other step IDs


estimatedTokens

estimatedTokens: number

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:56

Estimated token cost for this step


expectedOutcome

expectedOutcome: string

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:52

Expected outcome description


index

index: number

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:46

Zero-based step index


reasoning

reasoning: string

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:50

Chain-of-thought reasoning for this step


requiresHumanApproval

requiresHumanApproval: boolean

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:60

Whether this step requires human approval


result?

optional result: PlanStepResult

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:64

Actual result after execution


status

status: PlanStepStatus

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:62

Current execution status


stepId

stepId: string

Defined in: packages/agentos/src/core/planning/IPlanningEngine.ts:44

Unique step identifier