Sign inGet started
Paper · arXiv

SpecForge: Recursive Self-Improvement for Coding Agents via Behavioral Specifications

Coding agents based on frozen language models can improve their performance by refining the external context they rely on, without updating model weights. We study recursive self-improvement through behavioral specifications: natural-language code documentation that describes the behavior of program entities and guides agents in generating correct code. We formulate a self-improvement loop in which an agent generates code from its current specifications, evaluates it with execution-verified tests, and refines the specifications based on observed failures. The improved specifications then guide subsequent generation, progressively improving the agent's understanding of the codebase. Howeve...

AuthorsYutong Cheng, Haifeng Chen, Peng Gao et al.
Primary categorycs.AI
Published11 October 2026
Last updated at source11 October 2026
cs.AIcs.SE
Embed this entry
<iframe src="https://silytics.si/embed/item/d3c39c15-c710-4b99-8f7f-fb79df256f74" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 14 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.