AgentLoopConfig class

Tuning parameters for AgentLoopController.

Constructors

AgentLoopConfig({int maxObservationsPerCycle = 5, int maxMemoryRetrievals = 8, Duration iterationDelay = Duration.zero, bool enableReflection = true, int reflectionIntervalIterations = 3, int maxConsecutiveErrors = 3, bool emitEvents = true})
const

Properties

emitEvents → bool
Whether to emit AgentLoopEvents to events stream.
final
enableReflection → bool
Whether to run a self-reflection pass periodically.
final
hashCode → int
The hash code for this object.
no setterinherited
iterationDelay → Duration
Optional artificial delay between iterations (useful for demos / UIs).
final
maxConsecutiveErrors → int
How many consecutive errors before the loop hard-stops.
final
maxMemoryRetrievals → int
How many memory entries to retrieve per cycle.
final
maxObservationsPerCycle → int
How many observations to keep per context window.
final
reflectionIntervalIterations → int
How many iterations between self-reflection invocations.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited