StatefulAgent class abstract

SPI for dart_agent_core's StatefulAgent (FR-005, FR-013).

The AgentKernel delegates the agent loop entirely to this interface; it does NOT implement the loop itself (FR-013 — no duplication). A real dart_agent_core installation provides the implementation; tests provide a stub.

Implementers

Constructors

StatefulAgent()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
runStream(Mission mission, {String? systemPrompt, LlmClient? llmClient, ToolInvoker? invokeTool}) → Stream<MissionEvent>
Streams typed events for mission. The kernel orchestrates the tool registry + hooks around this call and supplies:
toString() → String
A string representation of this object.
inherited

Operators

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