ReadonlyidUnique 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.
ProtectedtransformProtectedcompleteProtectedaddProtectedgetProtectedclearProtectedaddProtectedrecordProtectedrecordProtectedrecordProtectedfindProtectedgetProtectedgetProtectedexecuteExecute a task by sending it to the model.
Protectedbuild
Simple concrete agent implementation for testing and basic use cases.
This agent processes tasks by sending them directly to the model adapter and returning the response.