View Source Jido.ActionSet (Jido v1.0.0-rc.1)

Encapsulates the planning state and results for an agent.

An ActionSet represents the complete lifecycle of an agent's planned actions, including the initial state, the planned actions, execution context, results, and any errors that may occur during the process.

Fields

  • agent - The agent state used for planning
  • plan - The generated execution plan, consisting of action modules or tuples of {module, options}
  • context - Additional context information for action execution
  • result - The results of executing the plan
  • error - Any errors that occurred during planning or execution

Summary

Types

A single action in the plan, either a module or a tuple of {module, keyword options}

Represents an agent's state, typically a struct

t()

The complete ActionSet structure

Types

action()

@type action() :: module() | {module(), keyword()}

A single action in the plan, either a module or a tuple of {module, keyword options}

agent()

@type agent() :: struct()

Represents an agent's state, typically a struct

t()

@type t() :: %Jido.ActionSet{
  agent: agent(),
  context: map(),
  error: term() | nil,
  plan: [action()],
  result: map()
}

The complete ActionSet structure