Free Training Labels Hiding in Chat Logs: A New Approach to Mining Agent Training Samples

Use users' @Agent behavior in chat logs to generate training labels at zero cost.
The article introduces a low-cost method for building AI Agent training data from chat history. The core observation is: the user first sends a requirement message and then @ mentions a certain Agent, which implies that the original Agent did not meet the need and the mentioned Agent is the expected responder. When constructing samples, the first message is used as input and the mentioned Agent as the target label, which can be directly used for training. This method uses user behavior for automatic annotation and combines both negative feedback (the original Agent failed) and positive feedback (the target Agent was selected), reflecting true intent better than clicks or dwell time. The article also points out its boundaries, such as mistaken mentions and multi-Agent competition, which are not discussed, but emphasizes that the annotation value of chat logs is worth trying for teams.
When building training data for AI Agents, the most expensive part is often not compute power but high-quality annotation. However, one technical sharer has proposed a clever idea: your chat logs may already contain ready-made training labels.
The Overlooked Signal: When Users Actively @ an Agent

The sharer describes a specific pattern for identifying training samples. In a conversation instance containing two messages, the first message is the user's actual requirement content, and the second message contains a mention of a certain Agent.
This scenario is not uncommon in reality: after a user sends a request, the Agent that should have responded does not reply, so the user turns to @ another Agent, or points to a specific Agent in a subsequent message. This seemingly ordinary interaction actually contains a very strong annotation signal—the user tells you through action which Agent is the responder they expect.

How to Turn Conversations into Training Samples

Based on this observation, the sharer provides a sample construction method: keep the first message as the input content, set the Agent mentioned in the second message as the target agent, and this pair of data directly constitutes a training sample.

The brilliance of this method lies in obtaining labels at zero cost. The user's behavior itself has already completed the annotation work; developers do not need to hire additional annotators, nor do they need to design complex annotation processes. Every "switch to another" in the chat history is a potential combination of negative feedback and positive feedback: the original Agent failed to meet the need, while the target Agent was identified by the user as the more suitable choice.
Target agent in a multi-Agent system refers to the specific Agent that the user expects to respond, usually identified through @ mentions or explicit specification. In training samples, the target agent serves as the label for the supervision signal and forms an (input, label) pair with the input message. This construction method is similar to a classification task in supervised learning, where the input is the user's need and the label is the Agent that should respond.
Why This Signal Deserves Attention
From the perspective of data quality, the behavior of a user actively mentioning a certain Agent reflects true intent better than simple clicks or dwell time. It carries clear selectivity—the user designates one among multiple possible responders, and this expression of preference is a scarce signal in recommendation systems and Agent routing training.
Of course, this method also has its boundaries. The material does not discuss how to handle complex situations such as mistaken mentions, multi-Agent competition, or interference from user emotions. But as an idea for "panning for gold" from existing data, it reminds us that the source of training data is not necessarily an annotation platform; it may also be in the conversation logs generated every day by the product. For teams building Agent systems, re-examining the annotation value of chat history may be a low-cost path worth trying.
Implicit feedback in recommendation systems refers to preference signals inferred not directly from user ratings or annotations, but from user behavior (such as clicks, dwell time, skips, and switches). The behavior of a user actively @ mentioning another Agent is strong implicit feedback because it requires additional operational cost and reflects true intent better than passive behavior. In Agent routing training, such signals can be used to learn matching strategies between users and Agents.
One-line Summary
Use the behavior of users @ mentioning Agents in chat logs to generate training labels at zero cost.
Paragraph Summary
The article introduces a low-cost method for building AI Agent training data from chat history. The core observation is: the user first sends a requirement message and then @ mentions a certain Agent, which implies that the original Agent did not meet the need and the mentioned Agent is the expected responder. When constructing samples, the first message is used as input and the mentioned Agent as the target label, which can be directly used for training. This method uses user behavior for automatic annotation and combines both negative feedback (the original Agent failed) and positive feedback (the target Agent was selected), reflecting true intent better than clicks or dwell time. The article also points out its boundaries, such as mistaken mentions and multi-Agent competition, which are not discussed, but emphasizes that the annotation value of chat logs is worth trying for teams.
Related articles

2026 Top 10 AI Code Review Tools Tested and Ranked: CodeRabbit Takes the Crown
Full 2026 ranking of 10 AI code review tools tested: CodeRabbit tops the list with deep context understanding, Snyk Code focuses on security, and GitHub Copilot Code Review wins on ecosystem integration. Includes positioning analysis and scenario-based selection advice.

athletedata MCP: Connect 40+ Sports & Health Data Sources to Claude and ChatGPT
athletedata MCP connects Garmin, WHOOP, Oura and 40+ sports health apps to Claude and ChatGPT, enabling natural-language queries of training load, HRV, VO2max, and sending generated training plans to your watch.

hiCreator: One Link, and AI Handles the Entire Influencer Marketing Workflow
hiCreator is an AI Agent influencer marketing tool: input a product link to discover creators across Instagram, TikTok, YouTube, and X, handle outreach and negotiation, and complete contracts and payments. Available on web, Chrome extension, and AI coding environments like Claude Code.