AbstractReadonlyidUnique agent identifier
ReadonlyroleAgent role
ReadonlycapabilitiesAgent capabilities
Protected ReadonlystateProtected ReadonlybudgetProtectedadapterProtected ReadonlyloggerProtectedconfigProtectedsharedProtectedhistoryProtected ReadonlysystemProtected ReadonlytemperatureProtected ReadonlymaxProtected ReadonlyeventProtected ReadonlyemitCurrent state
Initialize the agent with context.
Agent context
Result with void or AgentError
Execute a task.
Task to execute
Result with TaskResult or AgentError
Handle an inter-agent message.
Message to handle
Result with AgentResponse or AgentError
Cleanup agent resources.
Protected AbstractexecuteProtected AbstractbuildProtectedtransformProtectedcompleteProtectedaddProtectedgetProtectedclearProtectedaddProtectedrecordProtectedrecordProtectedrecordProtectedfindProtectedgetProtectedget
Abstract base class for all agents. Subclasses must implement executeTask and buildPrompt.