Class: Agent99::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/agent99/base.rb

Overview

The Agent99::Base class serves as the foundation for creating AI agents in a distributed system. It provides core functionality for agent registration, message handling, and communication.

This class:

  • Manages agent registration and withdrawal
  • Handles incoming messages (requests, responses, and control messages)
  • Provides a framework for defining agent capabilities
  • Implements error handling and logging
  • Supports configuration updates and status reporting

Subclasses should override specific methods like receive_request, receive_response, and capabilities to define custom behavior for different types of agents.