An AI-Powered Intelligent Software Testing Framework Using Autonomous Agents and Large Language Models

Authors

  • Vijay Kumar Gandham Life Sciences Enterprise Architect , USA. Author

DOI:

https://doi.org/10.63665/e41cnm24

Keywords:

Software Testing, Autonomous Agents, Large Language Models, Test Case Generation, Mutation Testing, Defect Prediction, Test Automation, Retrieval-Augmented Generation

Abstract

Software testing consumes a large share of development effort, yet most automated approaches still depend on fixed heuristics, hand-written oracles and brittle scripts. This paper proposes an AI-powered intelligent testing framework in which a team of autonomous agents, driven by a large language model (LLM), plans, generates, executes, analyses and repairs software tests in a closed feedback loop. A planner agent decomposes testing goals; a generation agent produces unit, API and user-interface tests from source code, requirements and retrieved project context; an execution agent runs the tests in a sandbox and collects coverage and mutation data; and an analysis agent classifies failures with a supervised machine-learning model and feeds coverage gaps and surviving mutants back into the next prompt. The framework is evaluated on a benchmark of open-source Java and Python projects against random, search-based and LLM-only baselines. The proposed system reaches 91.4% statement coverage, 85.6% branch coverage and a 79.8% mutation score, detects 93 of 100 seeded faults, and classifies defects with an F1-score of 0.907, while reducing test-generation time by 57% relative to random testing. The results indicate that coupling autonomous agents with LLM reasoning and execution feedback yields measurably stronger tests than either component alone.

Downloads

Published

2025-11-26

How to Cite

Vijay Kumar Gandham. (2025). An AI-Powered Intelligent Software Testing Framework Using Autonomous Agents and Large Language Models. International Journal of Artificial Intelligence and Computer Electronics, 1(1), 50-61. https://doi.org/10.63665/e41cnm24