adaptive-coordinator — Claude Code subagent: what it does
adaptive-coordinator orchestrates agent swarms by switching network topology between mesh, hierarchical, and ring structures. Useful for heavy multi-agent workloads.
no license ★ 850 updated 2026-10-26
.claude/agents/adaptive-coordinator.mdWhat adaptive-coordinator does
This subagent manages a group of up to 15 agents, adjusting their coordination scheme in real time. Its pre-hooks invoke claude-flow MCP tools to initialize the swarm, launch a monitor with a 2000 ms polling interval, and run neural training for 30 epochs on historical data. Once the task finishes, post-hooks dump metrics, log topology states, and save learned models into /tmp.
The coordinator switches topologies based on workload characteristics. It activates a hierarchical layout when task complexity exceeds 0.8, selects a mesh network when parallel processing suits best, and defaults to a ring pipeline for ordered executions. For internal routing, it integrates agentdb with napi runtime to pick dynamic attention mechanisms.
The subagent fails immediately without the claude-flow MCP server configured, because its lifecycle hooks depend on those specific tools.
What it helps with
- switch multi-agent communication patterns dynamically during execution
- organize sequential pipeline steps into a ring topology
- distribute parallel tasks across mesh peer networks
- track swarm performance metrics over a 24-hour window
Example prompts for the agent
- Coordinate a multi-agent review of the codebase using dynamic topology
- Set up a pipeline swarm with ring topology to process these sequential tasks
- Analyze incoming workload patterns and scale the agent cluster
How to install adaptive-coordinator
Manually: put the files in place
.claude/agents/adaptive-coordinator.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/adaptive-coordinator.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/adaptive-coordinator.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about adaptive-coordinator
How to install adaptive-coordinator in Claude Code?
Save the subagent definition file to .claude/agents/adaptive-coordinator.md.
What does adaptive-coordinator do?
It coordinates swarms by switching connection patterns between hierarchical, mesh, and ring structures depending on task complexity.
What dependencies are required for adaptive-coordinator?
It requires the claude-flow MCP server with swarm tools configured and the agentdb package for attention selection.