Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Super Library Agent: A New Framework for Joint Multi-App Code Generation and Maintenance

AI By Crimson AI Hugging Face Papers 1 September 2026 · 00:00 24 views
Share: X Telegram

Hugging Face researchers introduce Super Library Agent (SLA), a framework that reduces redundancy and structural erosion when LLM agents generate and maintain portfolios of related applications by extracting shared code into a reusable library.

Super Library Agent: A New Framework for Joint Multi-App Code Generation and Maintenance

Key points

Organizations often maintain portfolios of related applications that share substantial domain logic and interface patterns. As LLM coding agents become more prevalent, a naive application-by-application approach leads to duplicated code and structural erosion over time. Researchers from Hugging Face introduce the Super Library Agent (SLA) problem, where an agent sequentially generates N related applications while maintaining a shared library of reusable components.

The proposed framework addresses key failures of naive scaffolding: low extraction recall and fragile dependency migration. SLA uses candidate-guided extraction over code chunk summaries, pre-extraction codebase consolidation, and context-aware migration using extraction traces and call-graph information. This ensures that shared code is accurately identified and migrated without breaking application functionality.

In evaluations on WebGen-Bench and PaperBench, SLA significantly reduces redundancy and token footprint compared to zero-shot generation. Specifically, on WebGen-Bench, it achieves 38% less redundant code, 9% fewer lines, and 3.7x smaller patches when new requirements are introduced, all while maintaining accuracy. PaperBench shows similar trends with smaller margins.

The authors also discuss version-skew scenarios, where one app is pinned to an old API while another needs a breaking change. They acknowledge that their current framework does not handle selective API deprecation, leaving room for future work. The code and project page are publicly available.

Metric (WebGen-Bench)Improvement
Redundant code-38%
Lines of code-9%
Patch size3.7x smaller
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

8
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

8
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

9