Understand the Spur Execution Model
mainSpurs use an asynchronous execution engine that differs from traditional Directed Acyclic Graphs (DAGs) in several ways:
- Cycles: Unlike DAGs, Spurs support cyclic workflows, allowing LLM agents to call themselves or loop through processes until a condition is met.
- Dynamic Paths: The execution path can change at runtime based on LLM decisions.
- Asynchronous Execution: Nodes run as soon as their dependencies are satisfied, allowing for parallel execution and preventing the engine from waiting for an entire level of nodes to complete.