View Source Spooks.SpooksAgentRunner (Spooks Agentic Workflow Engine v0.1.0)
The SpooksAgentsRunner module is responsible for running agentic workflows.
Summary
Functions
Returns a specification to start this module under a supervisor.
Checks for jobs that need to be killed ON THIS NODE and tries to kill them.
Starts the SpooksAgentsRunner task with the provided options. This task should be run on each node.
Functions
Returns a specification to start this module under a supervisor.
arg
is passed as the argument to Task.start_link/1
in the :start
field
of the spec.
For more information, see the Supervisor
module,
the Supervisor.child_spec/2
function and the Supervisor.child_spec/0
type.
Checks for jobs that need to be killed ON THIS NODE and tries to kill them.
Starts the SpooksAgentsRunner task with the provided options. This task should be run on each node.
The repo is required for agents that save their state to checkpoints. The run time is the number of seconds between checks for agents to run. It is OPTIONAL and defaults to 60 minutes.