DCAS: Decoupling CLI Agent Scaffolding to Internalize Planning

centre-for-swe · hf · 2026-08-11

Current CLI-based software-engineering agents are heavily tied to specific training environments (like OpenHands) during fine-tuning, causing severe performance degradation when deployed under non-training scaffolds.

To solve this scaffolding coupling issue, researchers introduce DCAS (Decoupling CLI Agent Scaffolding). It is a backend-substitution interception layer that routes API traffic without modifying the scaffold, enabling cross-scaffold evaluation and planning-aware trajectory collection.

Experiments confirm that planning quality is a high-leverage component. Fine-tuning a model on a small set of DCAS-collected, planning-aware trajectories yields consistent and stable cross-environment performance across non-training scaffolds.

Original post →

More from coding & agent

coding & agent channel →