Explore the research collection
9 entries · Follow this search
- Paper
AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
Trains long-horizon coding agents to proactively decide when to compact their own context — a form of model-harness co-design: the harness provides the compaction mechanism, the model learns when to invoke it, what working state to preserve, and how to continue afterward. Data collection: run the base agent on coding tasks, use a judge to review its compaction decisions, summaries, and post-compaction actions; flawed outputs are replaced with corrected ones before environment execution so trajectories continue from corrected decisions. These trajectories feed supervised fine-tuning, then joint RL optimizes coding and compaction with task-success rewards. Absolute gains: +9.2 points on SWE-bench Verified, +5.0 on SWE-PolyBench Verified. Improvements hold across all inference budgets — including with a 256K context window that never overflows (so learned compaction helps even when context space isn't the limit) and with a 16K window whose overflow triggers fallback compaction. Latest in the AutoHarness → AutoContext → AutoCompact trend of moving harness responsibilities into the model itself; related to Meta's Context Language Models paper. Open questions: scaling, robustness across harnesses, combining rule-based compaction packaged in harnesses with model-invoked proactive compaction.
- Paper
Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
Identifies a Metaproductivity–Performance Mismatch: high SWE scores need not predict productive descendants. Clade-metaproductivity (CMP) aggregates descendant outcomes; under coding-agent assumptions a CMP oracle implements a Gödel Machine (Theorem 1). HGM estimates CMP and Thompson-samples expansion vs evaluation asynchronously. SWE-Verified-60: 56.7% vs DGM 53.3 / SICA 50.0 with 2.38× fewer CPU-hours (517 vs 1231). Full SWE-Verified 61.4% (GPT-5-mini). Agent transfers to SWE-Lite+GPT-5 at 57%, matching the best officially checked human-engineered agents. Code https://github.com/metauto-ai/HGM.
- Paper
Decentralized Multi-Agent Systems with Shared Context
DeLM has parallel agents claim subtasks from a queue, read compact verified gists, and admit updates only after evidence checks, with hierarchical unfold (gist→summary→raw) for long sources. On SWE-bench Verified with Gemini 3 Flash: Avg.@1 65.7 / Pass@4 77.4 at $0.12/task vs AOrchestra-Parallel 56.4 / 71.8 at $0.25. Claude Opus 4.6 gains are smaller but still best. LongBench-v2 Multi-Doc QA: highest average across GPT-5.4, Claude Sonnet 4.6, Gemini 3 Flash, DeepSeek-V4-Pro (up to +5.7 pp). Hybrid DeLM+RLM is best on OOLONG and LongBench-v2. Code https://github.com/yuzhenmao/DeLM; project https://yuzhenmao.github.io/DeLM/.
- Paper
Shockingly Simple Self-retrospection Improves Agentic Models Without RL
Proposes Retrospection-Only Fine-Tuning (ROFT): post-train agentic models using only the agent's own self-generated explanations, with no external teacher and no reward-based policy update.
- Paper
RRSI: Regularized Recursive Self-Improvement of Agent Harnesses
RRSI regularizes BOTH proposal (annealed L0-style edit budget, evidence-aware credit, structured exploration on stall) AND selection (leakage critic, noise-adjusted floor, Ridge-style cost-aware acceptance, L1-style structural pruning) while keeping the harness fully editable. Evaluated on 8 benchmarks across 3 domains. Key numbers: up to +14.1 evolve (Gemini 3.5 Flash on Terminal-Bench 64.6→78.7); up to +4.7 OOD; ~30% fewer policy tokens than unregularized evolution. Claude Opus 4.8 frozen policy main; SWE-bench Verified 82.0→83.8 OOD; Harvey LAB evolve 90.5, OOD avg JobBench/GDPval/APEX 43.6 vs H0 39.7; ablation removing regularizers raises evolve but hurts OOD. Baselines: Meta-Harness, AHE, TTHE, HarnessX. Code MIT-style at google-research/rrsi.
- Paper
daVinci-Env: Open SWE Environment Synthesis at Scale
OpenSWE releases 45,320 executable Docker environments over 12.8k repos with open Dockerfiles/eval scripts/infra, plus difficulty-aware filtering yielding ~13k curated trajectories from ~9k quality environments (~$1.47M total spend). OpenSWE-32B/72B reach 62.4%/66.0% on SWE-bench Verified (SOTA among Qwen2.5 SFT methods) and show OOD gains on math/science without factual-recall loss.
- Paper
Composer 2 Technical Report
Cursor technical report PDF (pdfTeX creation 2026-03-24). Composer 2 is trained in two phases: continued pretraining for coding knowledge, then asynchronous RL for long-horizon multi-step coding in the real Cursor harness (read/edit/shell/grep/semantic search/web). Base selected as Kimi K2.5 (1.04T total / 32B active MoE) after FreshBench/state-tracking/perplexity comparisons vs GLM5 and DeepSeek V3.2. Introduces CursorBench from real engineering sessions. Reports CursorBench accuracy 61.3 (major gain vs prior Composer), Terminal-Bench 61.7, SWE-bench Multilingual 73.7 in their harness; closed weights via Cursor product.
- Model
BTL-4
Bad Theory Labs BTL-4: 35B Qwen3.5 MoE (~2.1B active) finetuned from Ornith-1.0-35B on trajectories whose code actually ran and passed tests. Vendor: SWE-bench Verified 78.4%; BFCL v4 AST 73.5% (+4.3 over base, paired, 1240 cases); LiveCodeBench v6 66.1% (easy 99.1 / medium 86.7 / hard 60.5; 442 problems; 16K→32K output budget +5.2). Native 262K context. Compact is one 9.96 GB GGUF at 2.30 bpw for a 16 GB card; tweet claims KV ~20 KB/token so 262K still fits. Per-group clip search (12 s, no calib data) moved 2-bit behavioural retention 77.1%→95.8%; Compact reproduced 111/118 full-precision gate behaviours (94.1%). Stock llama.cpp/Ollama/LM Studio. Apache-2.0. Companion Macaw 2.7B is a separate Mac agent, not this row.
- Paper
Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute
Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.