Jido.Agent.Strategy.Direct (Jido v2.0.0-rc.1)

View Source

Default execution strategy that runs instructions immediately and sequentially.

This strategy:

  • Executes each instruction via Jido.Exec.run/1
  • Merges results into agent state
  • Applies state operations (e.g., StateOp.SetState) to the agent
  • Returns only external directives to the caller

This is the default strategy and provides the simplest execution model.