AgentZero::AgentNode
Inherits Reference < Object
Represents a distributed cognitive agent node
Constructors
new(name : String, host : String = "localhost", port : Int32 = 0)
Instance methods
broadcast_message(message : Message) : Int32
Broadcast a message to all connected peers
capabilities
capabilities=(capabilities : Array(String))
cognitive_kernel
cognitive_kernel=(cognitive_kernel : AtomSpace::CognitiveKernel)
connect_to_peer(host : String, port : Int32) : Bool
Connect to another agent
created_at
host
host=(host : String)
id
id=(id : String)
name
name=(name : String)
network_status
Get network status and peer information
port
port=(port : Int32)
request_collaborative_reasoning(query : String, timeout_seconds : Int32 = 30) : Array(CollaborativeResult)
Request collaborative reasoning from the network
send_message_to_peer(peer_id : String, message : Message) : Bool
Send a message to a specific peer
start
Start the agent and begin listening for connections
status
status=(status : AgentStatus)
stop
Stop the agent
trust_level
trust_level=(trust_level : Float64)