Class HierarchicalAgentOrchestrator.Builder
java.lang.Object
com.tnsai.coordination.hierarchical.HierarchicalAgentOrchestrator.Builder
- Enclosing class:
HierarchicalAgentOrchestrator
Builder for HierarchicalAgentOrchestrator.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()maxRetries(int retries) Sets max retries for failed operations.operationalAgents(WorkerPool pool) Sets the worker pool for operational execution.operationalAgents(List<com.tnsai.agents.Agent> agents) Sets operational agents from a list.parallelOperations(boolean parallel) Whether to execute operations in parallel.strategicAgent(com.tnsai.agents.Agent agent) Sets the strategic agent for goal decomposition.tacticalAgent(com.tnsai.agents.Agent agent) Sets the tactical agent for sub-task planning.Sets the execution timeout.
-
Method Details
-
strategicAgent
Sets the strategic agent for goal decomposition. -
tacticalAgent
Sets the tactical agent for sub-task planning. If not set, strategic agent is used. -
operationalAgents
Sets the worker pool for operational execution. -
operationalAgents
Sets operational agents from a list. -
timeout
Sets the execution timeout. -
maxRetries
Sets max retries for failed operations. -
parallelOperations
Whether to execute operations in parallel. -
build
-