Orchestrate Autonomous Multi Agent Swarm Execution
orchestrate_agent_swarmCoordinate autonomous multi-agent workflows to decompose goals, run Byzantine fault-tolerant consensus voting, and diagnose and patch failing tests with self-healing recovery.
Instructions
Coordinates autonomous multi-agent task execution, goal decomposition, Byzantine fault-tolerant (PBFT) consensus voting, and self-healing error recovery, distinguishing from 'manage_memory_store' and 'audit_code_quality' by dispatching autonomous multi-agent workflows rather than managing memory stores or auditing code quality.
Parameters:
goal: High-level mission objective, swarm proposal specification, or failing test traceback to heal.orchestration_mode: Swarm coordination strategy: 'goal_execute' decomposes goals into phased agent workflows; 'swarm_consensus' runs Byzantine fault-tolerant voting with 3f+1 quorum; 'self_healing' diagnoses test failures and applies AST surgical patches.agents: Comma-separated list of specialized agent roles participating in swarm execution (e.g. 'architect,coder,tester').project_root: Target repository root directory for swarm task execution and test verification.
Behavior:
Mutability: State-modifying; dispatches sub-tasks, validates proposals, and executes self-healing patches on disk files.
Idempotency: Non-idempotent; execution outcomes adapt to dynamic agent consensus rounds and self-healing iterations.
Privacy & Network: 100% offline local agent orchestration; zero unverified cloud relays or external data leaks.
Performance & Resources: Completes consensus rounds in <100ms; thread-safe agent coordination.
Auth: Zero authentication, external blockchain relays, or cloud credentials required.
Return Structure: Emits structured orchestration summary with phased execution plan, agent task allocations, consensus voting tallies, or self-healing patch results.
Error Handling: Quorum isolation automatically detects, flags, and neutralizes Byzantine faults and anomalous proposals.
Usage Guidelines:
When to use: Execute high-level complex coding goals across multi-agent swarms, validate proposals via Byzantine consensus voting (3f+1 quorum), or diagnose and heal test failures.
When NOT to use: Do not use for querying or managing long-term agent memory (use 'query_memory_store' and 'manage_memory_store' instead); do not use for auditing codebase quality before task execution (use 'audit_code_quality' instead).
Returns: Orchestration summary with phased execution plan, agent task allocations, consensus voting tallies, or self-healing patch results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goal": "<goal>"
},
"name": "orchestrate_agent_swarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | High-level goal description, swarm proposal, or failing test traceback to heal. | |
| agents | No | Comma-separated list of agent roles participating in swarm execution (e.g. 'architect,coder,tester'). | |
| project_root | No | Workspace root for swarm execution (default: current directory). | . |
| orchestration_mode | No | Orchestration mode: 'goal_execute' for autonomous goal planning and execution, 'swarm_consensus' for Byzantine fault-tolerant voting, 'self_healing' for AST error diagnosis and automated patching, 'dynamic_subagents' for dynamic task decomposition and on-the-fly subagent synthesis. | goal_execute |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |