Skip to main content
subagent CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/adaptive-coordinator.md
Open on GitHub

What 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.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

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.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set76

The whole set →
refinement SPARC methodology subagent for iterative code refinement. Optimizes architecture, runs test suites, and learns from refactoring history. CX Codex ★ 850repo stars workflow-automation workflow-automation is a Claude Code subagent that creates and updates GitHub Actions workflows. It handles CI/CD setup requests and workflow run analysis. CX Codex ★ 850repo stars Topology Optimizer Topology Optimizer — a subagent that scores swarm topologies — hierarchy, mesh, ring, star, hybrid — against your workload and says which one to switch to. CX Codex ★ 850repo stars crdt-synchronizer crdt-synchronizer — a Claude Code subagent for conflict-free state synchronization across nodes using CRDT structures and vector clocks. CX Codex ★ 850repo stars sublinear-goal-planner sublinear-goal-planner — a Claude subagent that breaks a big goal into actions with dependencies and looks for the cheapest route through the action graph. CX Codex ★ 850repo stars performance-benchmarker performance-benchmarker is a Claude Code subagent that measures throughput, latency, and resource use to compare Byzantine, Raft, and Gossip consensus protocols. CX Codex ★ 850repo stars quorum-manager The quorum-manager subagent adjusts quorum settings, manages membership, and checks network conditions for distributed consensus workflows. CX Codex ★ 850repo stars mesh-coordinator mesh-coordinator — a coordinator subagent that links agents into a peer-to-peer mesh: decisions go through voting, peers find each other, and the network keeps going when a node drops. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open