potentialpaper

LightCode: Distilling Execution Context for Coding Agents

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:03 UTC · aaa3d8ea80bb ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "fXNx0dwyno"
- }
- ],
- "title": "LightCode: Distilling Execution Context for Coding Agents",
- "authors": [],
- "abstract": "Large language model (LLM) agents tackle complex software tasks through extended sequences of reasoning, action, and observation. However, redundancy in incoming observations and accumulated histories inflates cumulative token costs and can impair reasoning, while indiscriminate compression risks discarding information needed later. To address this challenge, we propose LightCode, a framework for context-efficient coding agents that controls how incoming observations are represented and how accumulated histories are retained over successive interaction steps. For incoming observations, self-evolving observation compression uses execution experience to identify recurring redundancy and refine reusable compression programs, extending their coverage across formats while constraining updates to preserve required information. By integrating long-horizon history consolidation, LightCode maintains a compact task state while retaining historical details separately for selective retrieval. Evaluations across three benchmarks and four LLM backbones demonstrate consistent gains in token efficiency, with LightCode reducing token usage by 14-50% while maintaining or improving task performance. Source code is available at: https://anonymous.4open.science/r/lightcode-research-4664",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "074aefe5-1dbf-45c5-abba-08cad0ce3ae2"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "LightCode: Distilling Execution Context for Coding Agents",
+ "authors": [],
+ "abstract": "Large language model (LLM) agents tackle complex software tasks through extended sequences of reasoning, action, and observation. However, redundancy in incoming observations and accumulated histories inflates cumulative token costs and can impair reasoning, while indiscriminate compression risks discarding information needed later. To address this challenge, we propose LightCode, a framework for context-efficient coding agents that controls how incoming observations are represented and how accumulated histories are retained over successive interaction steps. For incoming observations, self-evolving observation compression uses execution experience to identify recurring redundancy and refine reusable compression programs, extending their coverage across formats while constraining updates to preserve required information. By integrating long-horizon history consolidation, LightCode maintains a compact task state while retaining historical details separately for selective retrieval. Evaluations across three benchmarks and four LLM backbones demonstrate consistent gains in token efficiency, with LightCode reducing token usage by 14-50% while maintaining or improving task performance. Source code is available at: https://anonymous.4open.science/r/lightcode-research-4664",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}