AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / LLMs

    SWE-agent (2024)

    SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering

    An agent that fixes GitHub issues by navigating, editing and testing a repository through commands designed for language models rather than people.

    Why it matters

    It showed that the interface around a model can matter as much as the model, and coined the agent-computer interface. SWE-agent and its later minimal version became standard scaffolds for evaluating models on SWE-bench and its successors, and the edit-run-check loop is the core of today's coding agents.

    First page of “SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2024
    Authors
    John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, Ofir Press
    Venue
    NeurIPS 2024
    Data
    SWE-bench

    The idea

    Language models are a new kind of computer user, so give them their own interface. Instead of a raw Linux shell, SWE-agent offers a few commands: search a file or directory with a short summary of matches, view 100 lines of a file at a time, and edit a range of lines with a linter that rejects edits that break the syntax. The model works in a ReAct-style loop, usually reproducing the bug, finding the code, editing it and rerunning its script.

    The result

    With GPT-4 Turbo it resolved 12.47% of the full SWE-bench test set, against 3.8% for the best earlier non-interactive system, and 18.0% of SWE-bench Lite, against 11.0% for the same model in a plain shell. Removing the linting check or showing whole files instead of 100-line windows each cost 3 to 5 points.

    The data

    SWE-bench

    2023

    2,294 GitHub issues from 12 Python projects; a fix counts only if the project's tests pass. (1 year earlier)

    django__django-16002 "NaN" can be stored in DecimalField but cannot be retrieved Description (last modified by Xabier Bello) Same a…

    Builds on

    • ReAct (2022): Prompt a language model to alternate thoughts with actions, read what each action returns, and keep going until the task is done.
    • SWE-bench (2023): Turned 2,294 real GitHub issues into tasks where a model must patch the repository so that the project's own tests pass.

    Led to

    • Agentless (2024): A fixed three-step pipeline, with no agent deciding what to do next, that fixed more GitHub issues than open-source agents at a fraction of the cost.
    • SWE-bench Pro (2025): A harder SWE-bench built from copyleft and private codebases, with multi-file changes that take a professional hours or days.