EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery
About
LLM-based agents have shown increasing potential in automating scientific discovery. Given an optimizable metric and an execution environment, they can propose, validate, and iterate scientific solutions, and have produced results that outperform human-designed approaches. As model capabilities continue to improve, we argue that the bottleneck for autonomous scientific discovery is shifting from prescribing agent workflows to designing agent environments: the resources, constraints, and interfaces that shape agent behavior. We frame this as environment engineering: building environments that amplify productive behaviors, such as open-ended exploration, systematic artifact management, and inter-agent collaboration, while suppressing harmful behaviors, such as reward hacking and high-friction human oversight. We present EurekAgent, an environment-engineered agent system for metric-driven autonomous scientific discovery. EurekAgent engineers the environment along four dimensions: permissions engineering for bounded agent execution and isolated evaluation; artifact engineering for filesystem and Git-based collaboration; budget engineering for budget-aware exploration; and human-in-the-loop engineering for easy human supervision and intervention. EurekAgent sets new state-of-the-art results on multiple mathematics, kernel engineering, and machine learning tasks, including new state-of-the-art 26-circle packing results discovered with less than $11 in total API cost. We open-source our code and results, and call for environment engineering as a core research direction for developing reliable autonomous research agents.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Mathematics | Erdős’ minimum overlap problem | Overlap Score38.087 | 21 | |
| GPU kernel engineering | TriMul kernel | TriMul Latency (µs)2.01e+3 | 12 | |
| Kernel Engineering | GPUMODE TriMul TTT-Discover setting | Median Latency (µs)2.01e+3 | 7 | |
| Mathematics Extremal Analysis | Autocorrelation Inequality 1 | Bound1.5029 | 5 | |
| Mathematics | Circle packing | Circle Packing Score2.636 | 3 | |
| Machine Learning | MLE-Bench | MLE-Bench Score85.71 | 2 | |
| Mathematical Optimization | Circle Packing (test) | Objective Value2.636 | 2 | |
| Mathematical Optimization | Erdős' Min. Overlap (test) | Objective Value0.3809 | 2 | |
| Mathematical Optimization | 1st Autocorr. Ineq. (test) | Objective Value1.5029 | 2 |