We wanted the app to be agentic-first, and the same state-and-actions surface the CLI uses is what Sidekick, Shopify's AI assistant, uses to take actions inside the app. There's no separate integration layer for it. Anything an agent can do from the terminal, an agent inside the app can do too.

Thiago MagalhaesAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: Reflex: an architecture for building mobile apps with agents, Shopify Engineering, November 5, 2026, at A contract built on first principles.

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025

Filed under

Who is speaking

Thiago Magalhaes, Author, Shopify Engineering blog. Writes about the architecture of Shopify's own mobile apps in the company's engineering blog; first-party, and the post's results are the company's own.

How this was checked

Checked against the source by a first reader, then confirmed independently by a second reader who fetched the source without seeing the first reader's notes (Independent review agent (Claude Sonnet), blind second pass from passage text and citation only, no repository access, 2026-11-06).

Matches exactly. 'Sidekick' is a hyperlink on the page, so only tag-stripping whitespace differs. The text sits after 'This contract isn't only for tests.', which is outside the passage.

How to cite this passage

Thiago Magalhaes (Shopify), “Reflex: an architecture for building mobile apps with agents”, Shopify Engineering, 2026-11-05, at A contract built on first principles. https://shopify.engineering/reflex Archived at https://the-ai-record.com/passages/shopify-agentic-first-sidekick-same-surface-2026

More from the same source

The bigger reason is headless execution: our 1,700+ behavior tests finish in about four minutes on CI, on both platforms.

Thiago MagalhaesAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: Reflex: an architecture for building mobile apps with agents, Shopify Engineering, November 5, 2026, at A contract built on first principles.

  • 1,700 behavior tests, as of 2026-11-05. Level not stated

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025 Passage page

The upside is that the suite has no I/O and no flakiness; the price is that fixtures get big. A single journey can carry a dozen GraphQL responses, which is tedious for a human to maintain but fine for an agent.

Thiago MagalhaesAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: Reflex: an architecture for building mobile apps with agents, Shopify Engineering, November 5, 2026, at Our test trophy.

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025 Passage page

With agents writing most of the code, a second native implementation costs far less than it used to. An abstraction layer still carries its full cost: it adds a maintenance surface, hides platform behavior you later need for performance work, and turns every platform upgrade into a two-step migration. Writing the same ViewModel twice is cheaper than maintaining a bridge between the two.

Thiago MagalhaesAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: Reflex: an architecture for building mobile apps with agents, Shopify Engineering, November 5, 2026, at Share the test, not the code.

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025 Passage page

When we decided to rebuild our apps natively, we went back to the drawing board with a basic question: how should a mobile app be built when agents write most of the code? The biggest bottleneck we had was the feedback loop. An agent can write a screen in minutes, but proving that the screen works requires an emulator, a build, a tap script, and a lot of patience.

Thiago MagalhaesAuthor, Shopify Engineering blog · Practitioner, Shopify

Post: Reflex: an architecture for building mobile apps with agents, Shopify Engineering, November 5, 2026, at Introduction.

Checked against the source [ Grade B ] Said in the last year Shopify: $11.6 billion revenue, FY2025 Passage page

Something wrong? Report a correction. JSON: /api/v1/passages/shopify-agentic-first-sidekick-same-surface-2026.json