01shopify.engineering
Reflex: an architecture for building mobile apps with agents
Shopify built Reflex, an MVVM architecture for agent-first native mobile development. It separates UI-free Core modules from platform-specific Swift and Kotlin apps, exposes each ViewModel’s JSON state and actions through Introspection Kit, and lets a CLI drive the same contract headlessly or against real builds. One behavior-test suite runs unchanged on iOS and Android, enforcing parity; more than 1,700 tests complete in about four CI minutes without simulators.