Interface: LoopConfig
Defined in: packages/agentos/src/orchestration/runtime/LoopController.ts:32
Configuration that governs a single LoopController execution.
Properties
failureMode
failureMode:
"fail_open"|"fail_closed"
Defined in: packages/agentos/src/orchestration/runtime/LoopController.ts:47
Determines how tool errors are handled:
'fail_open'— emit atool_errorevent and continue the loop.'fail_closed'— throw immediately, aborting the loop.
maxIterations
maxIterations:
number
Defined in: packages/agentos/src/orchestration/runtime/LoopController.ts:34
Maximum number of ReAct iterations before the loop is forcibly terminated.
parallelTools
parallelTools:
boolean
Defined in: packages/agentos/src/orchestration/runtime/LoopController.ts:40
When true, all tool calls within a single iteration are dispatched in
parallel via Promise.allSettled(). When false, they execute sequentially.
timeout?
optionaltimeout:number
Defined in: packages/agentos/src/orchestration/runtime/LoopController.ts:53
Optional per-loop timeout in milliseconds. Currently reserved for future implementation via AbortController; not enforced in v1.