Object.Subtypes.CoordinatorObject (object v0.1.2)
Coordination and orchestration object for multi-agent systems.
Summary
Functions
Adds an object to the coordinator's management scope.
Coordinates managed objects to complete a task.
Creates a new Coordinator Object for multi-agent orchestration.
Resolves conflicts between managed objects.
Functions
Adds an object to the coordinator's management scope.
Parameters
coordinator
- CoordinatorObject structobject_id
- ID of the object to manage
Returns
Updated CoordinatorObject with the object added to managed list
Coordinates managed objects to complete a task.
Generates and executes a coordination plan for the specified task, then records the coordination history and results.
Parameters
coordinator
- CoordinatorObject structcoordination_task
- Task specification for coordination
Returns
Updated CoordinatorObject with coordination history updated
Creates a new Coordinator Object for multi-agent orchestration.
Parameters
opts
- Configuration options::id
- Coordinator identifier:strategy
- Coordination strategy (:consensus
,:delegation
,:hierarchy
):goal
- Custom goal function for system optimization
Returns
CoordinatorObject struct configured for multi-agent coordination
Resolves conflicts between managed objects.
Uses the configured conflict resolution strategy to resolve disputes between objects under management.
Parameters
coordinator
- CoordinatorObject structconflict_context
- Information about the conflict to resolve
Returns
Tuple with resolution result and updated coordinator