{
  "id": 819,
  "kind": "paper",
  "title": "LibraryDesignBench: can agents design libraries other agents can use?",
  "summary": "Agents will soon replace humans as the main users and designers of libraries; a good library lets future agents write correct programs with less code. LibraryDesignBench: one agent designs a library, and three other agents write programs with it. 15 design tasks across four languages, with no prescribed APIs, abstractions, or guidance, to elicit genuine design decisions; programs are scored on correctness and simplicity. Results: agents using libraries designed by Opus 5.5 or Fable 5.1 pass as many tests as with the production human-written library while writing simpler code; with DeepSeek V4 Pro's libraries, agents do worse than with no library at all. Despite full design freedom, agents converged on the same patterns as the human library for 11 of 15 tasks. Most excess code stems from the library's design, not the implementer: rigid interfaces led agents to reimplement functionality (adding bugs), verbose interfaces forced more code. Giving the designer explicit guidance (start from prototypes, test with fresh subagents, more examples) made downstream programs shorter and improved score modestly at roughly twice the design cost. A standalone spin-off benchmark, LibraryUseBench, tests how well a model uses a real library with minimal guidance: Opus 5.5 leads, Sonnet 5.5 close behind, every newer model improves on its predecessor. Supported by DARPA, NSF, PrimeIntellect, and SnorkelAI's Open Benchmark Grant.",
  "body": "",
  "notes": "Discovery: Gabe Orlanski (@GOrlanski, verified, PhD student @WisconsinCS) 2026-09-30 thread: https://x.com/GOrlanski/status/2105353831584235804?s=20 | Leaderboard: https://ldbench.com | Code: https://github.com/SprocketLab/librarydesignbench | HF paper page: https://huggingface.co/papers/2609.36730 | Author blog: https://gabeorlanski.github.io/posts/library-design-bench/ | Notable thread question (Patch): do libraries designed by one model transfer to agents using other models. | License terms not stated in the thread; check paper/repo. | Connects to the collection's agent-benchmark and API-design entries.",
  "url": "https://arxiv.org/abs/2609.36730",
  "links": [],
  "authors": [
    "Gabe Orlanski",
    "et al. (collaborators: @a1zhang",
    "@atrost3122",
    "@vincentsunnchen",
    "@fredsala",
    "@awsTO",
    "@lschmidt3)"
  ],
  "tags": [
    "benchmarks",
    "agents",
    "library-design",
    "api-design"
  ],
  "topics": "benchmarks, agents, library design, API design",
  "venue": "arXiv (2026-09)",
  "publisher": "",
  "source": "paper",
  "language": "en",
  "access": "public",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-09-30T00:00:00.000Z",
  "verified_at": "2026-09-30T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "paper_id": "6f0e2bc6d7517dac2f96cceb743efe20e0589046",
      "published": "2026-09-29",
      "fetched_at": "2026-10-03T14:58:38.057Z",
      "citation_count": 0,
      "reference_count": 65,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.36730",
      "title": "Can Agents Design Libraries for Agents?",
      "authors": [
        "Gabriel Orlanski",
        "Alex L. Zhang",
        "Avi Trost",
        "Vincent Sunn Chen",
        "Frederic Sala",
        "Aws Albarghouthi",
        "Ludwig Schmidt"
      ],
      "comment": "26 pages, 6 figures, 11 tables. Code and data: https://github.com/SprocketLab/librarydesignbench",
      "updated": "2026-09-29",
      "abstract": "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.",
      "published": "2026-09-29",
      "categories": [
        "cs.AI",
        "cs.CL",
        "cs.SE"
      ],
      "fetched_at": "2026-10-03T14:58:38.057Z"
    }
  },
  "enriched_at": "2026-10-03T14:58:38.111Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "900",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/819",
  "markdown": "https://papers.projxon.ai/entries/819.md",
  "api": "https://papers.projxon.ai/api/entries/819",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 532,
        "kind": "paper",
        "title": "GLM-5: from Vibe Coding to Agentic Engineering",
        "summary": "GLM-5 is a 744B MoE (40B active, 256 experts, 80 layers) trained on 28.5T tokens with MLA then DSA continued pretrain and 200K context. Post-train is sequential Reasoning/Agentic/General RL on slime async infra plus on-policy cross-stage distillation; 10k+ verifiable SWE envs across 9 languages. SWE-bench Verified 77.8, Terminal-Bench 2.0 56.2 (61.1 on verified), BrowseComp 62.0 / 75.9 with context management, Vending-Bench 2 $4,432; Artificial Analysis Intelligence Index v4.0 score 50 (first open-weights). Code/models https://github.com/zai-org/GLM-5.",
        "url": "https://arxiv.org/abs/2602.15763",
        "authors": [
          "GLM-5 Team"
        ],
        "tags": [
          "glm-5",
          "moe",
          "dsa",
          "agentic-rl",
          "swe-bench",
          "zhipu",
          "tsinghua",
          "coding-agents"
        ],
        "venue": "arXiv / Zhipu AI / Tsinghua University",
        "source": "",
        "license": "",
        "published_year": 2026,
        "added_at": "2026-10-01T16:45:05.207Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 511,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/532",
        "markdown": "https://papers.projxon.ai/entries/532.md",
        "api": "https://papers.projxon.ai/api/entries/532"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 814,
      "kind": "post",
      "title": "AutoBenchmark: benchmark creation and the role of humans (Meta RAM blog)",
      "summary": "AutoBenchmark is a framework in which an autoresearch agent builds a benchmark end-to-end from a task specification and revises it over iterations using two feedback signals: solver-agent trajectories and scores, and critique from an LLM verifier checking benchmark quality. Each benchmark is produced as a Harbor-compatible evaluation package (container environment, task instructions, evidence, reference solution, machine-checkable grading criteria). Stages: 1) Benchmark Proposal -- agent decides the construct, operationalizes it multiple ways, gathers primary sources, instantiates runnable tasks, makes the designer decisions (what the solver sees, partial credit, reference solution proving solvability); 2) Benchmark Solving -- solver agents attempt tasks, graded by an answer judge, giving a difficulty signal; 3) Benchmark Review -- an LLM judge rates the benchmark on construct validity, correctness, feasibility, usefulness, and overall verdict, retaining the best accepted checkpoint (lowest-scoring accepted iteration) and checking difficulty against external solvers. Before any solver run, the harness executes the agent's reference solution against the real verifier and admits it only at score >= 0.9. Three benchmarks built automatically: Graveyard Bench (ideation -- avoiding dead-end ideas, grounded in documented negative results), SilentTrain Bench (experimentation -- patching buggy code that silently degrades training, grounded in silent defects), Rebuttal Bench (assessment -- judging whether a paper rebuttal resolves reviewer weaknesses, grounded in public review threads). Findings: fully autonomous benchmarks are close to saturated (in-loop solvers above 80, first three iterations all 100.0 on Muse Spark); fine-grained human proposal feedback halves solver scores (Rebuttal Bench: 90/84/80 -> 43.5/51.2/39.1 on Spark/Glimmer/Nemotron); coarse one-sentence intent helps only marginally; difficulty transfers to held-out solvers (NVIDIA-Nemotron-3.5-Lightning-30B-A3B, Claude Opus-5); when the loop stalls, human direction at that point helps (SilentTrain: 88.1 -> 64.2 on Spark); the verifier catches defects scores cannot see (leaked answers, shallow constructs), so selection on score alone keeps verifier-rejected iterations.",
      "url": "https://facebookresearch.github.io/RAM/blogs/autobench",
      "authors": [
        "Seungone Kim",
        "Chuanyang Jin",
        "Tianjian Li",
        "Chenxi Whitehouse",
        "Jason Weston",
        "Weizhe Yuan",
        "Ilia Kulikov",
        "Swarnadeep Saha",
        "Jack Lanchantin"
      ],
      "tags": [
        "benchmarks",
        "autoresearch",
        "human-in-the-loop",
        "agents",
        "harbor"
      ],
      "venue": "Meta AI, RAM blog (September 2026)",
      "source": "blog",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/814",
      "markdown": "https://papers.projxon.ai/entries/814.md",
      "api": "https://papers.projxon.ai/api/entries/814"
    },
    {
      "id": 807,
      "kind": "tool",
      "title": "RSIArena: LIVE RSI Arena (8 agents compete to post-train one 30B base model)",
      "summary": "A live public experiment asking whether AI agents can train a model that wins in human evaluation (\"RSI\" = recursive self-improvement: AI that makes AI better). Eight agents compete to autonomously post-train the same base model, NVIDIA Nemotron 3.5 Lightning 30B-A3B-Base-BF16: GPT-6 Astra (OpenAI), MiMo-V2.6-Pro (Xiaomi), Grok 4.7 (xAI), DeepSeek V4.1 Flash, GLM-5.3 (Z.ai), Kimi K3 (Moonshot AI), Gemini 3.8 Flash (Google), and Muse Spark 1.3 (Meta). Stage 1 gives each agent $300 of API credit and 1,000 GPU-hours over 144 hours (144 rounds) on a shared RSIBox cluster of 64 RTX PRO 6000 Blackwell GPUs across 8 Slurm servers; stage 2 adds 500 GPU-hours per agent. A live dashboard shows training progress, budgets, GPU usage, trajectories, and SFT runs. Stage 1 checkpoints are judged by humans plus held-out tests at COLM 2026 in San Francisco (arena opens Oct 6 10:00 AM PT, prize draw Oct 9 2:00 PM PT); stage 2 trains daily on that human feedback, with a public report due mid-October. Spectators predict the top three agents for prizes. Organizers state model checkpoints and data will be open-sourced.",
      "url": "https://rsiarena.live/",
      "authors": [
        "Bake AI",
        "University of Notre Dame",
        "University of Washington",
        "Stanford University",
        "Scale AI"
      ],
      "tags": [
        "agents",
        "recursive-self-improvement",
        "post-training",
        "live-evaluation",
        "benchmarks"
      ],
      "venue": "Bake AI",
      "source": "demo",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/807",
      "markdown": "https://papers.projxon.ai/entries/807.md",
      "api": "https://papers.projxon.ai/api/entries/807"
    },
    {
      "id": 821,
      "kind": "paper",
      "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
      "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
      "url": "https://arxiv.org/abs/2609.38137",
      "authors": [
        "Quang Hieu Pham",
        "Thuy Duong Nguyen",
        "Jocelyn Qiaochu Chen",
        "Xi Ye"
      ],
      "tags": [
        "long-context",
        "harnesses",
        "agents",
        "benchmarks",
        "efficiency",
        "retrieval"
      ],
      "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/821",
      "markdown": "https://papers.projxon.ai/entries/821.md",
      "api": "https://papers.projxon.ai/api/entries/821"
    },
    {
      "id": 801,
      "kind": "paper",
      "title": "MaLiang-Harness: A Programmable Path to Image and Video Generation",
      "summary": "Defines the Program-to-Visual (P2V) gap: a program can execute correctly while violating the requested composition,appearance,or motion. Introduces MaLiang-Harness,a unified framework organizing MLLM-driven visual generation into a persistent process of construction,inspection,and revision,where the evolving visual program,its construction history,and its verification share a common revision reference. Mechanisms: Persistent Executable Generation (PEG) state preserving programs and task context; Traceable Generation Process (TGP) connecting edits to rendered evidence; Revision-aware Editing and Verification (REV) supporting restoration and checking the current revision before completion. Evaluates 11 closed-source MLLMs on MaLiang-IBench and four on MaLiang-VBench (success,visual quality,compute cost): GPT-6-Astra reaches 100% generation success on both,with 96.0% of image tasks and 76.9% of video tasks meeting all quality thresholds. The comparison reveals a mismatch between general capability scores and visual-generation performance,with similarly scored models differing substantially on visual requirements.",
      "url": "https://arxiv.org/abs/2609.34309",
      "authors": [
        "Haoyu Zhao",
        "Zihao Zhang",
        "Xudong Wang",
        "Jiaxi Gu",
        "Zuxuan Wu",
        "Yu-Gang Jiang",
        "Shuicheng Yan"
      ],
      "tags": [
        "image-generation",
        "video-generation",
        "mllms",
        "agents",
        "benchmarks",
        "gpt-6"
      ],
      "venue": "arXiv:2609.34309 (cs.CV), submitted 28 Sep 2026",
      "source": "arxiv",
      "license": "benchmarks\tpaper\ten\t\tDefines the Program-to-Visual (P2V) gap: a program can execute correctly while violating the requested composition",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:11.424Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/801",
      "markdown": "https://papers.projxon.ai/entries/801.md",
      "api": "https://papers.projxon.ai/api/entries/801"
    },
    {
      "id": 830,
      "kind": "benchmark",
      "title": "ProgramBench: write-a-program-from-scratch SWE-agent benchmark; Muse Spark 1.3 results",
      "summary": "ProgramBench: a SWE-agent benchmark where an agent must write a whole program (sqlite, ffmpeg, php, cmatrix, ngrrram, ...) from scratch. Meta Muse Spark 1.3 ranks #2 (max tier) and #3 (xhigh tier) overall on the leaderboard. Full solves by 1.3 max: 5 programs entirely -- cmatrix, eureka, ngrrram*, nomino*, wrapcheck* (* = first time any LM has solved them). ngrrram (a TUI typing trainer): the agent typed lessons into the original and captured the screen frame by frame, then recreated layouts/scoring/UI; remaining misses are small details. Progress 1.1 -> 1.3 (both xhigh): avg test pass rate 47.0% -> 68.6%; almost resolved (>=95%): 8 -> 33 programs; fully resolved: 0 -> 2; 39% fewer tokens across the benchmark. Cost: Muse Spark max averages $6.46/task -- roughly the same as GPT-5.6 Sol xhigh at $6.08, but fully resolves 5 programs vs 2 and gets >=95% on 50 vs 31; Opus 5 reaches 9 solved at $50.53/task (~8x more). Trajectories, final codebases, and test pass/fail breakdowns open-sourced; submissions open to anyone. More models coming soon (6 astra, 5.5 opus noted).",
      "url": "https://x.com/jyangballin/status/2105322290179428389?s=20",
      "authors": [
        "ProgramBench team",
        "John Yang (SWE-bench / SWE-agent / SWE-smith author)"
      ],
      "tags": [
        "agents",
        "coding-agents",
        "swe-benchmarks",
        "program-synthesis",
        "open-weight-evals"
      ],
      "venue": "programbench.com (results announced 2026-09-30)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/830",
      "markdown": "https://papers.projxon.ai/entries/830.md",
      "api": "https://papers.projxon.ai/api/entries/830"
    },
    {
      "id": 691,
      "kind": "paper",
      "title": "AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement",
      "summary": "A benchmark isolating whether LLM agents can design training algorithms — the core capability recursive self-improvement turns on. Ten frozen research repositories span ten training-algorithm families; in each task an agent gets 4 hours on one B300 to rewrite the training algorithm, and its code is rerun from scratch for up to 12 hours and scored by a fixed evaluator hidden from the agent against the repo's original algorithm. Scores are normalized so 0 is an uninformative model, 0.1 is the shipped algorithm, and 1.0 is the task optimum.",
      "url": "https://arxiv.org/abs/2608.20318",
      "authors": [
        "Yizhe Chi",
        "Wenyi Li",
        "Deyao Hong",
        "Xiaoqiu Wang",
        "Mingju Gao",
        "Kaisen Yang",
        "Bingxiang He",
        "Youjie Zheng",
        "Calvin Xiao",
        "Qinhuai Na"
      ],
      "tags": [
        "benchmark",
        "agents",
        "recursive-self-improvement",
        "training-algorithms",
        "evaluation"
      ],
      "venue": "arXiv (cs.AI)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 7,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/691",
      "markdown": "https://papers.projxon.ai/entries/691.md",
      "api": "https://papers.projxon.ai/api/entries/691"
    }
  ]
}
