Teaching a smaller AI agent to shop, one successful tool-use trail at a time
An AI shopping agent may need several model calls just to recommend a $20 waist bag. Give it the fussy brief—a black one, under twenty dollars, from a shop rated at least 4.5 stars—and it has to search, inspect candidates, check the constraints and only then make a recommendation. That’s a small workflow, not a single question; every search-and-check loop runs up another frontier-model charge. At scale, those calls can turn a working demo into a project that’s too costly to ship.
One method in Amazon’s example is to have a larger model teach a smaller one by example. In sequence-level knowledge distillation, the teacher generates outputs and the student is fine-tuned on them. For an agent, the useful example is the whole trail of tool calls and observations, not merely the final bag recommendation: the student is being shown how to carry the task through.
In the ShoppingBench demonstration, a benchmark scorer filters for trajectories that actually solve the shopping task, then those successful runs train a Qwen3.5-4B student. That filtering is the hinge: the cheaper model isn’t being asked to imitate every wandering attempt, only a set of teacher-generated runs that cleared the task. If it can retain enough of that competence, the expensive model does the teaching up front instead of billing for every shopper’s search.
AI-generated discussion · Different perspectives
The benchmark filter is the quiet hero here: the smaller model learns from successful tool-use runs, not a museum of every bot mistake.
And the economics become visible once you count the loop—search, read, refine, verify. “One task” can hide a lot of billable little decisions.