HPCAgentTester: A Multi-Agent LLM Approach for Enhanced HPC Unit Test Generation
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Unit testing in High-Performance Computing (HPC) is critical but challenged by parallelism, complex algorithms, and diverse hardware. Traditional methods often fail to address non-deterministic behavior and synchronization issues in HPC applications. This paper introduces HPCAgentTester, a novel multi-agent Large Language Model (LLM) framework designed to automate and enhance unit test generation for HPC software utilizing OpenMP and MPI. HPCAgentTester employs a unique collaborative workflow where specialized LLM agents (Recipe Agent and Test Agent) iteratively generate and refine test cases through a critique loop. This architecture enables the generation of context-aware unit tests that specifically target parallel execution constructs, complex communication patterns, and hierarchical parallelism. We demonstrate HPCAgentTester's ability to produce compilable and functionally correct tests for OpenMP and MPI primitives, effectively identifying subtle bugs that are often missed by conventional techniques. Our evaluation shows that HPCAgentTester significantly improves test compilation rates and correctness compared to standalone LLMs, offering a more robust and scalable solution for ensuring the reliability of parallel software systems.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 29 references that are in the map. First posted on arXiv 13 Nov 2025.
Builds on
6 of 29 references.
References · 6
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2024Performance-Aligned LLMs for Generating Fast Codecited by 21
- 2023LLM4VV: Developing LLM-Driven Testsuite for Compiler Validationcited by 15
- 2024Harnessing the Power of LLMs: Automating Unit Test Generation for High-Performance Computingcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Exploring the Role of LLMs in HPC Programming: A Survey
- 2026ConCovUp: Effective Agent-Based Test Driver Generation for Concurrency Testing
- 2025MARCO: Multi-Agent Code Optimization with Real-Time Knowledge Integration for High-Performance Computing
- 2026Multi-Agent LLM Collaboration for Unit Test Generation via Human-Testing-Inspired Workflows
- 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wild
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories
- 2025UnitTenX: Generating Tests for Legacy Packages with AI Agents Powered by Formal Verification
- 2025AutoFSM: A Multi-agent Framework for FSM Code Generation with IR and SystemC-Based Testing