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 planningplan
- The generated execution plan, consisting of action modules or tuples of {module, options}context
- Additional context information for action executionresult
- The results of executing the planerror
- 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}
@type agent() :: struct()
Represents an agent's state, typically a struct
@type t() :: %Jido.ActionSet{ agent: agent(), context: map(), error: term() | nil, plan: [action()], result: map() }
The complete ActionSet structure