# Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons?

다단계 SWE: 코딩 에이전트는 장기적인 작업에서도 자신의 코드를 계속 발전시킬 수 있는가?

Xiangkai Zeng, Zheng Liu, Zihao Lin · arXiv · 2026년 11월 4일

- **연구 문제** 기존 코딩 에이전트 벤치마크는 대부분 한 과제를 한 번 채점하므로, 자신이 만든 코드를 장기간 확장하는 능력을 측정하기 어렵습니다.
- **연구 방법** 69개 과제를 5–15개의 의존적 단계로 구성하고, 각 단계가 이전 단계의 작업공간에서 시작하도록 하며 기존 원천 자료에서 도출한 검증기로 단계별 보상을 채점합니다.
- **주요 결과** 가장 강한 Claude Opus 5.5의 solve rate는 18.5%였고, 나머지 모델은 최대 17.8%였습니다. 38개 과제는 어떤 모델에서도 해결되지 않았습니다.

## 한 번에 끝나는 과제 평가의 한계

대부분의 코딩 에이전트 벤치마크는 과제를 하나씩 따로 채점합니다. SWE-bench는 단일 GitHub 이슈 해결을 요구하고, Terminal-Bench나 DeepSWE, FrontierSWE는 더 길지만 여전히 한 번에 끝나는 에피소드입니다. 따라서 에이전트가 자신이 앞서 작성한 코드를 요구사항 변화에 맞춰 계속 확장하는 능력은 이 평가들로 드러나지 않습니다.

이 논문은 개발자가 실제로 에이전트에게 구축, 확장, 업그레이드, 최적화를 차례로 맡기는 상황을 평가 구조로 옮긴 Multi-step SWE를 제안합니다. 한 과제는 하나의 코드베이스에서 5–15개의 의존적 단계로 구성되며, 각 단계는 이전 단계에서 에이전트가 남긴 작업공간에서 시작합니다. 초기 설계 결정과 오류가 뒤 단계로 이어지므로, 과제 전체는 단계별 채점을 모두 통과해야 해결된 것으로 봅니다.

![Figure 1: Overview of Multi-step SWE. A task chains dependent steps on one repository. Each step is a complete engineering request that starts from the code th…](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-c0329bdf2f7b17bc0eaeb09463ef31be.png?thumb=512)

**Figure 1** : Overview of Multi-step SWE. A task chains dependent steps on one repository. Each step is a complete engineering request that starts from the code the agent produced in earlier steps and is graded by a dedicated verifier. A task is solved only if every step receives full credit. A single source of truth defines both the requirements of each step and the way the step is graded.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

![Table 4: Multi-step SWE at a glance](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-798d0f2dad838e5eabdcdfdb638bf811.png?thumb=512)

**Table 4** : Multi-step SWE at a glance.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 단계 구성과 검증기 설계

각 단계는 다음 릴리스나 다음 표준 버전, 다음 마이그레이션 단계, 또는 다음 커널 계열과 같이 실제 프로젝트 진행의 한 단위입니다. 단계 k는 단계 1부터 k−1까지가 만든 코드를 받고, 요구사항은 그 코드 위에서의 변경으로 기술됩니다. 최적화 과제에서는 출력이 바뀌면 안 되므로 단계가 동작을 수정하지 않으며, 기능 구현·버전 업그레이드·마이그레이션에서는 새 릴리스가 바꾼 동작만 수정하고 나머지 기존 동작은 유지해야 합니다.

![Table 2: The four task families: where a task starts, what each step provides to the agent, what each step must achieve, and one example task](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-d4fe8c3bdf28c5a1a0be3abe0b33a7e7.png?thumb=512)

**Table 2** : The four task families: where a task starts, what each step provides to the agent, what each step must achieve, and one example task.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 2: Relation between consecutive steps. Step k starts from the workspace that step k−1 left and receives its own instruction and workspace additions. It…](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-b38cb24e640107d32b70fbdac2574de4.png?thumb=512)

**Figure 2** : Relation between consecutive steps. Step k starts from the workspace that step k−1 left and receives its own instruction and workspace additions. It extends or revises the code as its task family requires, and its verifier checks the new requirements of stepkand, in most tasks, re-tests behavior inherited from earlier steps.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Table 6: Four example steps, from instruction to verifier](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-b43077f4c645578a8b11847644fbb204.png?thumb=512)

**Table 6** : Four example steps, from instruction to verifier.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

지시문과 검증기의 불일치를 줄이기 위해 각 단계의 목표 동작은 벤치마크와 독립적으로 존재하는 명세, 상위 릴리스 문서, 원본 코드베이스, 참조 구현에서 가져옵니다. 검증기는 가능한 한 같은 자료에서 만든 적합성 테스트나 참조 도구로 결과물의 외부 인터페이스만 확인하며, 에이전트가 작성한 코드를 별도 컨테이너에서 다시 빌드해 채점합니다. 이 설계는 검증기가 특정 해법의 내부 구조가 아니라 명세가 정한 동작을 시험하도록 하기 위한 것입니다.

![Table 3: Examples of attacks, found during adversarial hardening, that succeeded against early versions of the verifiers, and the checks that now block them](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-f6cd956c64113684df36f5c437e6816d.png?thumb=512)

**Table 3** : Examples of attacks, found during adversarial hardening, that succeeded against early versions of the verifiers, and the checks that now block them.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 단계 보상과 최적화 보상의 구조

기능 구현, 버전 업그레이드, 마이그레이션 단계의 보상은 이진값입니다. 검증기가 단계 k에서 요구하는 모든 점검을 통과하면 r\_k=1이고, 그렇지 않으면 r\_k=0입니다. 최적화 단계는 정확성과 속도를 함께 봅니다. 보상은 r\_k = c·v로 정의되며, c는 라이브러리 출력이 정확성 게이트를 통과하면 1이고, v는 속도 s가 단계의 참조 해법에서 측정된 기준 s\_ref를 초과하면 1입니다. 여기서 s는 함수별 속도 향상의 기하평균이며 각 함수의 속도 향상은 1배 이하로 내려가지 않도록 하한이 적용됩니다.

![Table 10: Raw optimization speedups by model, pooled over the 18 optimization tasks. Correct is the fraction of step records that pass the correctness gate (%)…](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-a223d920525415038f1537ffc65da75c.png?thumb=512)

**Table 10** : Raw optimization speedups by model, pooled over the 18 optimization tasks. Correct is the fraction of step records that pass the correctness gate (%); the speedup statistics (×) are computed over correct records.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

![Table 11: Raw optimization speedups by task. sref, the speedup of the reference solution, is listed per step, in step order. Correct is the fraction of step re…](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-dee0e0580adfebd0c19a8c8ae59d0e9f.png?thumb=512)

**Table 11** : Raw optimization speedups by task. sref, the speedup of the reference solution, is listed per step, in step order. Correct is the fraction of step records that pass the correctness gate (%); P50, P90, geometric mean, and maximum speedups (×) are computed over correct records.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

과제는 모든 k에 대해 r\_k=1일 때만 해결된 것으로 봅니다. 따라서 단계 하나가 실패하면 그 롤아웃은 해결되지 않으며, 다음 단계도 같은 작업공간에서 계속 채점됩니다.

## 모델 평가와 주요 결과

아홉 개 최신 모델을 과제당 네 번의 롤아웃으로 평가했습니다. solve rate는 모든 단계에서 만점을 받은 롤아웃의 비율이고, Pass@4는 네 롤아웃 중 하나 이상이 과제를 해결한 과제의 비율입니다. 가장 강한 Claude Opus 5.5는 solve rate 18.5%를 기록했고, 네 번 안에 과제의 31.9%를 해결했습니다. 같은 모델의 개별 단계 통과율은 56.8%였습니다. 나머지 모델의 solve rate는 최대 17.8%였으며, 38개 과제는 어떤 모델에서도 해결되지 않았습니다.

![Table 5: Results for nine models, in percent, with a 95% bootstrap confidence interval over tasks for the overall solve rate. The family columns cover optimiza…](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-c2ba743df220abf92dce838e75e45486.png?thumb=512)

**Table 5** : Results for nine models, in percent, with a 95% bootstrap confidence interval over tasks for the overall solve rate. The family columns cover optimization (18 tasks), feature implementation (18), version upgrade (20), and migration (13). The best value in each column is shown in bold. Gemini 4 Argon and GPT-6.1 Sol tie on the overall solve rate and are ordered by Pass@4.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

과제군별로 보면 최적화에서 Claude Fable 5.1이 45.8%로 가장 높았고, 버전 업그레이드는 모든 모델에서 가장 어려웠습니다. 이 수치들은 같은 벤치마크 설정과 하네스 조건에서 얻은 결과이며, 조건이 다른 선행 연구 점수와 직접 합칠 수는 없습니다.

![Table 9: Agent harness and reasoning effort for each model](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-49f89674f8daa9bf5063a67b19a2faa7.png?thumb=512)

**Table 9** : Agent harness and reasoning effort for each model.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

저자들은 일부 과제에 여전히 모호한 요구사항이나 잘못된 검증 결과가 남을 수 있다고 밝힙니다. 언어 분포도 고르지 않아 69개 과제 중 38개에서 C와 C++이 사용되었습니다. 과제가 공개 프로젝트에서 왔기 때문에 기억에 의한 영향을 완전히 배제할 수 없으며, 대부분의 과제는 네트워크 접근을 막아 이를 줄였습니다. 최적화 단계의 기준은 참조 해법의 속도이므로 달성 가능한 최고 속도를 뜻하지 않습니다.

![Table 8: All 69 tasks in Multi-step SWE](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008/figures/figure-8d8a1530d08f195259c3dcb16372f697.png?thumb=512)

**Table 8** : All 69 tasks in Multi-step SWE.

[원문](https://arxiv.org/abs/2611.07166v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xiangkai Zeng, Zheng Liu, Zihao Lin · Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons? · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

저자들은 단계 k를 참조 해법의 1부터 k−1까지에서 시작하는 격리 단계 기준선을 향후 과제로 제시합니다. 이는 누적 오류와 단계 자체의 난이도를 나누기 위한 것입니다.

## 논문 정보

- **저자**: Xiangkai Zeng, Zheng Liu, Zihao Lin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 4일
- **등록일**: 2026년 11월 6일
- **수정일**: 2026년 11월 4일
- **버전**: v1
- **arXiv**: 2611.07166
- **분류**: cs.SE · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.07166v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.07166v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Developers rarely give a coding agent a single request: they ask it to build a component and then to extend, upgrade, and optimize it, each time on code the agent itself wrote. Most benchmarks, however, score one task at a time. We introduce Multi-step SWE, a long-horizon benchmark of 69 software engineering tasks, each a chain of 5-15 dependent steps on a single codebase. Every step is a complete, multi-hour engineering request that starts from the code the agent produced in the preceding steps, so early design decisions and errors carry forward. The tasks span four families of engineering work and nine languages, include both from-scratch builds and existing open-source codebases, and ground every step in an existing source of truth that defines both the instruction and its verifier. Across nine frontier models, the strongest model reaches a solve rate of only 18.5%, and 38 of the 69 tasks are not solved by any model. We release Multi-step SWE publicly at https://multistepswe.com.

## 원문 인용

Xiangkai Zeng, Zheng Liu, Zihao Lin (2026). Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons?. arXiv:2611.07166v1. https://arxiv.org/abs/2611.07166v1

**BibTeX**

```
@misc{zeng2026multi,
  title = {{Multi-step SWE: Can Coding Agents Keep Building on Their Own Code Over Long Horizons?}},
  author = {Xiangkai Zeng and Zheng Liu and Zihao Lin},
  year = {2026},
  eprint = {2611.07166},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.07166v1}
}
```

## 이 논문의 용어

- [Claude Opus 5.5](https://refivu.com/terms/5a529ff69f21-claude-opus-5-5)
- [reward hacking](https://refivu.com/terms/2413bbf555b3-reward-hacking)
- [verifier](https://refivu.com/terms/7e971aef0230-verifier)
- [SWE-Bench](https://refivu.com/terms/d2a8e736795c-swe-bench)
- [Solve Rate](https://refivu.com/terms/e910f14dced7-solve-rate)

## 다른 논문 해설

- [Autonomous AI Agents Systematically Diverge From Human Preferences in Proof Formalization](https://refivu.com/papers/0667f312-1b91-4e84-840b-2ee875dac6ae-autonomous-ai-agents-systematically-diverge-from-human.md)
- [Global Convergence of Localized Policy Iteration in Networked Multi-Agent Reinforcement Learning](https://refivu.com/papers/21d4d9a9-fbce-4002-a711-7e5b8c2e327d-global-convergence-of-localized-policy-iteration-in.md)
- [Effective control of two-dimensional Rayleigh--Bénard convection: invariant multi-agent reinforcement learning is all you need](https://refivu.com/papers/8c115337-dd73-4ba8-8cd4-a40d43d59b37-effective-control-of-two-dimensional-rayleigh-benard.md)
- [MAGNNETO: A Graph Neural Network-based Multi-Agent system for Traffic Engineering](https://refivu.com/papers/493adf38-b275-4f71-8c2d-5b78ea60730c-magnneto-a-graph-neural-network-based-multi-agent.md)
- [Generalist AI Control: Towards Multi-purpose Adaptive Algorithms](https://refivu.com/papers/c16cc95e-a6b9-411c-a060-7d4bc461b3d5-generalist-ai-control-towards-multi-purpose-adaptive.md)
- [A Scalable Post-Processing Pipeline for Large-Scale Free-Space Multi-Agent Path Planning with PiBT](https://refivu.com/papers/95551d18-44d6-4670-a6fb-fd67d2230b41-a-scalable-post-processing-pipeline-for-large-scale.md)
- [Optimistic Hedge in General-Sum Games: Fundamental Limits and Regret Bounds via Temporal Approximation](https://refivu.com/papers/742ccf4a-1dbe-4ba9-a64d-e887c151a107-optimistic-hedge-in-general-sum-games-fundamental-limits.md)
- [TOP: Transmission-Oriented Remote Sensing Pansharpening](https://refivu.com/papers/7335c52a-09c4-412d-9575-402ad57a586b-top-transmission-oriented-remote-sensing-pansharpening.md)
- [Automated Feedback to Peer Tutors Increases Their Talk Moves and Learner Reasoning but Not the Balance of Talk](https://refivu.com/papers/1e58766c-0ddb-431f-8443-e6eafb8bcd1d-automated-feedback-to-peer-tutors-increases-their-talk.md)
- [Beyond Instruction Override: Benchmarking Indirect Prompt Injection with Task-Tampering Attacks](https://refivu.com/papers/cefe818d-f868-4fcb-934d-a801e01c1bf8-beyond-instruction-override-benchmarking-indirect-prompt.md)
- [Understanding the Out-of-Distribution Generalization of Chain-of-Thought Reasoning in LLMs](https://refivu.com/papers/f8d23f12-d410-453f-876f-81958a16062a-understanding-the-out-of-distribution-generalization-of.md)
- [Consistent Submodular Maximization with Full Foresight](https://refivu.com/papers/581075e3-e4d0-4abc-a9f5-d93e53320471-consistent-submodular-maximization-with-full-foresight.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/511fe30c-d341-4cb6-8e73-d0dbbbec3008-multi-step-swe-can-coding-agents-keep-building)
