AgentZero::AgentNetwork
Inherits Reference < Object
Manager for networks of distributed cognitive agents
Constructors
new(name : String, config : NetworkConfig | Nil = nil)
SourceInstance methods
agents
Sourceagents=(agents : Hash(String, AgentNode))
Sourcecollaborative_reasoning(query : String, agent_selection : AgentSelection = AgentSelection::All, timeout_seconds : Int32 = 60) : CollaborativeReasoningResult
Execute collaborative reasoning across the network
create_agent(name : String, capabilities : Array(String) = [] of String) : AgentNode | Nil
Create and add a new agent to the network
discover_agents(timeout_seconds : Int32 = 10) : Array(AgentNode)
Discover agents in the network
distribute_knowledge(knowledge : KnowledgeItem, propagation_strategy : PropagationStrategy = PropagationStrategy::Flood) : Int32
Distribute knowledge across the network
execute_distributed_task(task : DistributedTask) : TaskExecutionResult
Coordinate distributed task execution
name
Sourcename=(name : String)
Sourcenetwork_config
Sourcenetwork_config=(network_config : NetworkConfig)
Source