---
id: "lib-2026-11-10-how-we-rebuilt-the-shopify-app-in-12-weeks"
type: "library"
title: "How we rebuilt the Shopify app in 12 weeks"
lang: "EN"
org: "Shopify"
source_type: "Practitioner post"
date: "2026-11-10"
week: "2026-W46"
url: "https://nosov.ai/library/lib-2026-11-10-how-we-rebuilt-the-shopify-app-in-12-weeks/"
original_url: "https://shopify.engineering/shopify-app-rebuild"
tier: "B"
tier_name: "Useful, limited"
tier_reason: "Shopify Engineering's first-hand account of an agent-written mobile rewrite, specific about process and with before-and-after app metrics, but self-reported and without data on cost, defects or review effort."
summary_basis: "full-text"
original_minutes: "15"
tags: ["coding agents", "code review", "mobile", "software delivery"]
frames: ["verification-capacity"]
---

# How we rebuilt the Shopify app in 12 weeks

Tier B (Useful, limited): Shopify Engineering's first-hand account of an agent-written mobile rewrite, specific about process and with before-and-after app metrics, but self-reported and without data on cost, defects or review effort.

Summary based on the full text.

## In short

A Shopify Engineering post (2026) on rebuilding the Shopify mobile app from React Native to native Swift and Kotlin in 12 weeks, with agents writing most of the code. The post spends little time on code generation and most on what had to change around it: an architecture agents can test without a device, CI checks that fail when the code drifts, small pull requests, agent-first review and ownership by area. Each time one bottleneck cleared, the next one appeared in machines, CI, review, merging or coordination.

## Key numbers

- 12 weeks: time for about 30 engineers to rebuild a 300+ screen app from React Native to Swift and Kotlin
- 1.71s to 0.87s: Android P50 launch time before and after the rewrite
- 80.4MB to 47.6MB: Android binary size
- 99.66% to 99.98%: Android crash-free sessions

## What it reports

- About 30 engineers in pods of two, each pod owning a product area on both platforms and steering several agents; agents worked overnight and at weekends.
- Before migration, a small group built the Reflex architecture and a CLI that loads any screen in milliseconds, so agents can test business logic without starting an emulator.
- Consistency over platform idiom: iOS and Android share one architecture; CI fails when they diverge.
- Spec-driven development was tried first and dropped: specs went stale within a screen. The legacy app served as the reference, checked checkpoint by checkpoint by an internal tool (Helix).
- Review reordered: an agent does adversarial review against architecture rules first; PRs are small checkpoints covering both platforms; a human reviews last for intent, architecture and product behaviour. Every PR still has human review.
- Each evening an agent turned that day's review comments into updates to skills and Architecture.md, and changes requested per PR kept falling.
- A loop every 15 minutes looks for new crashes; an internal agent reproduces each one and opens a fix PR.
- Results: Android P50 launch 1.71s to 0.87s, iOS 0.70s to 0.60s; Android binary 80.4MB to 47.6MB; Android memory P50 470MB to 200MB; iOS peak memory P50 730MB to 190MB; Android crash-free sessions 99.66% to 99.98%.

## How they got it

Practitioner account from the team that did the work, part of a series of Shopify posts on the migration. Metrics are production app telemetry reported by Shopify.

## Limits

- Self-reported, with no figures on token or compute cost, defect rates, review hours or how many PRs were merged.
- Performance gains come largely from leaving React Native, which says little about the agent workflow itself.
- A migration with a live reference app is easier than new feature work, which the team names as its next unsolved problem.

## Why it matters for companies

The transferable lesson is where the work went: once agents write code cheaply, the scarce resources are review capacity, test machines, CI and clear ownership. Firms planning agent-built software should budget for those first, make architecture rules executable in CI rather than in documents, and size each agent task to what a human can review. The daily loop that converts review comments into rules is a low-cost practice any team can adopt.

Original: https://shopify.engineering/shopify-app-rebuild
