Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Wix Engineering 5 min read Case study mediumAdept

No Dashboard, No Menus: How We Built an Interface Around Intent

Wix replaced a fixed merchant dashboard with an agent-orchestrated interface: the agent picks which approved, frontend-registered React components to show (in-chat widgets and main-area page previews) and with what props, while the frontend owns the component catalog. The conversation transcript is the single source of truth, with invisible render entries that let the UI be rebuilt after refresh, and hidden structured messages that pass exact widget values to the agent. Draft edits flow through an in-memory event bus to keep widgets and previews in sync without the agent, and only confirmed values are written into the conversation before publishing. The client-side component registry becomes a critical validation and backward-compatibility boundary, since old transcripts get replayed by newer frontends.

Related posts

  • Components Are Dead; And Now for Something Completely Different

    Wix Engineering mediumAdept

    Wix's Jay framework replaces UI components with "regions": design-system templates are flattened into page-local HTML at coding time, while logic stays in shared headless components bound via fine-grained signals. The argument is that components suit human cognitive limits but force runtime work on slots, context and ref forwarding, whereas AI agents work best with single-file local context. Reactivity is kept without a virtual DOM through per-node update closures and phase-gated hydration. Drift between flattened copies and upstream templates is handled by a deterministic CLI that AST-diffs regions (validate) and re-flattens while preserving marked overrides (sync).

  • MCP UI: Breaking the text wall with interactive components

    Shopify Engineering easyNovice

    MCP UI extends the Model Context Protocol so servers can return interactive UI components, such as product selectors, galleries and cart flows, as embedded ui:// resources alongside JSON data. Components can be delivered three ways: inline HTML via srcDoc in a sandboxed iframe, remote resources loaded in a sandboxed iframe, or Remote DOM for direct client-side rendering. Components never modify state directly. They emit intents like view_details, checkout, notify and ui-size-change, which the agent interprets, so the agent stays in control. Hosts can pass CSS through render data to match their branding, and Shopify argues this beats having agents generate commerce UI with variants, bundles, subscriptions and live inventory.

  • Enhancing the Mock Server: A User Interface Approach

    Zalando Engineering mediumAdept

    Zalando's team built a UI on top of mirage.js so product managers and designers can switch which mocked response each API endpoint returns on a staging build, without code changes or redeploys. A React Context provider re-instantiates the mock server on demand, and the selected scenario is kept in session storage under an app-unique key so it survives the page reload that loading a new data set requires. The approach covers edge cases like stale or missing data, but it complements rather than replaces unit and contract tests, and the frontend-defined mocks must be kept in sync with the backend schema. A generalized version now ships as an internal NPM module.

  • Shopify’s platform is the Web platform

    Shopify Engineering mediumAdept

    Remix is now Shopify's recommended framework for building Admin apps, backed by a rewritten, final version of App Bridge that makes cross-origin iframes behave like a normal web environment. App Bridge uses postMessage() to restore what browsers strip from iframes: it syncs history.pushState() URL changes to the top-level page, supplies OpenID Connect ID tokens in place of unavailable cookies, and exposes Admin integrations such as sidebar navigation through standard Custom Elements. It is loaded from a CDN script tag so fixes reach every app without redeploys. The Remix template bundles @shopify/shopify-app-remix for OAuth, ID token and HMAC handling, plus Prisma for storage and session persistence.

  • Under the River

    Shopify Engineering mediumAdept

    Shopify's Slack-native agent River co-authors one in eight merged PRs, and it rests on two 2024 bets: a single monorepo (World) and Nix-built reproducible environments across dev, CI and production. Underneath sits Aquifer, an internal agent platform built so the session outlives any process. A Postgres-backed append-only event log holds the conversation, the agent harness runs outside a disposable sandbox, and ephemeral session cells are recreated on demand. Agents are shipped as Nix-built profile bundles across interactive, automation and job modes. Lessons for agent infrastructure: decouple the brain from the hands, make agents public and multiplayer so transcripts compound into shared skills, and treat each new agent as a profile rather than a new platform.

The quest for software engineering knowledge.

Look:
Layout: