Example projects
Run standalone e2e examples with Vite, Next.js, Astro, Angular, Expo, SwiftUI, Jetpack Compose, Kotlin Multiplatform, Flutter, and .NET MAUI.
Each example is a standalone greeting app with three locator tests and two agent tests. One agent test gets a greeting for a name; the other checks the empty-name error. Each installs the published e2e packages from npm.
Pick an example
Vite
React with Vite, tested in Chromium.
Next.js
Next.js App Router, started by the runner and tested in Chromium.
Astro
An Astro page with no UI framework, started by the runner and tested in Chromium.
Angular
A standalone Angular component, started by the runner and tested in Chromium.
Expo
React Native with Expo, tested on web, iOS, and Android.
SwiftUI
A native iOS app, tested on an iPhone simulator.
Jetpack Compose
A native Android app, tested on an emulator.
Kotlin Multiplatform
One Compose Multiplatform screen, tested on Android and iOS.
Flutter
A Flutter app, tested on Android and iOS.
.NET MAUI
A .NET MAUI app, tested on Android and iOS.
Run an example
Follow the project’s README to install, build, and run it. The config and
tests live beside the app, in an e2e/ folder for the native, Flutter, and
.NET MAUI projects.
The locator tests need no model. The agent tests use Vercel AI Gateway and
skip unless AI_GATEWAY_API_KEY is set.

