Base Agent
The Base Agent is the foundation of all agents in AgoraAI. It provides core functionality and interfaces that all specialized agents inherit and build upon.
Overview
Core Properties
Required Properties
name
: Unique identifier for the agentagent_type
: Type classification of the agentcapabilities
: List of agent capabilities
Optional Properties
metadata
: Additional agent informationstate
: Current agent stateresource_limits
: Resource usage constraints
Agent Lifecycle
Core Methods
Request Handling
Task Execution
State Management
Event System
Event Registration
Custom Events
Resource Management
Setting Limits
Monitoring Usage
Error Handling
Basic Error Handling
Last updated