KAPSO: A Knowledge-grounded framework for Autonomous Program Synthesis and Optimization
Not on the map. Why?
Abstract (arXiv)
We introduce KAPSO, a modular framework for autonomous program synthesis and optimization. Given a natural language goal and an evaluation method, KAPSO iteratively performs ideation, code synthesis and editing, execution, evaluation, and learning to improve a runnable artifact toward measurable objectives. Rather than treating synthesis as the endpoint, KAPSO uses synthesis as an operator within a long-horizon optimization loop, where progress is defined by evaluator outcomes. KAPSO targets long-horizon failures common in coding agents, including lost experimental state, brittle debugging, and weak reuse of domain expertise, by integrating three tightly coupled components. First, a git-native experimentation engine isolates each attempt as a branch, producing reproducible artifacts and preserving provenance across iterations. Second, a knowledge system ingests heterogeneous sources, including repositories, internal playbooks, and curated external resources such as documentation, scientific papers, and web search results, and organizes them into a structured representation that supports retrieval over workflows, implementations, and environment constraints. Third, a cognitive memory layer coordinates retrieval and maintains an episodic store of reusable lessons distilled from experiment traces (run logs, diffs, and evaluator feedback), reducing repeated error modes and accelerating convergence. We evaluated KAPSO on MLE-Bench (Kaggle-style ML competitions) and ALE-Bench (AtCoder heuristic optimization), and report end-to-end performance. Code Available at: https://github.com/Leeroo-AI/kapso
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 5 of its 9 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
5 of 9 references.
References · 5
- 2025AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-benchcited by 65
- 2025MLE-STAR: Machine Learning Engineering Agent via Search and Targeted Refinementcited by 52
- 2025InternAgent: When Agent Becomes the Scientist -- Building Closed-Loop System from Hypothesis to Verificationcited by 41
- 2025R&D-Agent: An LLM-Agent Framework Towards Autonomous Data Sciencecited by 33
- 2025ALE-Bench: A Benchmark for Long-Horizon Objective-Driven Algorithm Engineeringcited by 30
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discoverycited by 20
- 2026Toward Autonomous Long-Horizon Engineering for ML Researchcited by 15
- 2026AIBuildAI: An AI Agent for Automatically Building AI Modelscited by 10
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinementcited by 10
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyondcited by 3
- 2026Beyond Solution-Centric Search: Adaptive Inquiry and Knowledge Revision for Autonomous ML Engineeringcited by 2
- 2026DrugSAGE:Self-evolving Agent Experience for Efficient State-of-the-Art Drug Discoverycited by 1
- 2026AIBuildAI-2: A Knowledge-Enhanced Agent for Automatically Building AI Modelscited by 1
- 2026AIBuildAI-2.5: Efficient Autonomous AI Model Development Through LLM-Guided Tree Searchcited by 0
- 2026How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?cited by 0
- 2026How Much of a Harness Does a Strong Agent Need for Autonomous ML Engineering?30 Sep 2026
- 2026AIBuildAI-2.5: Efficient Autonomous AI Model Development Through LLM-Guided Tree Search6 Sep 2026
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond14 Aug 2026
- 2026Beyond Solution-Centric Search: Adaptive Inquiry and Knowledge Revision for Autonomous ML Engineering3 Aug 2026
- 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinement10 Jun 2026
- 2026MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discovery4 Jun 2026
- 2026AIBuildAI-2: A Knowledge-Enhanced Agent for Automatically Building AI Models27 May 2026
- 2026DrugSAGE:Self-evolving Agent Experience for Efficient State-of-the-Art Drug Discovery14 May 2026
- 2026AIBuildAI: An AI Agent for Automatically Building AI Models15 Apr 2026
- 2026Toward Autonomous Long-Horizon Engineering for ML Research14 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025AwareCompiler: Agentic Context-Aware Compiler Optimization via a Synergistic Knowledge-Data Driven Framework
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows
- 2026NEMO: Execution-Aware Optimization Modeling via Autonomous Coding Agents
- 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
- 2026AlgoEvo: Self-Evolving Agentic Search for Automated Algorithm Discovery
- 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment
- 2026EffiSkill: Agent Skill Based Automated Code Efficiency Optimization
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving