EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery
- Paper: arXiv:2606.13662 (submitted June 11, 2026)
- Authors: Amy Xin, Jiening Siow, Junjie Wang, Zijun Yao, Fanjin Zhang, Jian Song, Lei Hou, Juanzi Li (Tsinghua University, Dept. of CS & Technology, and Zhipu AI)
- Code: https://github.com/THU-Team-Eureka/EurekAgent
- No prescribed methodology: agents autonomously decide research directions
- No restricted implementation paths: agents freely choose algorithms and tools
- No model fine-tuning: uses a general-purpose LLM (GLM-5.1)
- No reward shaping: evaluation functions defined by the user
- Prepare (once): read inputs, test evaluation service, install dependencies; may pause to ask humans for clarification
- Propose (once per round, convergent): read task + best-so-far solution, web-search literature, output up to P candidate hypotheses
- Implement (fanned out, parallel): each implementation session receives an independent hypothesis, works in an isolated workspace, submits solutions through a secure evaluation service
- Docker container isolation
- Hidden evaluator (exposed only via a secure scoring service)
- Read-only system files
- Same-round isolation
- GPU access denied by default
- Filesystem + Git as shared memory
- Cross-session knowledge accumulation
- Traceability and resumability
- Dual-axis control: wall-clock time + API cost
- Agents can query used/remaining time via an auxiliary API
- System injects warnings as deadlines approach
- Terminal UI (TUI) for real-time progress
- Web monitor visualizing score evolution
- Reduced supervision friction
- Workflow engine: LangGraph
- CLI agent: Claude Code
- Base LLM: GLM-5.1 (open source)
- Containerization: Docker (two containers: Agent + Grader)
- Search: Web Search Prime MCP
- Browser: Playwright MCP
- Package management: uv
- Circle packing: 2.635999 (surpassing TTT-Discover)
- Erdős minimal overlap: 0.380870
- First autocorrelation inequality: 1.502861
- Cost: all three tasks combined under $17 in API spend
- The top four EurekAgent solutions all beat the human champion
- Best kernel improves over TTT-Discover by roughly 10.8%
- With open-source GLM-5.1: 85.71% medal rate, 71.43% gold rate
- Surpasses all approaches using closed-source commercial models (Claude Opus 4.6, Gemini series)
Overview
EurekAgent is a metric-driven autonomous scientific discovery agent system. Its core claim in one sentence:
> "Agent environment engineering is all you need for autonomous scientific discovery."
The system does not fine-tune models, prescribe workflows, or shape rewards. By carefully designing the agent's operating environment (resources, constraints, interfaces), it enables a general-purpose CLI agent (e.g., Claude Code) to produce results surpassing human-designed methods in math optimization, GPU kernel engineering, and ML engineering—setting new SOTA on all evaluated math and kernel engineering tasks.
Core Principle: The Environment Engineering Paradigm
Bottleneck Shift Hypothesis
> As general-purpose agents continue to improve, the bottleneck of autonomous scientific discovery is shifting from "prescribing agent workflows" to "designing agent environments."
Definition of Environment Engineering
Constructing resources, constraints, and interfaces that amplify productive behaviors (open-ended exploration, systematic artifact management, inter-agent collaboration) and suppress harmful behaviors (reward hacking, evaluation contamination, high-friction human oversight).
Key Analogy
A capable PhD student's productivity comes not from minute-by-minute instructions from an advisor, but from accountability, research autonomy, accurate feedback, peer collaboration, and advisor supervision.
Design Philosophy: Guide, Don't Dictate
The design is deeply cost-conscious: the new circle-packing SOTA cost less than $11 in total API spend.
Architecture: Three-Phase Loop
EurekAgent runs a Prepare → Propose → Implement loop:
Key innovation: same-round isolation — parallel implementation sessions within the same round cannot see each other, ensuring diversity and preventing "copycat convergence."
Four Dimensions of Environment Engineering
1. Permissions Engineering
2. Artifact Engineering
3. Budget Engineering
4. Human-in-the-Loop Engineering
Technical Stack
Each run uses two Docker containers; hidden_eval_dir is mounted read-only only into the Grader container, never into the Agent container, ensuring evaluation security.
Experimental Results
Mathematical Optimization: New SOTA on All Three Tasks
Kernel Engineering (TriMul GPU Kernel Optimization)
MLE-Bench
Conclusion
> EurekAgent demonstrates that when agents are strong enough, building a good lab matters more than writing a good manual.
Through environment engineering—rather than workflow engineering or model training—general-purpose LLM agents can achieve reliable, reproducible, SOTA-level autonomous scientific discovery.
---
*This report is based on arXiv:2606.13662, the GitHub repository, and multiple independent analyses. Research completed June 14, 2026.*