mlsanityData to 7 Oct 2026

From Tool to Teammate: LLM Coding Agents as Collaborative Partners for Behavioral Labeling in Educational Dialogue Analysis

arXiv 2603.27440 ↗First posted 28 Mar 2026cs.HCcited by 0

On the map: LLM agents and tool use → Educational agents and math problem solving

Abstract (arXiv)

Behavioral analysis of tutoring dialogues is essential for understanding student learning, yet manual coding remains a bottleneck. We present a methodology where LLM coding agents autonomously improve the prompts used by LLM classifiers to label educational dialogues. In each iteration, a coding agent runs the classifier against human-labeled validation data, analyzes disagreements, and proposes theory-grounded prompt modifications for researcher review. Applying this approach to 659 AI tutoring sessions across four experiments with three agents and three classifiers, 4-fold cross-validation on held-out data confirmed genuine improvement: the best agent achieved test kappa=0.78 (SD=0.08), matching human inter-rater reliability (kappa=0.78), at a cost of approximately 5--8 per agent. While development-set performance reached kappa=0.91--0.93, the cross-validated results represent our primary generalization claim. The iterative process also surfaced an undocumented labeling pattern: human coders consistently treated expressions of confusion as engagement rather than disengagement. Continued iteration beyond the optimum led to regression, underscoring the need for held-out validation. We release all prompts, iteration logs, and data.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 9 of its 22 references that are in the map. First posted on arXiv 28 Mar 2026.

Builds on

9 of 22 references.

References · 9

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  3. 2023Large Language Models as Optimizerscited by 830
  4. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  5. 2022Explanations Can Reduce Overreliance on AI Systems During Decision-Makingcited by 111
  6. 2024Enhancing LLM-Based Feedback: Insights from Intelligent Tutoring Systems and the Learning Sciencescited by 37
  7. 2024A LLM-Powered Automatic Grading Framework with Human-Level Guidelines Optimizationcited by 16
  8. 2024Evaluating and Optimizing Educational Content with Large Language Model Judgmentscited by 11
  9. 2024Analyzing Large Language Models for Classroom Discussion Assessmentcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutors
  2. 2026Enhancing LLM Problem Solving via Tutor-Student Multi-Agent Interaction
  3. 2025EducationQ: Evaluating LLMs' Teaching Capabilities Through Multi-Agent Dialogue Framework
  4. 2025IntelliCode: A Multi-Agent LLM Tutoring System with Centralized Learner Modeling
  5. 2026How AI Coders Discuss, Disagree, and Reach Consensus: Challenges and Opportunities for LLM-Based Qualitative Coding
  6. 2024Enhanced Classroom Dialogue Sequences Analysis with a Hybrid AI Agent: Merging Expert Rule-Base with Large Language Models
  7. 2026Disagreement as Data: Reasoning Trace Analytics in Multi-Agent Systems
  8. 2025Temperature and Persona Shape LLM Agent Consensus With Minimal Accuracy Gains in Qualitative Coding