Skip to content

Build3 publishers3 min readPublished

Shopify's Helix feeds its native rewrite to agents one screen at a time

Six engineers shipped a fully native Shop app in 12 weeks, but the first attempt at handing the React Native code to a model produced what Shopify's engineering director called slop. Helix chunks each screen instead.

The Engineer · Build desk

Illustration accompanying Shopify's Helix feeds its native rewrite to agents one screen at a time

What happened

  • Shopify has said it is migrating every mobile app back to Swift and Kotlin, six years after telling developers that React Native was the future of mobile at the company.
  • Six engineers rebuilt the consumer Shop app fully native, from proof of concept to a published app in the stores, in 12 weeks, and the main Shopify app is now underway.
  • The same team's January 2025 retrospective reported sub-500ms P75 screen loads, over 99.9% crash-free sessions, and feature parity that had stopped being an issue.
  • Helix, the internal system running the rewrite, moves screen by screen, splits each screen into chunks, compares output against the existing app, and puts review agents in front of the human sign-off.

Compiled by The EngineerSomething wrong?How this is made

Why it matters

  • constraint Every cheap port Shopify reports ran against an app that already worked and a reference implementation to diff against. A team writing a feature for the first time is doing a different job, and these numbers do not apply to it.
  • cost Part of the second build now arrives as a metered bill instead of headcount. Sumner's port ran near $15,000 a day in API spend for 11 days, and someone has to approve that line item.
  • decision Shared-codebase justifications written when the second build meant a second team are worth re-running with current numbers. Shopify itself notes that native still means maintaining two platforms, and that expense has not gone away.
  • contradiction Shopify counts a large saving in migration work, while The New Stack reports that agents create work elsewhere in an engineering organization. No one has published a net figure comparing the two.

Handing a model the whole React Native codebase and asking for Swift is the version everyone tries first, and Shopify tried it. Director of engineering Mustafa Ali describes the output as slop, and more planning did not rescue it: even with the model writing specs and task files before touching code, it still produced too much code engineers would not want to maintain, The New Stack reports [13][14].

Helix is what they built instead. It works one screen at a time and breaks each screen into smaller chunks rather than recreating everything at once. It compares the result against the existing app as it goes, separate agents look for problems before a human signs off, and the review feedback is retained so earlier findings inform later work [15]. Shopify's CEO had publicly threatened to ban Claude Code over engineers shipping agent-generated code without enough review [16], and The New Stack reads Helix the same way, treating the agent's output as something that must be verified before anyone relies on it [17].

The load-bearing input here is the app that already works, not the model performing the rewrite. In Shopify's prototypes, agents implemented a feature on Android using the iOS version as the reference, and the reverse [9]. One engineer spent a week on agent-assisted prototyping and got most of the Shop app ported from React Native to SwiftUI, with a result that was not production ready [11]. Both runs had a working implementation to diff against. Agents also let engineers contribute on platforms they did not know well, because the agent handled more of the platform-specific work [10].

Six engineers over 12 weeks is about 72 engineer-weeks to take Shop from proof of concept to a store release [4][20]. The merchant app is a different size: 300-plus screens, home and lockscreen widgets, an Apple Watch app, Siri Shortcuts [5], and it relies heavily on deep iOS platform integration [6]. The other number in circulation is Jarred Sumner's port of the Bun runtime from Zig to Rust, which The New Stack reports as 64 parallel Claude instances, roughly a million lines in 11 days, an estimated $165,000 of API cost, with the existing test suite already written and passing on all six supported platforms before the merge [18]. That is near 17 cents per line, or about $15,000 a day [19].

"LLMs changed one of the core assumptions behind our 2020 decision," wrote Ali [12]. Shopify's own post goes further, saying agents were "no longer just helping us write code faster. They were capable of making us question whether building software twice still meant doing twice the work" [26]. The company is also explicit about what has not changed: native still means building and maintaining two platforms, and that cost has not disappeared, it has stopped being the deciding factor it was in 2020 [21]. What comes off the other side is spend Shopify was already making, on React Native performance work, framework fundamentals, and keeping up with framework updates and external dependencies [22].

In May, Simon Willison wrote about meeting an engineer whose company had used coding agents to combine its old iPhone and Android apps into a single React Native app; Willison asked why they would consolidate when agents were making separate codebases easier to maintain, and the engineer said React Native did what the company needed and they could always move back to native [24]. The same agent tooling that makes native rebuilds cheaper also makes maintaining a shared codebase cheaper, so if your shared-codebase justification was priced when the second build meant a second team, the number is stale, and re-running it may still land on one codebase. The New Stack also reports that agents can create more work elsewhere in an engineering organization even as they make some development tasks much faster [25].

What to watch

  • Whether the 300-plus-screen merchant app, with its widgets, Watch app and Siri Shortcuts, lands on anything like the Shop app's 12-week pace.
  • Whether Shopify publishes Helix or its chunking and review methodology in enough detail for another team to reproduce the result.
  • Whether any team reports the reverse move, consolidating native apps into one codebase with the same agent tooling, and what it cost.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories