Shopify
Shopify’s Sidekick AI commerce assistant uses a frontier model for merchant interaction and hands off specialized tasks to post-trained open models. For the GraphQL subagent, they post-trained NVIDIA Nemotron 3.5 Lightning, which scored higher than the frontier model on their judge, responded 7x faster, and cost 90% less to serve. The Model Optimization Flywheel defines quality with an LLM judge tuned via GEPA and ACE optimizers, improves the frontier agent through an autoresearch loop, selects an open model like Nemotron, and optimizes inference using NVIDIA AIPerf and TensorRT-LLM. Self-healing turns failed production conversations into training examples; over 86 nightly runs it repaired 69% of failures, and human annotators correct the rest. After six flywheel loops and 61,000 healed examples, the post-trained model’s judge score rose from 37.7 to 74.5, surpassing the frontier model’s 73, while serving cost dropped 90% and median response time fell from 6.50s to 0.87s.