AI
Multi-agent system automates end-to-end fuzzing for C/C++ libraries at scale
FuzzAgent deploys specialized AI agents to generate and evolve fuzzing campaigns without human intervention, uncovering bugs in real-world libraries more effectively than existing tools.
Researchers have developed FuzzAgent, an automated system that orchestrates multiple specialized agents to build and refine fuzzing campaigns for software libraries—a labor-intensive task typically requiring significant human expertise and project-specific customization.
Fuzzing, a technique that repeatedly tests software with varied inputs to find bugs, traditionally requires engineers to write harnesses that exercise library APIs in meaningful ways. While recent LLM-based tools have attempted to automate parts of this workflow, they treat execution signals as binary outcomes: a stalled campaign just stops, and crash traces don't clarify whether the bug lies in the library or in the harness itself.
A hierarchical approach to diagnosis and repair#
FuzzAgent improves on prior work by decomposing the fuzzing pipeline into specialized agents that collaborate on different aspects of the problem. The system performs hierarchical coverage diagnosis to pinpoint which code paths are blocking progress, narrowing down blockers from modules down to individual branches. Once identified, these obstacles inform the generation of new harnesses that account for API lifecycle requirements and dependencies.
The system also incorporates crash validation, recovering runtime object states to distinguish genuine library defects from harness mistakes—a distinction that earlier tools could not reliably make.
Real-world performance gains#
An evaluation across 20 C/C++ libraries demonstrates substantial improvements over established baselines. FuzzAgent reached 179,619 branches across the test set—exceeding OSS-Fuzz by 45.1%, PromptFuzz by 73.2%, ProteusFuzz by 87.7%, PromeFuzz by 92.1%, and OSS-Fuzz-Gen by 191.2%.
Beyond branch coverage, the system uncovered 102 previously unknown library bugs. Ninety of those findings have already been acknowledged or patched by upstream maintainers, validating the quality of FuzzAgent's discoveries. Notably, the entire end-to-end process for all 20 libraries ran without human intervention, at an average cost of $3.17 per library.
The research paper is available on arXiv.

