Building

Meta glasses

Build for Ray-Ban Meta, Oakley Meta and Meta Ray-Ban Display glasses: a phone app on Meta's Device Access Toolkit, or a web app for the Display glasses.

Choose the glasses and the interaction before choosing a template. For a camera-based app on Ray-Ban Meta or Oakley Meta glasses, start with a phone companion built on Meta's Wearables Device Access Toolkit. For a small visual app on Meta Ray-Ban Display, Graspable also offers a standalone web template. Meta documents both development paths.

Choose your starting point

What you want to build Start here Check before you commit
A hands-free photo journal with spoken feedback Glasses field notes Some inputs and speech features use experimental toolkit capabilities. The app must handle those being unavailable.
A phone companion that uses the glasses' camera or sends a display screen Meta glasses app Your target glasses must support each capability. Native phone builds need the platform's development tools.
A timer, checklist or short instructions on Meta Ray-Ban Display Display glasses web app The web path has different hardware access from the phone toolkit. Publishing the URL does not grant access to every glasses feature.
A room-scale scene with 3D objects, gaze and hand interactions The WebXR guide for Meta VR Glasses Meta VR Glasses are a separate development target from Meta's everyday AI glasses.

For Android XR AI glasses, Google documents Jetpack Compose Glimmer. Its guidance covers both display and audio-only experiences. The Meta templates on this page do not establish compatibility with Android XR glasses; choose that platform's tools and validate its device support separately.

Compare the Meta development paths

Meta glasses app Display glasses web app
Glasses Ray-Ban Meta Gen 1 and Gen 2, Ray-Ban Meta Optics, Oakley Meta HSTN and Vanguard, Meta Ray-Ban Display Meta Ray-Ban Display only
What it is An Expo app on your phone that talks to the glasses through the Meta AI app A web page the glasses show, 600 by 600 pixels
Can use The camera stream and photos, and the Display screen; inputs, motion, speech and voice launch have experimental restrictions described below Motion and orientation, location, text by voice or handwriting, speech out, storage
Cannot use The camera and the microphone
Runs On a phone, built with Xcode or Android Studio From any https address; publishing from Graspable gives it one

Both come with the Builder plan and higher. The native route builds and installs a companion app on your phone. The web route publishes an HTTPS address that you add to the Display glasses. Check Meta's current release requirements before promising a feature to customers: a working developer-mode demo does not establish public distribution eligibility.

Before you start

  • Install the Meta AI app on your phone and connect the glasses in it.
  • Turn on Developer Mode in the Meta AI app: Settings, App Info, tap the version number five times, then confirm. With it on, an unpublished app may register with your glasses.
  • For the phone app: an iPhone on iOS 17.2 or later and a Mac with Xcode 26.4 or later, following Meta's current setup requirements. The Android template needs Android 12 or later with Android Studio; its Expo wrapper has a higher minimum than Meta's SDK alone.
  • Match the Meta AI app and glasses software to the toolkit version in your project. Meta's compatibility table lists Meta AI 290 for toolkit 1.0.0 and 292 for 1.0.1, with glasses software 128 for both. An iOS dependency update can change the toolkit patch version. Check the table again after updating dependencies.

Matching versions does not grant every capability. Meta can also enable features per account, so a device may decline an input, speech or display request even when its software is current. Handle that outcome in the app and test on the glasses you intend to support.

The phone app

Create a project from Meta glasses app or Glasses field notes and describe what you want. The preview runs the app against the glasses emulator, described below, so you can build and try everything before it goes near a phone. To run it on your iPhone with your glasses, press Run on my phone above the preview.

Run on my phone

Plug the iPhone into the Mac with a cable the first time, unlock it and tap Trust. Graspable builds the app with your Xcode, installs it and opens it. The first build takes several minutes. After that the app on the phone loads its code from your computer, so each change the agent makes shows on the phone in a few seconds, and pressing the button again takes about ten seconds. A new build is made only when the app's settings or its native packages change.

What it needs, and the bar tells you which is missing:

  • For an iPhone: a Mac with Xcode from the App Store, opened once, and CocoaPods. For an Android phone: Android Studio, opened once, on a Mac, Windows or Linux computer.
  • Your Apple ID added in Xcode under Settings, Accounts. Meta's toolkit needs Wi-Fi access that Apple lets only a paid Apple Developer membership sign, so a free account cannot build these apps.
  • Developer Mode on the iPhone: Settings, Privacy & Security, Developer Mode.
  • The phone awake and on the same Wi-Fi as the computer. The first time, the phone asks whether the app may find devices on your network. Allow it.

While it is on, the project's code is offered to devices on your network, as with any Expo development server. Stop ends that. The first time you run a project, Graspable gives it an app identifier of its own in app.json, because Apple signs each identifier for one developer.

The same build works without glasses: the Mock screen, and "Try with pretend ones" in Field Notes, pair Meta's pretend glasses inside the app on the phone.

An Android phone works the same way with Android Studio installed and opened once (it brings the Android SDK and Java) and USB debugging allowed on the phone. The connection then runs over the cable, so the phone need not be on the Wi-Fi.

On the phone, the Glasses screen registers the app with Meta AI (the Meta AI app opens and asks you), asks for the camera and microphone, lists your glasses with their battery, wear and thermal state, and opens a session. The other screens use it: Camera streams the glasses' camera into the phone and takes photos; Display sends a screen to Meta Ray-Ban Display glasses and gets the taps back; Senses shows inputs, motion and speech; Extras lets the glasses open the app by voice and take a full-quality photo; Mock pairs pretend glasses of every model so you can try all of it without hardware.

What the toolkit calls experimental (inputs, motion, speech, voice launch, standalone photos, audio in the stream) runs with Developer Mode on, and an app that uses it cannot be published to other people until Meta opens it. The camera stream, photos from it and the display can be published through Meta's own review and release channels, from the Wearables Developer Center.

Field Notes, a showcase

Glasses field notes is the same toolkit as one finished app for glasses without a display. Press Look and the phone shows what the glasses see. The shutter, or a tap on the temple, saves a moment. Say a note listens through the glasses and writes the first sentence under the photo. The phone answers "saved" and "noted" through the glasses' speakers, which are your phone's audio output while you wear them. Temple taps, the horizon line and spoken notes use the experimental parts of the toolkit; where the glasses refuse one, the app carries on without it. In the preview, the emulator stands in for the glasses.

The glasses emulator

The preview of a phone app shows it in a phone-sized frame with a panel beside it: pretend glasses and a pretend Meta AI app. Nothing needs installing, and it works on any computer.

  • The Meta AI app. When the app registers or asks for the camera or the microphone, a sheet slides over the phone as the Meta AI app would, and you answer it. A switch turns Developer Mode off, and registering then fails the way it does on a real phone.
  • The glasses. A pair of Ray-Ban Meta to start with; add any model. Switch a pair off, take it out of range, take it off, fold it, drain its battery, overheat it, or make it need an update, and watch what your app does.
  • What the glasses see. A test card, a camera of this computer (a phone used as a webcam works too), the screen, or a picture or video file. A slider tilts the wearer's head.
  • On the glasses. Tap the temple, swipe, press the capture or action button.
  • Voice. Type a sentence and the glasses "hear" it, or speak if the computer has a microphone. The panel shows what your app said back into the wearer's ear.
  • What the glasses hear. For an app that asks for sound with the camera stream: silence, a steady tone, a microphone of this computer, or a sound file. Your app gets it in the form the glasses send it, and a meter shows the level.
  • The display. With a Meta Ray-Ban Display pair added, the panel draws the screen your app sends, and its buttons can be pressed.
  • Break something. Make registering, a permission, the stream or a photo fail on purpose.

The agent uses the same emulator to check its work. After a change it can pair the glasses, answer the Meta AI app, start the camera, tap the temple, say a sentence, fold the glasses or make a step fail, and read what your app showed and said. Ask it to "try what happens when the glasses overheat" and it does that.

The first time a project uses a camera or a microphone of your computer, your system asks whether Graspable may use it.

The emulator follows Meta's toolkit closely, including the pause before glasses become ready, but it is not the glasses. Timing, picture quality, the microphones and what Meta's servers allow can differ. Try on a real pair before you rely on something.

The web app for Display glasses

Create a project from Display glasses web app. The preview shows the app in a frame of the glasses' size: the arrow keys move, Enter selects, Escape goes back, which is what the Neural Band and the touchpad send. Publish the app as you publish any Graspable app. Its page then shows an install code beside the frame; scan it with the glasses or the Meta AI app, and the app appears at the end of the app grid on the glasses. Without the code: Meta AI app, Devices, the Display glasses, App connections, Web apps, Add a web app, then the address.

Publishing is the hosting. A published app lives at its own https address on graspable.cloud, which is what the glasses need; there is nothing else to set up. Publish again and the glasses load the new version the next time the app opens. Once loaded, the app also opens without a connection.

Voice. Each screen offers its actions to Meta AI as voice tools, so the wearer can say "Hey Meta, set the timer to three minutes" with the app open. Meta calls this WebMCP; it is a developer preview on the glasses and off by default, so every action also has a button. On a computer, the page lists the tools of the screen that is showing beside the frame, each with a Try button that calls the tool the way Meta AI would. Ask the agent for a new tool in words: "let me ask for the next step by voice".

The display is additive, so black is transparent and bright colours show. Keep text large, screens short and one thing per screen. The agent knows these rules. The Meta Ray-Ban Display Simulator, a Chrome extension from Meta, shows a page the way the glasses do.

What Graspable does not do

  • It does not publish to Meta for you. Meta's review, release channels and testers are in the Wearables Developer Center, with your own Meta developer account.
  • It does not hide the capture LED, record people without their knowledge, or send what the camera sees anywhere you did not ask for, and the agent is told not to build such things.
  • A published Display web app is an ordinary web page at your app's address; it holds no key and knows nothing of your Meta account.