Pass the Gate Before Launch: Designing an Offline Evaluation System for Logistics Agents
Before a release, the team ran through "track my package, change the address, file a claim"—everything went smoothly, so it shipped. Three days later, production blew up: a user casually asked "is my package stuck somewhere" and the intent went unrecognized; the address-change API timed out and the agent, without retrying, replied "modified successfully"; one test order triggered a duplicate claim. Demos only ever test the happy path, while the real long tail of logistics support is full of colloquial phrasing, stacked intents, API timeouts, and state conflicts—without an offline evaluation system, an agent's "ready to launch" only means "never tested".
This post is part of the "AI Customer Service Product and Engineering Practices" experience-sharing series, drawn from a practice review of an AI customer service product at a leading logistics company. In this post I want to share how to build an offline evaluation system for a logistics AI agent — test sets covering intent recognition, task planning, tool invocation, execution correctness, and exception recovery, plus verification of the model's generalization in complex logistics scenarios. This is the watershed between an agent that "can demo" and one that "can launch".
