HydraFusion turns coding model selection into an orchestration problem - Conquense Dev
ENES

← Back to the news

artificial-intelligence

HydraFusion turns coding model selection into an orchestration problem

The GitHub Copilot experiment combines models and workflows with cost limits, isolated review, and safe change application, although its results remain benchmark-based.

GitHub has introduced Project HydraFusion, a research preview for Copilot CLI that decides not only which model to use, but which workflow a coding task requires. The system can solve a request with one model, start with an efficient model and escalate to a stronger one, or generate a solution and submit it to an independent second-model review.

The technical difference is treating orchestration as an optimization problem. HydraFusion receives signals about reasoning, code generation, debugging, and tool use, then selects the pattern expected to meet the required quality bar at a reasonable cost and latency. The goal is not to call more models by default, but to reserve additional calls for cases where they provide review, escalation, or a genuinely different perspective.

The Single pattern sends the task to one model. Cascade lets a fast model produce an initial result and then uses a quality gate to decide whether to accept it or escalate to a more capable model. Critique separates generation from review: one model drafts the result, a model from a different family analyzes it in a read-only context, and the first model revises once. Separating those roles reduces the risk that the reviewer will directly modify the repository and allows the proposal to be assessed before application.

GitHub also describes controls that are more significant than a model selector. The runtime accounts for the cost of every workflow leg, including retries, reviews, escalations, and fallbacks. Each execution has explicit timeout and cancellation behavior. Review steps run in isolated, tool-less contexts, while solving steps use the shared workspace with normal permission-aware controls. If the workflow is cancelled or validation fails, no patch is applied. Before execution starts, the system validates workflow definitions, model bindings, fallback behavior, and model availability.

The published results come from controlled offline evaluations and should be read cautiously. On TerminalBench 2.1, the highlighted configuration achieved 4.9 percentage points higher verified quality than Opus 5 with 67% lower estimated cost. On DeepSWE, it reduced cost by 36% with a 1.5-point quality difference, while on CheckpointBench it came within 0.1 points of Opus 5 at 65% lower cost. GitHub notes that these figures depend on specific benchmark revisions, configurations, pricing assumptions, and model pools.

HydraFusion’s value is not limited to those percentages. The experiment shows that coding assistants are beginning to resemble distributed systems: they need budgets, timeouts, isolation, traceability, and rules that prevent incomplete changes from being applied. Evaluation must also measure the complete task and its costs, not only the model’s textual answer.

The preview is available through /experimental in Copilot CLI, and GitHub recommends starting with substantial, well-scoped, single-turn coding tasks. It is not yet a guarantee of quality for every repository. More modestly, it is evidence that the architecture around a model can matter as much as the model selected.