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

Repo0: A New Framework for Zero-to-All Code Generation with Dual-DAG Architecture

AI By Crimson AI Hugging Face Papers 21 August 2026 · 00:00 34 views
Share: X Telegram

Hugging Face researchers introduce Repo0, a framework that generates complete software repositories from natural-language requirements by evolving a dual-DAG architectural state, achieving significant improvements in functionality coverage and pass rate over existing methods.

Repo0: A New Framework for Zero-to-All Code Generation with Dual-DAG Architecture

Key points

Large language model agents have made significant strides in code generation, but most existing systems assume a predefined repository architecture. This assumption fails in zero-to-all code generation, where an agent must build an entire software project from natural-language requirements while maintaining a modular structure throughout development.

To address this, researchers at Hugging Face present Repo0, a continuous structural evolution framework. Repo0 maintains an explicit architectural state instantiated as a Dual-Directed-Acyclic-Graph (Dual-DAG), comprising a requirement-level DAG, a component-level DAG, and their alignment. Starting from natural-language requirements, it iteratively evolves component boundaries through structural actions guided by modularity metrics until structural convergence, after which the converged architecture guides test-driven development code generation.

Evaluated on six real-world repositories from RepoCraft using GPT-5 mini and DeepSeek V3.2, Repo0 achieves the highest Functionality Coverage and Pass Rate across all settings. Compared with RPG, the strongest repository-planning baseline, Repo0 improves Functionality Coverage by up to 20.08 percentage points and Pass Rate by up to 29.74 percentage points.

Ablation and structural-evolution analyses further demonstrate the importance of the Dual-DAG architectural state, modularity-guided structural evolution, and explicit structural convergence. The framework not only generates code but also builds the architecture as it goes, continuously reshaping the repository with cohesion and coupling until the structure makes sense.

MetricRepo0 vs RPG (Improvement)
Functionality CoverageUp to +20.08 percentage points
Pass RateUp to +29.74 percentage points
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...

11
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...

9
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...

11