The Meta Wearables Device Access Toolkit enables developers to utilize Meta’s AI glasses to build hands-free wearable experiences into their mobile applications.
By integrating this SDK, developers can reliably connect to Meta’s AI glasses and leverage capabilities like video streaming and photo capture.
The Wearables Device Access Toolkit is in developer preview.
Developers can access our SDK and documentation, test on supported AI glasses, and create organizations and release channels to share with test users.
You can find an overview of the Wearables Developer Center here.
Create an account to stay informed of all updates, report bugs and register your organization.
Set up a project and release channel to share your integration with test users.
For help, discussion about best practices or to suggest feature ideas visit our discussions forum.
You can add the Wearables Device Access Toolkit to your Gradle project by following the steps below.
You will need to provide a personal access token (classic) with at least read:packages scope as an environment variable named GITHUB_TOKEN or
by adding it as a property named github_token in your local.properties file.
See SDK for Android setup for more details.
1. Add the repository definition to settings.gradle.kts
By enabling Meta integrations, including through this SDK, Meta may collect information about how users’ Meta devices communicate with your app.
Meta will use this information collected in accordance with our Privacy Policy.
You may limit Meta’s access to data from users’ devices by following the instructions below.
Opting out of data collection
To configure analytics settings in your Meta Wearables DAT Android app, add the following <meta-data> element to your
app’s AndroidManifest.xml file within the <application> element:
Default behavior: If the ANALYTICS_OPT_OUT metadata is missing or set to false, analytics are enabled
(i.e., you are not opting out). Set to true to disable data collection.
Note: In other words, this setting controls whether or not you’re opting out of analytics:
true = Opt out (analytics disabled)
false = Opt in (analytics enabled)
Complete example:
<application
android:name=".MyApplication"
android:label="MyApp"
android:icon="@mipmap/app_launcher">
<!-- Required: Your application ID from Wearables Developer Center -->
<meta-data
android:name="com.meta.wearable.mwdat.APPLICATION_ID"
android:value="your_app_id_here"
/>
<!-- Optional: Disable analytics -->
<meta-data
android:name="com.meta.wearable.mwdat.ANALYTICS_OPT_OUT"
android:value="true"
/>
<!-- Your activities and other components -->
</application>
AI-Assisted Development
This repository ships one public DAT knowledge base in two first-class formats:
Claude and Codex install from the plugin payload under plugins/. Copilot, Cursor, and AGENTS.md readers use the native file-based artifacts at repo root.
Claude Code
claude plugin marketplace add facebook/meta-wearables-dat-android
claude plugin install mwdat-android@mwdat-android-marketplace
Or use the helper script:
./install-skills.sh claude
Codex
git clone https://github.com/facebook/meta-wearables-dat-android.git
cd meta-wearables-dat-android
codex plugin install ./plugins/mwdat-android
Or use the helper script:
./install-skills.sh codex
Other tool installs
Use the installer when you want the repo-native file surfaces for other tools:
./install-skills.sh copilot # .github/copilot-instructions.md
./install-skills.sh cursor # .cursor/rules/*.mdc
./install-skills.sh agents # AGENTS.md
./install-skills.sh all # Claude/Codex when available, plus Copilot/Cursor/AGENTS.md
Getting started — SDK setup, Gradle integration, manifest configuration
Camera streaming — Session and Stream capability setup, video frames, resolution/frame rate, photo capture
MockDevice testing — Test without physical glasses using MockDeviceKit
Session lifecycle — Session and stream state, pause/resume behavior, and device availability monitoring
Permissions & registration — App registration with Meta AI and device permission flows
Debugging — Common issues, Developer Mode, version compatibility, and session and stream diagnosis
Sample app guide — Building a complete DAT app
For static reference context, point your AI tool at the llms.txt endpoint. For live documentation search in MCP-compatible editors, connect https://mcp.facebook.com/wearables_dat and use search_dat_docs.
Meta Wearables Device Access Toolkit for Android
The Meta Wearables Device Access Toolkit enables developers to utilize Meta’s AI glasses to build hands-free wearable experiences into their mobile applications. By integrating this SDK, developers can reliably connect to Meta’s AI glasses and leverage capabilities like video streaming and photo capture.
The Wearables Device Access Toolkit is in developer preview. Developers can access our SDK and documentation, test on supported AI glasses, and create organizations and release channels to share with test users.
Documentation & Community
Find our full developer documentation on the Wearables Developer Center.
You can find an overview of the Wearables Developer Center here. Create an account to stay informed of all updates, report bugs and register your organization. Set up a project and release channel to share your integration with test users.
For help, discussion about best practices or to suggest feature ideas visit our discussions forum.
See the changelog for the latest updates.
Including the SDK in your project
You can add the Wearables Device Access Toolkit to your Gradle project by following the steps below. You will need to provide a personal access token (classic) with at least read:packages scope as an environment variable named
GITHUB_TOKENor by adding it as a property namedgithub_tokenin yourlocal.propertiesfile. See SDK for Android setup for more details.1. Add the repository definition to
settings.gradle.kts2. Declare the Wearables Device Access Toolkit artifacts in
libs.versions.tomlCheck the available versions in GitHub Packages.
3. Add the required components as dependencies in your app’s
build.gradle.ktsDeveloper Terms
Opting out of data collection
To configure analytics settings in your Meta Wearables DAT Android app, add the following
<meta-data>element to your app’sAndroidManifest.xmlfile within the<application>element:Default behavior: If the
ANALYTICS_OPT_OUTmetadata is missing or set tofalse, analytics are enabled (i.e., you are not opting out). Set totrueto disable data collection.Note: In other words, this setting controls whether or not you’re opting out of analytics:
true= Opt out (analytics disabled)false= Opt in (analytics enabled)Complete example:
AI-Assisted Development
This repository ships one public DAT knowledge base in two first-class formats:
.claude-plugin/marketplace.json+plugins/mwdat-android/.claude-plugin/plugin.jsonmwdat-androidplugins/mwdat-android/.codex-plugin/plugin.json.github/copilot-instructions.md.cursor/rules/*.mdcAGENTS.mdAGENTS.mdhttps://mcp.facebook.com/wearables_datClaude and Codex install from the plugin payload under
plugins/. Copilot, Cursor, andAGENTS.mdreaders use the native file-based artifacts at repo root.Claude Code
Or use the helper script:
Codex
Or use the helper script:
Other tool installs
Use the installer when you want the repo-native file surfaces for other tools:
Or run the helper remotely:
What’s included
For static reference context, point your AI tool at the llms.txt endpoint. For live documentation search in MCP-compatible editors, connect
https://mcp.facebook.com/wearables_datand usesearch_dat_docs.License
See the LICENSE file.