arXiv:2611.04466cs.HCNov 2026

Manuscript Offprint

arXiv:2611.04466

From Watching to Steering: Enabling Human-Coding Agent Collaboration through Execution Traces

Xiaoke Yan, Jiaying Lei, Danqing Shi, Zichen Wang, Nan Cao

Xiaoke Yan, Jiaying Lei, Danqing Shi, Zichen Wang, and Nan Cao

Figure

Fig. 1. VibeTrace enables a continuous human-coding agent collaboration loop. The user first assigns a coding task, after which the agent executes it while VibeTrace records and visualizes the execution trace. By inspecting the trace and step details, the user can observe and understand the agent's behavior, identify errors, and intervene by forking the execution and providing feedback. VibeTrace then distills successful human interventions into reusable skills and updates the skill pool, allowing the evolved agent to apply learned knowledge to subsequent tasks. This trace-feedback-skill loop transforms transient human interventions into persistent collaboration knowledge and supports continuous agent improvement. The source code is available at https://github.com/idvxlab/VibeTrace.

Abstract—Recent advances in large language models (LLMs) have enabled coding agents to autonomously perform complex software development tasks, yet their long-running execution remains difficult for users to inspect, understand, and steer. We present VibeTrace, an interactive trace visualization and intervention system for agentic programming built upon OpenCode. VibeTrace introduces a human-agent collaboration paradigm of Observe, Understand, Intervene, and Evolve. It (1) visualizes agent workflows as interactive execution traces for inspecting actions, intermediate states, and failures; (2) enables users to fork execution from prior steps and provide targeted corrections without restarting validated progress; and (3) distills traces and human feedback into reusable skills for continual agent evolution. On SWE-

bench Verified, distilled skills reduce input tokens by 23.0% and cost by 15.5%, while improving pass rate from 65.0% to 68.0%. User studies further demonstrate improved accuracy and efficiency over conventional log-based interaction.

1 INTRODUCTION

Recent advances in large language models (LLMs) have enabled a new generation of agentic coding systems, such as Claude Code [1], OpenAI Codex [2], and OpenCode [3]. By integrating LLMs with external tools, file systems, terminals, and execution environments, these systems can autonomously plan tasks, generate code, execute commands, debug failures, and iteratively refine solutions [4], [5]. As a result, coding agents have expanded developers' ability to accomplish complex software tasks through natural language interaction.

Despite these advances, coding agents largely follow an autonomous execution paradigm: users specify high-level goals while agents independently perform multi-step

  • Xiaoke Yan, Jiaying Lei, and Nan Cao are with the Intelligent Design & Innovation Lab, Tongji University, Shanghai, China. E-mail: {2433547, 2610237, nancao}@tongji.edu.cn.
  • Danqing Shi is with the Department of Computer Science, LTH, Lund University, Sweden. E-mail: danqing.shi@cs.lth.se
  • Zichen Wang is with the School of Mathematical Sciences, Tongji University, Shanghai, China. E-mail: sisyphusyzr@gmail.com.
  • Nan Cao is the corresponding author.

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

workflows. This improves efficiency, but shifts users from active problem solvers to passive observers. On complex tasks, developers must still verify the agent's direction, diagnose failures, and correct deviations [6]–[8]. Existing systems, however, expose mainly final outputs or linear interaction logs, offering limited support for inspection, diagnosis, and steering. Interaction is also append-only: users cannot re-enter execution at an earlier step, nor see the branch structure. Successful corrections and workflow adjustments are rarely captured as reusable knowledge, limiting improvement across tasks.

We conducted a formative study with 12 developers who regularly use Claude Code, Codex, Cursor, and OpenCode, identifying the following key for human—agent collaboration in coding tasks: Execution transparency: providing reliable traces that allow users to observe agent actions, decisions, and intermediate states; Failure understanding: revealing causal relationships between execution steps and outcomes to support effective diagnosis; Interactive intervention: enabling users to correct specific execution steps without restarting entire workflows; Experience reuse: transforming human interventions and execution traces into reusable knowledge artifacts, enabling coding agents to continuously improve through accumulated collaboration experiences.

To address these challenges, we present VibeTrace, an interactive trace-based system built upon OpenCode [3] that enables users to observe, understand, and steer coding agents while supporting their continual evolution. As illustrated in Fig. 1, VibeTrace establishes an iterative human-agent collaboration loop of Observe, Understand, Intervene, and Evolve through three key mechanisms: (1) structured trace visualization that makes agent execution processes and dependencies inspectable; (2) trace-level intervention that allows users to redirect execution from prior steps while preserving validated progress; and (3) online trace-to-skill distillation that transforms execution traces and human feedback into reusable skills for future tasks. We evaluate VibeTrace through benchmark experiments, a controlled user study, and expert interviews. Results on SWE-bench Verified [9] demonstrate improved task performance and reduced execution costs, while the controlled study shows that trace visualization improves execution understanding and error diagnosis compared to conventional logs. Expert interviews further highlight the system's usability in real-world coding tasks. The contributions are summarized as follows:

• We present VibeTrace, an interactive trace intervention system that instantiated a new human-agent collaboration paradigm from Observe to Understand, Intervene, and Evolve. Through execution visualization, trace-level intervention, and experience reuse, VibeTrace transforms coding-agent interaction from passive monitoring of autonomous execution into active steering and continual collaboration.

• We introduce a visualization-oriented trace interaction paradigm that makes agent execution processes observable and actionable. By representing agent workflows as structured execution traces, VibeTrace enables users to inspect agent trajectories, understand failures, and perform fine-grained interventions during execution rather than relying on post-hoc artifact modification.

• We propose a human-in-the-loop trace-to-skill distilla-

tion mechanism that incrementally transforms execution traces and human interventions into reusable collaboration knowledge. By capturing users' corrections, preferences, and problem-solving strategies, the mechanism enables coding agents to continuously adapt to individual workflows, improve task performance, and better align with user intentions over time.

References (39)