v3/docs/adr/ADR-375-dream-cycle-performance-agentperf-benchmark-mixture-of-agents.md
Status: Proposed
Authors: claude (dream-cycle agent, 2026-07-25)
Dream Cycle Issue: TBD (filed same session)
Related: ADR-026 (3-tier model routing), ADR-143 (intent routing)
Two Grade-A findings from the 2026-07-25 Dream Cycle performance deep dive:
AA-AgentPerf (Artificial Analysis, June 12, 2026): The first agentic inference benchmark has published results showing a 23.6× hardware efficiency gap (GB300: 61,354 Agents/MW vs H200: 2,594 Agents/MW). Ruflo has no registered performance on this benchmark. All four tracked competitors (LangGraph, AutoGen, CrewAI, OpenAI Swarm) are also unregistered — this is a first-mover opportunity.
Pareto-Optimal Test-Time Scaling (arXiv 2605.01566, ACL 2026 SRW): Mixture-of-agents (MoA) achieves +2.7pp over self-consistency on MMLU-Pro at equal compute budget. The key configuration insight: MoA is most efficient when parallelGenerations > sequentialAggregations. Ruflo's 3-tier routing (ADR-026) selects by cost/complexity but has no test-time compute scaling mode.
Add npx claude-flow@latest performance benchmark --suite agentperf that:
Extend hooks route (ADR-026 Tier-2/3 decision) with a --scaling-mode flag:
interface RoutingDecision {
tier: 1 | 2 | 3;
scalingMode: 'none' | 'self-consistency' | 'mixture-of-agents' | 'self-refine';
parallelBranches?: number;
sequentialAggregations?: number;
}
Activate mixture-of-agents when:
estimatedParallelAgents > estimatedSequentialAggregationsExpected gain: +2.7pp accuracy over self-consistency at equal compute (Grade A evidence).
main (ADR-319 is the last merged). Human reviewer must reconcile or renumber when merging dream branches.v3/@claude-flow/cli/src/performance/agentperf-suite.ts — trajectory replay harnessv3/@claude-flow/hooks/src/route/scaling-mode.ts — MoA routing extensionv3/@claude-flow/cli/src/commands/performance.ts — add --suite agentperf flag.github/workflows/agentperf-gate.yml — CI gate on performance PRsCLAUDE.md Performance Targets table with Agents/MW metric