ShopifyMichael GarfinkleProblem & solution
We gave AI agents a mobile dev environment (2026) - Shopify
Summary
Shopify’s AI agent River could handle web and backend tasks but was limited for mobile development because laptops maxed out with compilers and simulators. To solve this, Shopify built Remote Dev, a fleet of remote Macs that each provide a dedicated environment for River sessions. Agents connect over SSH, and Android emulation required a separate Linux VM with nested virtualization since macOS lacks support. A warm pool of prebuilt Macs reduces setup time from over 30 minutes to a few minutes, and agents can work in parallel on different tasks. River can now autonomously implement changes, build, test, interact with simulators, and create PRs, and it can generate explainer videos from recordings, with adoption growing from 6% to 61% of merged mobile pull requests.
Context
Shopify’s AI agent River could handle web and backend tasks but was limited for mobile development because laptops maxed out with compilers and simulators. The team needed a way to run mobile builds and tests without tying up local machines.
Approach / What changed
Remote Dev: a fleet of remote Macs with prebuilt environments, warm pools, SSH connections, and a separate Linux VM with nested virtualization for Android emulation. Agents claim a warm Mac, sync their branch, and work in parallel. A skill teaches River to use the remote environment.
Takeaways
Remote Dev uses a warm pool of prebuilt Macs to reduce setup time from over 30 minutes to a few minutes.
Android emulation required a separate Linux VM with nested virtualization because macOS does not support nested virtualization out of the box.
River’s adoption for mobile pull requests grew from 6% to 61% after improving the experience and using internal storytelling campaigns.
FAQ
How does Remote Dev handle Android emulation?
Remote Dev connects to an Android emulator running on a separate Linux VM with nested virtualization enabled, all within the same SSH session from the Mac.
How did Shopify reduce setup time for Remote Dev?
They switched to a warm pool of Macs with main checked out, tools installed, apps built, and caches warm, so an agent can claim a Mac and start working in minutes.
How did Shopify increase adoption of River for mobile development?
They used storytelling and internal ads featuring a River character to show that mobile development now works, and iteratively improved the experience based on observed failures.
Source and freshness
- Source
- shopify.engineering
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.