The emergence of AI has revolutionized the way we approach software testing. However, although AI-powered approaches show promising inventions in vulnerability detection, they face certain challenges, such as performance drop with code complexity, difficulty in adapting specific development environments or in meeting industry-specific requirements (e.g. specific to the medical, energy, or financial sectors).
Furthermore, ‘traditional’ automated testing approaches still face certain difficulties that persist despite a 5-decades experience in this field. Fuzzer engines, which are based on mutation techniques, tend to generate redundant inputs and have difficulties entering code blocks with unlikely entering conditions. Symbolic execution engines, which are based on code analysis, still face scalability issues for large or complex source code.
Since each approach category has specific qualities and weaknesses, combining them will help optimize test automation. For example, this has been confirmed by the concolic approach, which combines fuzzing and symbolic execution. Similarly, the use of AI approaches will yield certain relevant findings that traditional techniques could not produce.
In the framework of the AI4SWENG project, we propose to design a test automation tool (TAT) in the form of an integrated pipeline capable of optimising automated software testing by combining traditional approaches – including fuzzing and symbolic execution – with AI based approaches using large language models (LLMs). The TAT is therefore a mix of the three following approaches:
- symbolic execution, based on software code analysis to determine the different branches made of code blocks and execution paths.
- fuzzing, based on large scale testing applied to seeds generated from existing seeds through permutations.
- prompt engineering, based on interactions with LLMs tuned for automatic testing, code improvement, and test case redundancy detections.
As part of the AI4SWENG suite, the TAT will be invoked to conduct comprehensive testing campaigns on the software generated. It will receive inputs related to the software generated (requirements, code, relevant arguments, and testing preferences) and will return a report containing the test coverage and execution results, as well as executable test cases, detected bugs and suggestions for improvement.
As shown in figure 1, the TAT high-level design consists of four subcomponents: the test case scheduler, which coordinates other subcomponents, and three “executive” subcomponents, each of which generates test findings using one of the three approaches mentioned above.
As depicted in figure 2, the TAT implementation uses a REST server to communicate with the other AI4SWENG components. The “upper” layer uses a Multi-Agent System in which each TAT sub-component is managed by one agent: the orchestrator agent, which coordinates all subtasks, and the “executive agents” will perform finding subtasks in an autonomous manner. The main principle is that the executive agents will work collaboratively, sharing all test findings in a shared environment: one agent can add new findings which can then be viewed and supplemented by the other agents. By sharing their latest findings, each agent could improve its efficiency, which will increase testing coverage during a given treatment period. Test coverage could also be increased by parallelizing the agents’ tasks through multithreading.
At a lower level, each agent will interact with the appropriate tools to generate new findings: the fuzzing agent will interact with the appropriate fuzzing engine based on the code type (Atheris for Python and AFL++ for C/C++) while the symbolic execution agent will interact with the appropriate symbolic execution engine (Crosshair for Python, Klee for C/C++).
The AI-powered agents interact with an external LLM, which insights will provide improvement suggestions and additional findings.
To date, the design foundations are in place, and we are defining the interaction with the different tools. The TAT implementation is also underway: we have integrated the REST API (based on Fast API), the agents dedicated to fuzzing and symbolic execution tasks, as well as the corresponding tools for processing Python code (Atheris and Crosshair). A system for backing up reports and logs is also in place.
As a result, we can run a demonstration version in standalone mode and present a live treatment done on python base examples extracted from test data.

