CodeRescue: Budget-Calibrated Recovery Routing for Coding Agents
Merged summary
TL;DR - CodeRescue routes failed coding-agent attempts between additional cheap-model recovery and escalation to a stronger model. Its budget-calibrated router can adapt to changing cost constraints without retraining.
- Trains a supervised router using execution feedback from coding-agent rollouts.
- Uses Conformal Risk Control to select deployment-time cost penalties with marginal expected-cost control under exchangeability.
- Cheap recovery and escalation show complementary success patterns across five coding benchmarks.
- One GPT-5.4-nano/GPT-5.4 configuration surpassed always-escalate solve rate at 35% of its mean recovery cost.
Sources (1)
CodeRescue: Budget-Calibrated Recovery Routing for Coding Agents
TL;DR - CodeRescue routes failed coding-agent attempts between additional cheap-model recovery and escalation to a stronger model. Its budget-calibrated router can adapt to changing cost constraints without retraining.
- Trains a supervised router using execution feedback from coding-agent rollouts.
- Uses Conformal Risk Control to select deployment-time cost penalties with marginal expected-cost control under exchangeability.
- Cheap recovery and escalation show complementary success patterns across five coding benchmarks.
- One GPT-5.4-nano/GPT-5.4 configuration surpassed always-escalate solve rate at 35% of its mean recovery cost.