Self-Evolving Coding Rules for AI Coding Agents

Zhengyuan Jiang, Reachal Wang, Yuepeng Hu, Yupu Wang, Yuqi Jia +1 more
9/30/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

The performance of AI coding agents is highly dependent on their underlying coding rules. However, existing coding rules are typically hand-crafted and fixed, making the process labor-intensive and often suboptimal.

Show full abstract

In this work, we propose RuleEvolve, a self-evolving framework for coding rules. RuleEvolve maintains a pool of candidate coding rules and iteratively improves them. In each iteration, it employs an LLM-powered mutator module to generate variants from existing candidates, and then uses a judge module to evaluate these variants and update the pool with the best-performing ones. Extensive evaluations across two coding-agent frameworks, four backbone LLMs, and three benchmarks demonstrate that RuleEvolve outperforms both manual engineering and existing prompt optimization baselines in terms of functional correctness of the generated code, code length, and/or generation cost (e.g., tokens used).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jiang2026selfevolving,
  title  = {Self-Evolving Coding Rules for AI Coding Agents},
  author = {Zhengyuan Jiang and Reachal Wang and Yuepeng Hu and Yupu Wang and Yuqi Jia and Neil Zhenqiang Gong},
  year   = {2026},
  eprint = {2610.00650},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.00650v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.00650.svg)](https://codeofpaper.com/paper/2610.00650)

Discussion