This is a full English translation of a zhichai.net research report on EurekAgent.
Paper: EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery — arXiv:2606.13662
Authors: Amy Xin, Jiening Siow, Junjie Wang, Zijun Yao, Fanjin Zhang, Jian Song, Lei Hou, Juanzi Li (Department of Computer Science and Technology, Tsinghua University & Zhipu AI)
Code: https://github.com/THU-Team-Eureka/EurekAgent
1. Research Overview
EurekAgent is a metric-driven autonomous scientific discovery agent system from Tsinghua University. Its core claim in one sentence:
> "Agent environment engineering is all you need for autonomous scientific discovery."
The system does not fine-tune models, does not prescribe workflows, and does not shape rewards. By carefully designing only the environment in which agents operate (resources, constraints, interfaces), it enables general CLI agents (such as Claude Code) to produce results surpassing human-designed methods in mathematical optimization, GPU kernel engineering, and machine learning engineering, setting new SOTA on all evaluated math and kernel engineering tasks.
2. Core Principle: The Environment Engineering Paradigm
2.1 The Bottleneck-Shift Hypothesis
EurekAgent's theoretical foundation is a bottleneck-shift hypothesis:
> As general-purpose agents continue to improve, the bottleneck of autonomous scientific discovery is shifting from "specifying agent workflows" to "designing agent environments."
2.2 Definition of Environment Engineering
Environment engineering is explicitly defined as 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 supervision).
2.3 The Core Analogy
The paper illustrates its philosophy with an analogy: a capable PhD student's productivity comes not from minute-by-minute advisor instructions, but from accountability, research autonomy, accurate feedback, peer collaboration, and advisor oversight.
3. Design Philosophy: The Logic of a Paradigm Shift
EurekAgent's design philosophy can be summarized as "Guide, Don't Dictate":
- No prescribed methodology: the agent autonomously decides research directions
- No constrained implementation path: the agent freely chooses algorithms and tools
- No model fine-tuning: uses a general LLM (GLM-5.1)
- No reward shaping: evaluation functions are user-defined
- Prepare (once): read inputs, test the evaluation service, install dependencies; may pause to ask humans for clarification
- Propose (once per round, convergent): read the task plus the best historical solutions, search the web for literature, output up to P candidate hypotheses
- Implement (fanned out, parallel): each implementation session receives an independent hypothesis, works in an isolated workspace, and submits solutions via 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
- The system injects warnings as deadlines approach
- Terminal UI (TUI) for real-time progress monitoring
- Web monitor visualizing score evolution
- Reduces supervision friction
- Workflow engine: LangGraph
- CLI agent: Claude Code
- Base LLM: GLM-5.1 (open source)
- Containerization: Docker (two containers: Agent + Grader)
- Search tool: Web Search Prime MCP
- Browser tool: Playwright MCP
- Package management: uv
- Circle packing: 2.635999 (surpassing TTT-Discover)
- Erdős minimal overlap: 0.380870
- First autocorrelation inequality: 1.502861
- Cost: total API cost under $17 for all three tasks
- The top four EurekAgent solutions all beat the human champion
- Best kernel improves over TTT-Discover by ~10.8%
- 85.71% medal rate and 71.43% gold-medal rate using open-source GLM-5.1
- Surpasses all approaches using closed-source commercial models (Claude Opus 4.6, Gemini series)
The design is deeply cost-conscious: the new SOTA for the circle packing problem was achieved with total API cost under $11.
4. System Architecture: The Three-Phase Loop
EurekAgent uses a Prepare → Propose → Implement loop:
Key innovation: same-round isolation — parallel implementation sessions within the same round cannot see each other, ensuring diversity while preventing "plagiaristic convergence."
5. The Four Dimensions of Environment Engineering
5.1 Permissions Engineering
5.2 Artifact Engineering
5.3 Budget Engineering
5.4 Human-in-the-Loop Engineering
6. Technical Implementation
Each run uses two Docker containers; hidden_eval_dir is mounted read-only only into the Grader container and never into the Agent container, ensuring evaluation security.
7. Experimental Results
Mathematical Optimization: SOTA on all three tasks
Kernel Engineering (TriMul GPU kernel optimization)
MLE-Bench
8. Key Conclusion
> EurekAgent demonstrates that when agents are sufficiently capable, building a good lab matters more than writing a good manual.
Through environment engineering (rather than workflow engineering or model training), general LLM agents can achieve reliable, reproducible, SOTA-level autonomous scientific discovery.
---
*This report was compiled based on arXiv:2606.13662, the GitHub repository, and multiple analyses.*