Coding agents6 May 2024arXiv:2405.15793
SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, Ofir Press. Princeton
TL;DR
SWE-agent shows that a custom agent-computer interface for editing files, navigating repos and running tests strongly improves coding-agent performance.
Why builders should care
The interface between agent and computer matters as much as the model.
How to apply it
- 1.Design tools for the agent, not for humans: concise outputs, guardrails on edits and clear error messages.
Key results
Quoted from the abstract- We evaluate SWE-agent on SWE-bench and HumanEvalFix, achieving state-of-the-art performance on both with a pass@1 rate of 12.5% and 87.7%, respectively, far exceeding the previous state-of-the-art achieved with non-interactive LMs.