Answering Developer Questions with Annotated Agent-Discovered Program Traces

Identity & Avatars in XRHuman-LLM CollaborationComputational Methods in HCIGame Developers & DesignersSoftware Engineers & DevelopersAI/ML Researchers & Engineers

Developers often find themselves asking questions that cut across a code base. Answering these questions requires gathering relevant facts and tracing flow through the program. Yet today’s tools offer limited support for answering these questions. Developers can either use imprecise AI tools that ignore flow or flow-tracing tools that impose a great number of choices. In this paper, we introduce a new kind of tool that answers questions better by bringing together elements of both AI and flow. We instantiate this idea in Trailblazer, a system underpinned by an AI agent that simulates an information forager, iteratively tracing program dependencies in search of answers. Then, Trailblazer packages information it found into an answer digest, which includes interactive, annotated traces of exploration. These traces can be stepped through to help developers orient to the code and find where the answer is distributed within it. In a lab study, Trailblazer helped participants answer questions more efficiently and gain greater familiarity with program flow than an AI question answering baseline. This shows how AI agents can leverage program flow to bring additional structure and clarity to its answers.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/uist/206857/2025

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3746059.3747652
At a Glance

Paper Snapshot

fact_check
dataset
Source
UIST
calendar_month
Year
2025
emoji_events
Award
No award tagged
group
Authors
4 authors
sell
Subtopics
Identity & Avatars in XR, Human-LLM Collaboration, Computational Methods in HCI
work
Professions
Game Developers & Designers, Software Engineers & Developers, AI/ML Researchers & Engineers
article
Content Status
Abstract only
hub
Related Papers
3 related papers