LLM4FL uses three AI agents to investigate a software failure. One divides and prioritizes methods so they fit within the model's context, another follows the program's interprocedural call graph—the links between methods—to retrieve relevant code and explain the failure, and a third reviews and re-ranks the candidates through repeated reasoning.

In tests on the Defects4J V2.0.0 benchmark, LLM4FL reported a 14.5% higher Top-1 accuracy than AutoFL and a 4.58% higher accuracy than SoapFL. Top-1 accuracy measures how often the actual faulty method appears first in the ranking.