Lune

CHI2021Top-tier venue

Trade-offs for Substituting a Human with an Agent in a Pair Programming Context: The Good, the Bad, and the Ugly

Sandeep Kaur Kuttal, Bali Ong, Kate Kwasny, Peter Robe

Abstract

Pair programming has a documented history of benefits, such as increased code quality, productivity, self-efficacy, knowledge transfer, and reduced gender gap. Research uncovered problems with pair programming related to scheduling, collocating, role imbalance, and power dynamics. We investigated the trade-offs of substituting a human with an agent to simultaneously provide benefits and alleviate obstacles in pair programming. We conducted gender-balanced studies with human-human pairs in a remote lab with 18 programmers and Wizard-of-Oz studies with 14 programmers, then analyzed results quantitatively and qualitatively. Our comparative analysis of the two studies showed no significant differences in productivity, code quality, and self-efficacy. Further, agents facilitated knowledge transfer; however, unlike humans, agents were unable to provide logical explanations or discussions. Human partners trusted and showed humility towards agents. Our results demonstrate that agents can act as effective pair programming partners and open the way towards new research on conversational agents for programming.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Discovering the Syntax and Strategies of Natural Language Programming with Generative Language ModelsEllen Jiang, Edwin Toh, Alejandra Molina, Kristen Olson et al.CHI 2022 · 76 citations
  2. Competent but Rigid: Identifying the Gap in Empowering AI to Participate Equally in Group Decision-MakingChengbo Zheng, Yuheng Wu, Chuhan Shi, Shuai Ma et al.CHI 2023 · 40 citations
  3. A Theory of Scientific Programming EfficacyElizaveta Pertseva, Melinda Chang, Ulia Zaman, Michael CoblenzICSE 2024 · 4 citations
  4. Why AI Agents Still Need You: Findings from Developer-Agent Collaborations in the WildAayush Kumar, Yasharth Bajpai, Sumit Gulwani, Gustavo Soares et al.ASE 2025 · 1 citation
  5. An Empirical Study of Knowledge Transfer in AI Pair ProgrammingAlisa Welter, Niklas Schneider, Tobias Dick, Kallistos Weis et al.ASE 2025

Related papers

  1. Pair programming conversations with agents vs. developers: challenges and opportunities for SE communityPeter Robe, Sandeep Kaur Kuttal, Jake AuBuchon, Jacob C. HartFSE 2022 · 17 citations
  2. PairCoder: Pair Programming-Inspired Two-Agent Collaboration for Code GenerationJunhao Chen, Xiang Li, Yibin Xu, Yuehan Cui et al.ACL Findings 2026 · 2 citations
  3. Explaining pair programming session dynamics from knowledge gapsFranz Zieris, Lutz PrecheltICSE 2020 · 13 citations
  4. A Pair Programming Framework for Code Generation via Multi-Plan Exploration and Feedback-Driven RefinementHuan Zhang, Wei Cheng, Yuhan Wu, Wei HuASE 2024 · 7 citations
  5. Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative LearningTaufiq Daryanto, Xiaohan Ding, Kaike Ping, Lance T. Wilhelm et al.CHI 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines