Metraipolis › archive › dc_7066047d8de2
Can Agents Design Libraries for Agents? — arXiv:2609.36730
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.36730
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T16:22:55.603Z
- SHA-256 of the archived text
43edb158a170677b2cb331ba0a4c32a57e628c30059d5809eb34059dd4247f85- Stable URL of this page
https://metraipolis.com/documento/dc_7066047d8de2
How to cite
Can Agents Design Libraries for Agents? — arXiv:2609.36730 — arXiv (en), https://arxiv.org/abs/2609.36730 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7066047d8de2 (Metraipolis archive dc_7066047d8de2, sha256 43edb158a170677b2cb331ba0a4c32a57e628c30059d5809eb34059dd4247f85)
BibTeX
@misc{dc7066047d8de2,
title = {Can Agents Design Libraries for Agents? — arXiv:2609.36730},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.36730},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7066047d8de2; sha256 43edb158a170677b2cb331ba0a4c32a57e628c30059d5809eb34059dd4247f85},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.36730. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Agents increasingly build on code written by other agents, and they reimplement rather than reuse, growing the codebases later agents must work in. To measure how well agents design libraries for other agents, we introduce LibraryDesignBench, a two-phase benchmark in which an agent implements a full-featured library from a specification that defines required capabilities and potential use cases without prescribing the design. We evaluate the library through the correctness and simplicity of programs written by three user agents from different model families. The benchmark spans 242 expert-validated programming problems across 15 library-design tasks in four languages. On eleven of the fifteen tasks, agent designers reproduce the abstractions of the human-written production library. Downstream agents adopt agent- and human-written libraries alike but underuse them, reimplementing capabilities the library already provides. Our failure analysis finds that downstream agents write extra code mainly because agent-written libraries are rigid or hard to use, not because capabilities are missing. We also experiment with giving designers more prescriptive, agent-first guidance and having them test their library with subagents; this improves downstream scores and yields simpler programs. LibraryDesignBench provides both a testbed for evaluating library-design practices for agent users and an initial design baseline that improves downstream reuse. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.36730 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T15:54:53.530Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).