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
