Sidekick's continual learning loop (2026) - Shopify
Aug 5, 2026

Summary
This post details the implementation of a continual learning loop ('flywheel') for AI models, focusing on compressing production experience into model weights. Key technical contributions include: defining quality via rubrics and judges, calibrating judges with DSPy and reflection-based optimizers (GEPA, ACE), using autoresearch for prompt/tool definition optimization, and employing reinforcement learning (GRPO) with hard negative mining for parameter updates. It also introduces 'gist compression' for prompt optimization. The GraphQL agent is presented as a production example demonstrating significant cost and latency improvements.
More from the AI Assistant (Sidekick) Capabilities and Training trail
- Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost (2026) - Shopify
- Building an agentic harness that outlasts the model (2026) - Shopify
- Teaching Sidekick to say no: automated data curation with LLM judge consensus (2026) - Shopify
- Building a Magic Mirror: AI retail experiences with Remix (2026) - Shopify
- Building production-ready agentic systems: Lessons from Shopify Sidekick (2025) - Shopify