Building secure mobile apps in the agentic era (opens on the source site)
How we scale our security with attack surface maps, focused AI reviews, and checks that improve with every vulnerability fixed.
Read at the sourceTHE COMPANY INDEX TRACKED BLOG
Ideas, decisions, and lessons from the team.
shopify.engineering (opens on the source site)LinkedIn XHow we scale our security with attack surface maps, focused AI reviews, and checks that improve with every vulnerability fixed.
Read at the sourceHow we pair AI agents with our knowledge of Shopify’s systems to safely attack our production infrastructure, find bugs, and reduce risks.
Read at the sourceWhat changed when agents started writing our mobile code, and how we redesigned our architecture, tooling, and workflow around validation.
Read at the sourceOur architecture lets agents test mobile app behavior without an emulator and use one test suite to keep iOS and Android in sync.
Read at the sourceSidekick’s frontier model hands its most token-heavy work to open models that Shopify post-trains and serves itself. Here’s the loop we use to build them, and where NVIDIA’s models, software, and GPUs make each turn faster and cheaper.
Read at the sourceHow we group product listings across millions of stores using tiered matching models, graph partitioning, and learned cluster merge decisions.
Read at the sourceOur first scanner read config files and missed what was running. We rebuilt it with the cloud inventory, a careful probe, and honest results.
Read at the sourceShopGym creates realistic online stores and generates shopping tasks based on each store’s products and features. Developers can then repeatedly test shopping agents under consistent conditions.
Read at the sourceWe built Helix to help LLMs rebuild the Shopify app in Swift and Kotlin, using small checkpoints and strict quality gates to keep the code shippable.
Read at the sourceWe migrated the Shop app from React Native to Swift and Kotlin. Assisted by AI, the team was able to go from a proof of concept to a fully rebuilt native app published in the app stores in just 12 weeks.
Read at the sourceCoding agents changed what it costs to build mobile apps twice. Here’s why Shopify is moving from React Native back to Swift and Kotlin.
Read at the sourceGisting compresses context into a set of learned tokens, preserving its quality while making the model faster and cheaper.
Read at the sourceWe rebuilt our mobile end-to-end testing framework with a strict API and computer vision, raising test stability drastically.
Read at the sourceHow we compress production failures into model weights every day, beat frontier-model quality, and cut serving costs 96%.
Read at the sourceWe built an agentic code review and test oracle harness that discovers vulnerabilities, proves them with real tests, and provides Shopify-tuned fixes.
Read at the sourceWe moved five high-traffic checkout extensions to remote-dom and Polaris web components, cutting bundle sizes drastically and making checkout faster.
Read at the sourceHow a Hack Days team built a music player, custom GLSL visualizers, and an artist toolkit for storefronts, all in three days.
Read at the sourceBuilding an LLM-powered pipeline to match product listings across millions of merchants into a unified catalog that AI agents can search.
Read at the sourceProduction training data only captures successful queries; it can't teach a model when to say no. We built an automated curation pipeline using LLM judge consensus to close that gap.
Read at the sourceWhat it took to ship our Slack-native agent River, lessons learned, and the substrate that runs beneath it. Co-authored by River.
Read at the source