AgentRunner class abstract

Pluggable execution engine that turns a prepared prompt into file changes.

Implementations are expected to:

  • Stream RunnerEvents in chronological order.
  • Emit exactly one RunFinished event before closing the stream.
  • Constrain all writes to the workspace path (request.workspace.path).
  • Surface failures as TurnFailed / RunFinished(succeeded: false) events instead of throwing, so the scheduler can record them deterministically.
Implementers

Constructors

AgentRunner()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Stable name (llm, codex, ...).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Releases adapter-managed resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(AgentRunRequest request) Stream<RunnerEvent>
Runs one attempt and returns a stream of events.
toString() String
A string representation of this object.
inherited

Operators

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