Skip to content
#gene editing Preprint

RACE: Rule-evolving Agentic Context Engineering

Dec 2026 · 0 citations · 42 references
Computer Science

TL;DR

This work introduces \textsc{RACE} (Rule-evolving Agentic Context Engineering), a framework that reconceptualizes playbook maintenance as rule-level evolutionary optimization: each rule is treated as an individual with empirically estimated utility, and the playbook evolves through principled variation, evaluation, and selection.

Abstract

Large language model agents can solve increasingly complex tool-using tasks, yet adapting them to specialized domains remains difficult when model weights are fixed and task-specific supervision is limited. Recent context optimization methods improve agents by updating external prompts or playbooks based on past executions. However, existing methods often either rewrite monolithic playbooks, which risks eroding domain knowledge, or accumulate new guidance in an append-only manner, which inflates context length and dilutes relevant guidance. We introduce \textsc{RACE} (Rule-evolving Agentic Context Engineering), a framework that reconceptualizes playbook maintenance as rule-level evolutionary optimization: each rule is treated as an individual with empirically estimated utility, and the playbook evolves through principled variation, evaluation, and selection. Concretely, tree-structured rollouts expose contrastive behavioral evidence across execution branches for extracting reusable rule-level insights, an Upper Confidence Bound (UCB)-guided leave-out valuation estimates each rule's empirical utility, and a gated protocol ensures that only beneficial edits survive. We evaluate \textsc{RACE} on three specialized tasks: our newly introduced \textsc{GDVBench}, a benchmark grounded in Gene-Disease Validity curation that requires agents to extract experimental evidence from scientific papers following expert-defined criteria; biomedical search-based question answering, where agents retrieve evidence from biomedical sources to answer domain-specific questions; and retrosynthesis planning, where agents use an available product library and a single-step retrosynthesis model to construct feasible synthesis routes. Across these tasks, \textsc{RACE} improves task performance while maintaining compact guidance, yielding a favorable trade-off between performance and context length.

View source

Similar papers

#computer vision Conference Aug 2008

A Preliminary Roadmap for Empirical Research on Agile Software Development

Some claim that especially in the field of agile software development the research lags years behind of the practice. In this paper, we characterize the status and main challenges for research on agile software development, and propose a preliminary roadmap, focusing on providing more empirical research, primarily on e...

Torgeir Dingsøyr, T. Dybå, P. Abrahamsson · 92 citations · ⚡7
#computer vision Book Open access Mar 2017

On the Unhappiness of Software Developers

The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.

D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al. · 84 citations · ⚡6
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6
#computer vision Review Apr 2024

AI-powered Code Review with LLMs: Early Results

The goal is to not only refine the accuracy of the LLM-based tool but also to underscore its potential in streamlining the software development lifecycle through proactive code improvement and education.

Z. Rasheed, Malik Abdul Sami, Muhammad Waseem et al. · 62 citations · ⚡3
#computer vision Conference Aug 2008

Scrum in a Multiproject Environment: An Ethnographically-Inspired Case Study on the Adoption Challenges

Agile methods continue to gain popularity. In particular, the Scrum method appears to be on the verge of becoming a de-facto standard in the industry, leading the so called Agile movement. While there are success stories and recommendations, there is little scientifically valid evidence of the challenges in the adoptio...

A. Marchenko, P. Abrahamsson · 59 citations · ⚡11

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.