Inquest agent locates bug-causing code from production logs
A staged agent built on a 27B open-weights model ranks files, modules and functions likely to contain a fault, using only issue reports and pasted logs.
In plain words
When software breaks in production, engineers get logs that show where the failure appeared, not where it started. Inquest is a tool that reads the report and logs, then ranks which files, modules and functions the fix should change. It uses a freely available 27B model, with fixed code steps guiding the model's few decisions.
What was announced
The authors, writing in an arXiv abstract, say that in 49% of the real reports they studied, the log text names none of the files the eventual fix changed. Their benchmark draws on two public datasets and 27 open-source projects including Apache, Red Hat, MongoDB, MariaDB, Qt and Sakai, holding 38,001 resolved issue reports with pasted logs, the code as it existed while the bug was live, and the files the fix touched. Inquest first gathers evidence, including files fixed in similar past issues resolved before the report was filed; the model then makes three bounded decisions: which files to open, each file's role in the failure, and how to rank them.
On 26,544 evaluation reports, the authors report Inquest ranks a changed file first 68.6% of the time and in the top five 85.9%, names the correct module 90.2%, and ranks a changed function first 53.8%. On reports naming no faulty file, it reaches 52.8% and 73.6%. A free agent loop with the same model matched file-finding but named faulty functions 14 points less often. Against the authors' reimplementations of two published agents, it led by 7 and 20 points of top-1 accuracy on a 1,000-report sample, and by 6 points over the same model used as a re-ranker. The benchmark, both systems and run transcripts are released.
What it does not show
- Evidence is limited to the paper's own abstract; the benchmark and results are not independently confirmed, and comparisons rest on the authors' reimplementations of competing agents.
For security and IT teams
- Scope
- The released benchmark covers 38,001 resolved issue reports from 27 open-source projects, with results reported on 26,544 evaluation reports.
Sources
Source-support review completed 28 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 28 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.