AIAgent class abstract

Abstract base class for AI agents in the orchestration system Equivalent to CopilotKit's agent system with multi-agent coordination

Implementers

Constructors

AIAgent({required String id, required String name, required String specialization, required List<String> capabilities, AgentPriority priority = AgentPriority.normal})
const

Properties

capabilities List<String>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
priority AgentPriority
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specialization String
final
status AgentStatus
Get current agent status
no setter

Methods

canHandle(AgentRequest request) bool
Check if this agent can handle a specific request
dispose() Future<void>
Clean up agent resources
initialize(Map<String, dynamic> config) Future<void>
Initialize agent with configuration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processRequest(AgentRequest request) Future<AgentResponse>
Process a request and return a response
streamState() Stream<AgentState>
Stream agent state for real-time updates
toString() String
A string representation of this object.
inherited

Operators

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