Skip to content
View original post on X: LangChainOfficial
Published

LangChain finds agent traces are mostly tool output, not user messages

AILangChain says its AI Search reads each agent trajectory within a fixed token budget, since most behavior questions need only a small slice. In a check of 150 Open SWE coding agent conversations, the median run used 84K tokens.
LangChainVerified on XOfficial
@LangChain
View on X

Part of a thread · earlier post

AI Search reads each trajectory within a fixed token budget.

Most questions about behavior only need a small slice, and we checked that on 150 conversations from Open SWE, the coding agent our team uses every day.

✅ The median ran 84K tokens
✅ About 1.5K of that was the user’s messages and the agent’s final reply
✅ Roughly 3/4 was tool output: file reads, shell commands, test logs

https://www.langchain.com/blog/agent-traces-ai-search-langsmith

Source details

LangChain · x.comPublished · added here

Original title: AI Search reads each trajectory within a fixed token budget.