Executable data compiled from Jidoka.Agent.Spec.
Summary
Functions
Compiles an agent specification into executable turn data.
Compiles an agent specification and raises if it is invalid.
Returns the Zoi schema for an executable turn plan.
Types
@type input() :: module() | Jidoka.Agent.Spec.t() | t() | keyword() | map()
@type t() :: %Jidoka.Turn.Plan{ max_model_turns: integer(), metadata: map(), phases: [ (((:assemble_prompt | :plan_model_effect) | :apply_model_result) | :plan_operation_effects) | :apply_operation_results ], spec: term(), timeout_ms: integer(), workflow_profile: ((:chat | :tool_loop) | :structured_result) | :controlled_tool_loop }
Functions
@spec new(Jidoka.Agent.Spec.t()) :: {:ok, t()} | {:error, term()}
Compiles an agent specification into executable turn data.
@spec new!(Jidoka.Agent.Spec.t()) :: t()
Compiles an agent specification and raises if it is invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for an executable turn plan.