Cyclium.Intent.ActionPlan (Cyclium v0.2.0)

Copy Markdown View Source

A structured output the synthesizer returns when interpreting user intent. Describes what the interactive actor should do next.

Summary

Types

plan_kind()

@type plan_kind() ::
  :tool_call
  | :multi_tool_plan
  | :output_proposal
  | :explain_only
  | :request_approval
  | :workflow_trigger

risk_level()

@type risk_level() :: :low | :medium | :high

t()

@type t() :: %Cyclium.Intent.ActionPlan{
  approval: map() | nil,
  explanation: binary() | nil,
  kind: plan_kind(),
  meta: map(),
  output: Cyclium.OutputProposal.t() | nil,
  risk: risk_level(),
  steps: [Cyclium.Intent.ToolCallStep.t()],
  tool: Cyclium.Intent.ToolCallStep.t() | nil,
  why: binary(),
  workflow: Cyclium.Intent.WorkflowTrigger.t() | nil
}

Functions

plan_kinds()

risk_levels()