Customer-Agent framework targets ultra-long shopping trajectories with tool-augmented agents
Researchers behind the ShopTrajQA benchmark propose an agent that stores customer histories as external files and retrieves them with code, sidestepping fixed context windows.
In plain words
A team introduced a benchmark called ShopTrajQA for testing how well large language models handle very long shopping histories, plus a new agent design to cope with them. Instead of forcing the whole history into the model's context window, the agent keeps records as outside files and queries them with tools like SQL. The authors report strong results on their benchmark and some generalization to other reasoning tasks.
What was announced
The work, described in an arXiv abstract, starts from a practical problem: shopping records such as searches, clicks and purchases can span years, producing trajectories too long for existing large language models to reason over reliably. The authors also note that prior benchmarks cover only short trajectories, while real-world data from large e-commerce platforms is rarely available because of privacy constraints. ShopTrajQA is built from real product information combined with simulated shopping trajectories, with variants reaching 32k and 64k tokens to test how models cope as context length grows.
Benchmarking frontier LLMs on the dataset revealed what the authors call critical performance gaps in long-trajectory reasoning. Their proposed Customer Agent Framework addresses this with a Reinforcement Learning with Verifiable Rewards training paradigm: trajectories are stored as external local files, and the agent is trained to retrieve and parse them autonomously through code-interpreter interactions such as SQL queries, bypassing the model's fixed in-context window. The reported results cover the authors' own benchmark and show generalization claims that have not been independently verified.
What it does not show
- The source is only the paper's abstract, so methods, dataset details and results cannot be verified in depth.
- The benchmark uses simulated shopping trajectories combined with real product information, not fully real customer histories.
- Performance and generalization claims come from the authors themselves and have not been independently confirmed.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.