Papers › SWE-AGI: Benchmarking Specification-Driven Software Construction with MoonBit in the...

SWE-AGI: Benchmarking Specification-Driven Software Construction with MoonBit in the Era of Autonomous Agents

10 Feb 2026arXiv:2602.09447added by Syntology

Zhirui Zhang, Hongbo Zhang, Haoxiang Fei, Zhiyuan Bao, Yubin Chen, Zhengyu Lei, Ziyue Liu, Yixuan Sun, Mingkun Xiao, Zihang Ye, Yu Zhang, Hongcheng Zhu, Yuxiang Wen, Heung-Yeung Shum

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Although large language models (LLMs) have demonstrated impressive coding capabilities, their ability to autonomously build production-scale software from explicit specifications remains an open question. We introduce SWE-AGI, an open-source benchmark for evaluating end-to-end, specification-driven construction of software systems written in MoonBit. SWE-AGI tasks require LLM-based agents to implement parsers, interpreters, binary decoders, and SAT solvers strictly from authoritative standards and RFCs under a fixed API scaffold. Each task involves implementing 1,000-10,000 lines of core logic, corresponding to weeks or months of engineering effort for an experienced human developer. By leveraging the nascent MoonBit ecosystem, SWE-AGI minimizes data leakage, forcing agents to rely on long-horizon architectural reasoning rather than code retrieval. Across frontier models, gpt-5.3-codex achieves the best overall performance (solving 19/22 tasks, 86.4%), outperforming claude-opus-4.6 (15/22, 68.2%), and kimi-2.5 exhibits the strongest performance among open-source models. Performance degrades sharply with increasing task difficulty, particularly on hard, specification-intensive systems. Behavioral analysis further reveals that as codebases scale, code reading, rather than writing, becomes the dominant bottleneck in AI-assisted development. Overall, while specification-driven autonomous software engineering is increasingly viable, substantial challenges remain before it can reliably support production-scale development.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 20 code samples harvested from 2 repositories linked to this paper: 16 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 4 violated, 0 with no contract checked; 12 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 20 samples from 2 repositories, 16 ran (4 with no instrument failure; 12 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

moonbitlang/SWE-AGI found in paper text by SyntologySyntology: 16 samples, 12 ran (8 instrument-failed) · 4 unverified report
moonbitlang/SWE-AGI-Eval found in paper text by SyntologySyntology: 4 samples, 4 ran (4 instrument-failed) · 0 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested: 16 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 4 violated, 0 with no contract checked; 12 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · violated contract
12ran · our draft was wrong
4unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

moonbitlang/SWE-AGI found in paper text by Syntology 16 samples, 12 ran (8 instrument-failed) · 4 unverified
_extract_test_block_from_text docker/server.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0d26355a0593d1cd · report fixture: signature text:str/0/str, test_name:str/0/str · returned dict · level recorded 2026-09-24
_find_test_file docker/server.py ran · our draft was wrong Apache-2.0 (permissive) · 3e52f0603142fd16 · report fixture: signature project_dir:str/0/str, failure:dict/0/? · returned PosixPath · level recorded 2026-09-24
_format_failure_message docker/server.py ran · our draft was wrong Apache-2.0 (permissive) · 5523b61639d585a9 · report fixture: signature failure:dict/0/?, project_dir:str/0/str · returned str · level recorded 2026-09-24
_is_selection_error docker/server.py ran · violated contract Apache-2.0 (permissive) · 5f4997aeaa42de77 · report fixture: signature message:str/0/str · returned bool · level recorded 2026-09-22
_parse_failure_jsonl docker/server.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b5f7c09f9a07afea · report fixture: signature output:str/0/str · returned list · level recorded 2026-09-22
_parse_test_summary docker/server.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 2d84a21c452eeb6f · report fixture: signature output:str/0/str · returned dict · level recorded 2026-09-22
copy_project docker/server.py ran · violated contract fingerprinted Apache-2.0 (permissive) · d47e662df259f5cf · report fixture: signature src_dir:str/0/str, dst_dir:str/0/str · returned bool · level recorded 2026-09-24
run_cdcl_test_streaming docker/server.py ran · our draft was wrong Apache-2.0 (permissive) · e49ed3ddb63cda58 · report fixture: signature wfile:BytesIO/0/?, project_dir:str/0/str, timeout:int/0/int, per_test_timeout:int/0/int, keepalive_interval:int/0/int, test_name:str/0/str, test_file:str/0/str, request_id:str/0/str, cancelled:Event/0/? · returned dict · level recorded 2026-09-24
run_moon_build docker/server.py ran · our draft was wrong Apache-2.0 (permissive) · db5f1c7ce134271e · report fixture: signature project_dir:str/0/str, timeout:int/0/int, request_id:str/0/str, cancelled:Event/0/? · returned dict · level recorded 2026-09-22
send_sse_comment docker/server.py ran · violated contract Apache-2.0 (permissive) · bdd2704909cc54c3 · report fixture: signature wfile:MockWFile/0/?, comment:str/0/str · returned bool · level recorded 2026-09-22
send_sse_event docker/server.py ran · violated contract Apache-2.0 (permissive) · c39d6db42bcfe568 · report fixture: signature wfile:MockWFile/0/?, event_type:str/0/str, data:dict/0/? · returned bool · level recorded 2026-09-22
terminate_process_gracefully docker/server.py ran · our draft was wrong Apache-2.0 (permissive) · 719368dd9fb84c7b · report fixture: signature proc:Popen/0/?, grace_period:int/0/int · returned tuple · level recorded 2026-09-22
handle_proj_submit_streaming docker/server.py unverified Apache-2.0 (permissive) · 52c4ad71a7b7b591 · report
log in 61 papers
census: 10 implementations from 16 papers, 7 distinct outputs on one shared input
docker/server.py unverified Apache-2.0 (permissive) · 6c8362c015ee20dd · report
register_process docker/server.py unverified Apache-2.0 (permissive) · 786d0d4d4541702b · report
run_moon_test docker/server.py unverified Apache-2.0 (permissive) · f0c203f3c5165c98 · report
moonbitlang/SWE-AGI-Eval found in paper text by Syntology 4 samples, 4 ran (4 instrument-failed) · 0 unverified
collect_labels claude-opus-4.5/cdcl/try.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 48b9834c9dd08085 · report fixture: signature text:str/0/str · returned list · level recorded 2026-09-26
colorize in 60 papers claude-opus-4.5/cdcl/try.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · bd08390f95c0fe75 · report fixture: signature text:str/0/str, color:str/0/str · returned str · level recorded 2026-09-26
generate_moonbit deepseek-v3.2/hpack/parse_huffman.py ran · our draft was wrong Apache-2.0 (permissive) · 7a0a58d0e71fa07f · report fixture: signature entries:list/1/tuple · returned str · level recorded 2026-09-26
status_symbol claude-opus-4.5/cdcl/try.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 6fed0709f2c2de4c · report fixture: signature status:str/0/str · returned str · level recorded 2026-09-26

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for SWE-AGI (graph method: SWE-AGI). 16 bricks; individually on a fixture: 12 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 4 violated, 0 with no contract checked; 8 where Syntology's instrument failed) · 4 unverified. The assembly has not been run end-to-end.

  1. handle_proj_submit_streaming entry · level 0 · unverified · 52c4ad71a7b7b591
  2. copy_project helper · level 1 · ran · violated contract · d47e662df259f5cf
  3. log helper · level 0 · unverified · 6c8362c015ee20dd
  4. run_cdcl_test_streaming helper · level 1 · ran · our draft was wrong · e49ed3ddb63cda58
  5. run_moon_build helper · level 1 · ran · our draft was wrong · db5f1c7ce134271e
  6. run_moon_test helper · level 0 · unverified · f0c203f3c5165c98
  7. send_sse_event helper · level 1 · ran · violated contract · c39d6db42bcfe568
  8. _is_selection_error helper · level 1 · ran · violated contract · 5f4997aeaa42de77
  9. register_process helper · level 0 · unverified · 786d0d4d4541702b
  10. send_sse_comment helper · level 1 · ran · violated contract · bdd2704909cc54c3
  11. terminate_process_gracefully helper · level 1 · ran · our draft was wrong · 719368dd9fb84c7b
  12. _format_failure_message helper · level 1 · ran · our draft was wrong · 5523b61639d585a9
  13. _parse_failure_jsonl helper · level 1 · ran · our draft was wrong · b5f7c09f9a07afea
  14. _parse_test_summary helper · level 1 · ran · our draft was wrong · 2d84a21c452eeb6f
  15. _extract_test_block_from_text helper · level 1 · ran · our draft was wrong · 0d26355a0593d1cd
  16. _find_test_file helper · level 1 · ran · our draft was wrong · 3e52f0603142fd16

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2602.09447") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.09447, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections