Papers › BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledge

BootstrapAgent: Distilling Repository Setup into Reusable Agent Knowledge

15 May 2026arXiv:2605.15815added by Syntology

Sihan Fu, Oucheng Liu, Shiyuan Wang, Jin Shi, Chengkun Wei

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

Code agents increasingly help developers work with unfamiliar repositories, but every such task depends on a costly prerequisite: bootstrapping the repository into a usable development state. This process requires substantial trial-and-error exploration, yet the resulting knowledge--resolved dependencies, repair strategies--stays trapped in a single conversation, unavailable to future agents. We therefore formulate repository bootstrapping as a reusable startup knowledge problem and introduce BootstrapAgent, a multi-agent framework that distills the heuristics discovered during bootstrap exploration into a persistent, verifiable, agent-consumable .bootstrap contract. Through evidence extraction, structured planning, deterministic Docker-based verification, and trace-driven repair, BootstrapAgent generates a contract covering environment setup, diagnostic checks, minimal verification, and accumulated repair knowledge. We further propose warm repair with clean replay to accelerate iterative debugging without sacrificing cold-start reproducibility, and a delta repair with sanity check to prevent reward hacking. Experiments on three benchmarks show that BootstrapAgent achieves a 92.9% success rate, outperforming the baseline by over 10% while reducing downstream agent token usage by 25.9% and build time by 22.3%. Our code is available at https://github.com/Vossera/BootstrapAgent.

PaperPDFCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.15815")

Code

Syntology Ran 20 of 24 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 16 ran · our draft was wrong; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 24 samples from 1 repository, 20 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Vossera/BootstrapAgent found in paper text by Syntology 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

24 samples harvested; 20 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
16ran · our draft was wrong
1ran
4unverified

Licence: 0 of the 24 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 Vossera/BootstrapAgent. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

EvidenceItem Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran MIT (permissive) · 2c63050a6b28631b · report
_detect_languages Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 17766fa700585c32 · report
_detect_package_managers Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 1e2e01a15582a427 · report
_evidence_for_file Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 5b96631b70572a72 · report
_excerpt Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · aa202a134a2de828 · report
_find_important_files Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 66e2f3cef95464e4 · report
_important_file_sort_key Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 5d1422bfe208145d · report
_is_ignored Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · violated contract MIT (permissive) · f4450562f8396e42 · report
_is_important_file Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · violated contract MIT (permissive) · 1a19b3d25a443477 · report
_named_dirs Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · fec2a1d438f829ec · report
_native_build_files Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · f7815c791d6ec045 · report
_project_structure_evidence Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · e148f52037b19165 · report
_python_package_dirs Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · honoured contract MIT (permissive) · b0159018982e496a · report
_read_text Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · f79d98f678f53d6f · report
_readme_excerpt Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 48a25328f4d98e2d · report
_source_for_path Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · c1fc08c21c27b547 · report
_summarize_file Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · af0606086c956376 · report
_targeted_lines Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 33c609f01155443a · report
_toml_array_values Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c963ebcb82515f0a · report
_toml_value Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 10925c3b37574741 · report
CommandSource Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology unverified MIT (permissive) · 37b3c8242b5d5a70 · report
DiscoveryReport Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology unverified MIT (permissive) · 3f97b0deb47a9456 · report
_emit Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology unverified MIT (permissive) · 1f99aeaa182c5ac8 · report
discover_repo Vossera/BootstrapAgent/code/src/rethink/discovery.py found in paper text by Syntology unverified MIT (permissive) · 76c3664e375bd6f7 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.15815, was issued in May 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