arXiv:2609.09519cs.ARSep 2026

Manuscript Offprint

arXiv:2609.09519

HLSFactory-Agent: Large-Scale Agentic HLS Dataset Construction from Academic and Open-Source Projects

Kaushik Chandana, Jay Imperatori, Tanmay Shukla, Justin Zhou, Stefan Abi-Karam, Callie Hao

Kaushik Chandana 1,∗^{1,*}, Jay Imperatori 1,∗^{1,*}, Tanmay Shukla 1,∗^{1,*}, Justin Zhou 1,∗^{1,*}, Stefan Abi-Karam 1,2^{1,2}, Callie Hao 1^{1}

1^{1}Georgia Institute of Technology, Atlanta, USA 2^{2}Georgia Tech Research Institute, Atlanta, USA

{kchandana6, jimperatori6, tshukla31, justin.zhou, stefanabikaram, callie.hao}@gatech.edu

Abstract—Building large, diverse datasets of high-level synthesis (HLS) designs beyond common community benchmarks remains an open challenge. This challenge is made urgent by the rise of deep learning and LLMs for hardware design, which demand such datasets to train QoR models and benchmark LLMs on HLS tasks. Despite ongoing efforts to broaden sources, dataset curation still depends on manual work; locating HLS designs across academic publications and open source, then extracting standalone designs from larger codebases. The process is error-prone and demands expert knowledge, iterative testing, and substantial per-repository engineering.

To address this, we present HLSFactory-Agent, an LLM agent that automates large-scale HLS dataset curation by extracting standalone designs from larger codebases. HLSFactory-Agent runs the open-source Pi agent framework inside Docker containers to build and evaluate each extracted design. This turnkey automation allows users to pass a GitHub link or code directory to HLSFactory-Agent and receive a folder of extracted HLS designs ready to be integrated into the HLSFactory dataset framework. Additionally, we provide open-source scripts to scrape and index papers from computer architecture, EDA, and FPGA conferences that possibly implement or use HLS designs, allowing for faster human discovery and curation of HLS designs for HLSFactory-Agent.

We report initial results from running HLSFactory-Agent across a small subset of our indexed repositories, demonstrating successful extraction of synthesizable designs from structured codebases.

We open source HLSFactory-Agent and indexing scripts at github.com/sharc-lab/hlsfactory-agent.

I. INTRODUCTION

High-level synthesis (HLS) enables domain-specific hardware experts to build flexible, high-performance hardware accelerators. Recent advances in deep learning and large language models have accelerated the HLS design workflow through quality-of-results prediction models, fast design space exploration tools, and LLM-based frameworks for iterative design and optimization. In parallel, compiler engineers have continuously improved HLS compilers to provide higher-level design abstractions and faster compilation.

These innovations depend critically on access to large and diverse HLS design datasets and benchmarks. While popular community benchmarks exist, they remain limited in diversity and size, prompting efforts to expand HLS design collections and build community dataset infrastructure. HLSFactory [3], our prior open-source framework, addresses this need by providing infrastructure to curate HLS designs and automatically generate synthesis and implementation data as complete packaged datasets for downstream research. Similarly, evaluating large language models and agentic coding tools for HLS requires robust benchmark collections. Our prior work, HLS-Eval [2], provides this infrastructure with baseline evaluations for HLS code generation and editing tasks. However, both HLSFactory and HLS-Eval face a common bottleneck: manually curating HLS designs from academic publications and open-source repositories is labor-intensive, error-prone, and requires substantial per-repository engineering effort.

To address this challenge, we present HLSFactory-Agent, an AI agent that automates large-scale HLS dataset curation by extracting standalone, synthesizable designs from unstructured academic and open-source repositories. Additionally, we provide open-source scripts to scrape and index HLS-related papers from major computer architecture, EDA, and FPGA conferences, enabling rapid discovery of candidate repositories for automated extraction.