Agentic AI
Novel Method Merges AI Code Agents to Combine Reasoning Power with Tool Precision
Researchers present CRANE, a parameter-editing technique that fuses paired AI models to boost code agent performance without adding computational overhead.
A research team has developed CRANE, a method for improving code-writing AI agents by intelligently blending two complementary model variants. The approach addresses a core trade-off: models optimized for following tool protocols are often weak at complex reasoning, while those built for stronger planning tend to sacrifice precision and efficiency.
The Core Challenge#
Code agents face competing demands. They must maintain awareness across large repositories while rigorously adhering to prescribed tool-use sequences. Researchers have typically trained two separate checkpoints to handle these tasks: an Instruct model that excels at staying focused and following rules, and a Thinking model that offers richer planning capabilities but often over-analyzes, harming overall performance. Combining these strengths had remained difficult.
CRANE's Approach#
CRANE treats the difference between the two models as a source of potential reasoning improvements. Rather than requiring expensive retraining, the method works directly with saved model parameters. It combines three key mechanisms:
- Magnitude thresholding to filter noise from the model differences
- Conservative Taylor Gate to identify edits that boost reasoning while preserving tool-discipline
- Graduated Sigmoidal Projection to protect critical formatting behaviors
The technique allows researchers to merge paired checkpoints into a single unified model that retains the efficiency of the Instruct variant while incorporating reasoning gains from the Thinking variant.
Benchmark Results#
Testing across multiple evaluation suites showed consistent improvements. On the Roo-Eval benchmark, CRANE achieved pass rates of 66.2% (+19.5% gain) for one model scale and 81.5% (+8.7%) for a larger variant. On SWE-bench-Verified, the method resolved 14 additional coding challenges at both scales tested. Performance gains on Terminal-Bench v2 ranged from 2.3% to 7.8%, with final scores reaching 7.6%/17.9% and 14.8%/30.3% respectively, outperforming alternative model-merging strategies across all benchmarks.
Significance#
The work demonstrates that training-free editing of model parameters can effectively transfer capabilities between AI variants without sacrificing computational efficiency—a practical advantage for deploying improved code agents at scale.

