LoopSpec
Agent Runtimes / types/loops / LoopSpec
Interface: LoopSpec
Defined in: src/types/loops.ts:42
Specification for an agent execution loop.
A framework-agnostic description of how an agent progresses from one decision to the next: the control cycle (observe/think/act/evaluate), the objective, constraints, where state lives, human participation, and the termination policy.
Properties
constraints
constraints:
string[]
Defined in: src/types/loops.ts:58
Boundaries the agent must respect
description
description:
string
Defined in: src/types/loops.ts:50
Loop description
emoji
emoji:
string
Defined in: src/types/loops.ts:70
Emoji representation
human?
optionalhuman?:LoopHuman
Defined in: src/types/loops.ts:62
Human-in-the-loop participation settings
icon
icon:
string
Defined in: src/types/loops.ts:68
Icon identifier
id
id:
string
Defined in: src/types/loops.ts:44
Unique loop identifier (e.g., 'data-analysis')
name
name:
string
Defined in: src/types/loops.ts:48
Display name for the loop
objective
objective:
string
Defined in: src/types/loops.ts:52
Default goal/objective the loop works toward
phases
phases:
string[]
Defined in: src/types/loops.ts:56
Ordered phase names that make up one iteration
stateBackends
stateBackends:
string[]
Defined in: src/types/loops.ts:64
Where loop state lives between iterations
strategy
strategy:
string
Defined in: src/types/loops.ts:54
Loop strategy family
tags
tags:
string[]
Defined in: src/types/loops.ts:66
Categorization tags
termination?
optionaltermination?:LoopTermination
Defined in: src/types/loops.ts:60
Termination policy
version
version:
string
Defined in: src/types/loops.ts:46
Version