Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks

Mengyu Zheng, Kai Han, Boxun Li, Haiyang Xu, Yuchuan Tian +11 more
6/10/2026
cs.LGcs.CL

Official code: opensquilla/claw-swe-bench (110 stars, MIT, last commit 2026-06-11). 1 more implementation below.

Abstract

General-purpose agents such as OpenClaw are increasingly used as autonomous tool users, but their coding ability is difficult to measure under SWE-bench: a generic agent does not by itself satisfy the clean Docker workspace, patch, and prediction contract required for scoring. We introduce Claw-SWE-Bench, a multilingual SWE-bench-style benchmark and adapter protocol that makes heterogeneous agent harnesses, or claws, comparable under fair settings including a fixed prompt, runtime budget, workspace contract, patch extraction procedure, and evaluator. The full benchmark contains 350 GitHub issue-resolution instances across 8 languages and 43 repositories, drawn from SWE-bench-Multilingual and SWE-bench-Verified-Mini after future-commit cleanup. We also release Claw-SWE-Bench Lite for faster validation, which is an 80-instance subset selected by a cost-aware, rank-aware procedure over 17 calibration columns. On the full benchmark, OpenClaw with a minimal direct-diff adapter scores only $19.1\%$ Pass@1, whereas the full adapter reaches $73.4\%$ with the same GLM 5.1 backbone, showing that adapter design is essential for enabling OpenClaw-style harnesses to perform coding tasks effectively. Across an OpenClaw $\times$ nine-model sweep and a five-claw $\times$ two-model sweep, model choice changes Pass@1 by $29.4$ pp and harness choice by $27.4$ pp under fixed models; systems with similar accuracy can differ substantially in total API cost. Claw-SWE-Bench therefore treats harness and cost accounting as first-class axes of SWE-style coding-agent evaluation, providing both a full benchmark and a low-cost reference set for reproducible comparison. The data is available at https://github.com/opensquilla/claw-swe-bench and https://huggingface.co/datasets/TokenRhythm/Claw-SWE-Bench.

View on arXivView PDF

Code Implementations(2)

MIT

Unified adapter framework for evaluating agent harnesses (claws) on SWE-bench

11010PythonJun 10, 20264 months agoMIT
Apache-2.0

A benchmark for evaluating LLM × harness performance.

11521May 15, 20264 months agoApache-2.0
agentbenchmarkharnesshermesllm+2 more

Similar Papers

Cite this paper

@article{zheng2026clawswebench,
  title  = {Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks},
  author = {Mengyu Zheng and Kai Han and Boxun Li and Haiyang Xu and Yuchuan Tian and Wei He and Hang Zhou and Jianyuan Guo and Hailin Hu and Lin Ma and Chao Xu and Guohao Dai and Lixue Xia and Yunchao Wei and Yunhe Wang and Yu Wang},
  year   = {2026},
  eprint = {2606.12344},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.12344v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.12344.svg)](https://codeofpaper.com/paper/2606.12344)

Discussion