The official GitHub for SPECS
Where you can find the best projects to start your AR developer journey. Let's build the future.
| Destination | What it is for |
|---|---|
| lensstudio.com | The starting point for people new to Lens Studio and SPECS development |
| developer.specs.com | Where existing developers can manage and publish their Lenses |
| docs.lensstudio.com | Documentation for Lens development |
| lenses.specs.com | Where consumers can discover Lenses |
| specs.com/mac | Wireless virtual display — try it out |
| specs-devs repositories | Sample projects, packages and core frameworks |
Before you begin developing for SPECS, make sure you have the required tools installed:
Required Software:
- Lens Studio - Snap's free AR development platform for creating SPECS experiences
- Companion App (Android) - Companion app for Android devices
- Companion App (iOS) - Companion app for iOS devices
SPECS is the official GitHub organization for SPECS development resources. We provide open-source samples, packages, frameworks and documentation to help developers build amazing AR experiences for SPECS.
Whether you're creating your first AR lens or developing complex spatial applications, we offer the resources and community support you need to succeed.
| Repository | What it is | Latest release |
|---|---|---|
| samples | Ready-to-use Lens Studio projects | 5.25.0 |
| packages | Asset packages and utilities | 5.25.0 |
| core-frameworks | Interaction Kit, UI Kit, Motion, Sync Kit and Leaf | 5.25.0 |
| icons | The SPECS icon library | 5.25.0 |
| webxr | AR Math & Science WebXR demos by Adam Varga | main |
| ndk | SPECS NDK version manifest | 1.1.1 |
Each repository keeps one branch per Lens Studio release. main always carries the latest.
| Branch | Lens Studio | Device | Repositories |
|---|---|---|---|
main |
5.25.0 | SPECS 27 | samples, packages, core-frameworks, icons |
5.24.1 |
5.24.1 | SPECS 27 | samples, packages |
5.24 |
5.24.0 | SPECS 27 | samples, packages |
5.22 |
5.22.0 | SPECS 27 | samples, packages |
5.15.4 |
5.15.4 | Spectacles (2024) | samples, packages |
Important
Spectacles (2024) is supported only on 5.15.4. Use the 5.15.4 branch / release of each repo.
Everything 5.22.0+ targets SPECS 27. Links on this page point at main (5.25.0) and won't work with Spectacles (2024).
Ready-to-use project templates and sample applications demonstrating SPECS capabilities. Clone individual projects using sparse checkout:
| Preview | Title | Description | Clone Command |
|---|---|---|---|
![]() |
AI Playground | Sample project for AI in using SPECS Remote Service Gateway. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Crop | Sample project showing how to "crop" the environment using hand gesture. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Depth Cache | Cache depth frames for pixel-to-3D projection with cloud-based vision models. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
AI Music Gen | Generate AI music using Google's Lyria model. Combine genres, vibes, and instruments to create custom music tracks with 3D visualizations. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Agent Manager | Multi-agent assistant hub for SPECS—run and manage multiple AI agents with text and voice input. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Fetch | Sample project using the SPECS Fetch API. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Essentials | Collection of foundational concepts for creating lenses in Lens Studio. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Throw Lab | Sample project demonstrating realistic throwing mechanics in AR. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Voice Playback | Sample project for recording and playing back audio on SPECS. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Path Pioneer | Sample project for path creation and path walking experience. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Mobile Kit | SDK for seamless communication between mobile applications and Lenses running on SPECS via BLE. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
DJ | Interactive DJ turntable experience with realistic vinyl physics and multi-track audio mixing. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Industrial Sketch | Hand-tracked 3D sketching and concept modeling: strokes, surfaces, SubD, symmetry and live co-creation. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Custom Locations | Map real life areas and create AR experiences around those locations. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Navigation Kit | An example project for indoors or outdoors navigation. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Shared Sync Controls | Real-time collaborative AR experience for shared controls. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Tic Tac Toe | Sample Connected Lens project using Sync Kit. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Laser Pointer | Create laser pointers on a virtual object that are visible to all connected users. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
High Five | Real-time collaborative AR experience for high-five interactions. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Air Hockey | Sample Connected Lens project using Sync Kit. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Think Out Loud | Social AR networking application with floating status panels and real-time connections. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
![]() |
Sync Kit | Minimal example of Sync Kit transform synchronization across Connected Lenses. | git clone --filter=blob:none --sparse https://github.com/specs-devs/samples.git |
Starting a new project? Use the blank templates: Base Template and Base Template With Examples.
Reusable components, utilities, and packages for AR development. The same packages are available from the Lens Studio Asset Library. Clone individual packages using sparse checkout:
| Preview | Title | Description | Clone Command |
|---|---|---|---|
![]() |
Remote Service Gateway | A package that provides a set of tools that allow to publish lenses with access to user-sensitive data. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Interaction Kit Examples | Example scenes and prefabs for InteractionKit and UIKit, led by an Interaction Showcase (direct, indirect, poke and pinch interaction) plus UI starter patterns. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Commerce Kit | In-app purchases for SPECS Lenses: non-consumables, consumables and subscriptions defined on the Specs developer portal. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Navigation Kit | Set of components designed to simplify the development of navigation experiences for SPECS. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
AI Preview Agent – Interact | Lets an external AI agent drive a running Lens by synthesizing pinch, poke, and drag hand interactions for end-to-end agent verification. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
AI Preview Agent – Inspect | Lens-side bridge that lets an external AI agent observe a running Lens through live scene queries and orthographic render captures. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Supabase Client | Client library for connecting to Supabase backend infrastructure. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Snap Cloud Examples | Collection of examples demonstrating Supabase integration for authentication, real-time data, and cloud storage. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Snap Cloud Social Media | Prototype prefab and editor plugin for recording and sharing through official social APIs, with JSON presets, captions and destination controls. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Snap Cloud Connected | Multiplayer starting point: pair players with a 4-digit code, place content on a surface per player, and sync object transforms through Snap Cloud. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Auth Kit | OAuth2 authentication framework with PKCE, token refresh and deep links. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Auth Kit Examples | Ready-to-run OAuth2 sign-in examples (Spotify and generic providers) built on Auth Kit. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
ARKit Spectator | Drag-and-drop prefab that streams Lens objects through Snap Cloud to an iPhone app (zipped in the package) so others can watch the scene in AR. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Web Capture | Mirror a Lens in your browser, record it while it plays and edit the recording into a video (Lens Studio plugin + web portal, Snap Cloud for Specs). | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
3D Hints | Suite of animated Hand Gestures Hints. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Interactable Helper | Low to medium fidelity prototyping tool for Interaction Kit components without code. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Function Call Helper | System for exposing function callbacks in the inspector, allowing you to configure and trigger script functions through UI buttons. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Hand Attacher | Attach objects to hand joints in world space with customizable offsets and smooth interpolation. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Mocopi Receiver | Full-body motion capture integration for Sony mocopi sensors with WebSocket streaming and automatic bone mapping. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Reachy Receiver | Integration for Reachy humanoid robot with WebSocket streaming. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
WebSocket Examples | WebSocket examples for real-time data exchange including TextEcho, IMUData, and IMUCube. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Midi | Parse BLE-MIDI into note, control-change and clock events with reconstructed instrument timing. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Instantiation | Examples for dynamic object creation. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Solvers | Collections of spatial behaviors for Spatial UI or scene objects. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Access Components | Collection of scripts to showcase how to reference and access classes. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Agnostic 3D Button | One soft-press 3D button for any finger with no physics: hover, press, click, toggle and pressure events, in themed and UIKit looks. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Video Player | Hardware-decoded video on Specs with the SpecsNDK SpecsPlayer library: files and http(s) streams, audio on the speakers, a ready-made UIKit player panel; VideoTexture fallback in the editor. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Spatial Image | Turns flat photos into 3D spatial images with the Snap Spatial Image API (Remote Service Gateway): flat placeholder, depth ease-in, angle-based flattening and a gallery. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Guided Instructions | Voice-driven, AI-assisted guided AR experiences: speech, depth, Gemini integration, and world-space UI. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
World Query Module | Performs hit tests for real-world surfaces. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Surface Placement | Places content on floors and walls using head pose, with optional pinch/tap and near-surface modes. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Face Mesh | Face mesh tracking setup with customizable materials and transform matching for smooth tracking motion. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Body Mesh | Body mesh tracking and rigging utilities for full-body AR experiences. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Auto Floor Finder | Self-calibrating automatic floor-height detection with a lock and revalidate lifecycle. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Custom Locations | Helpers for Custom Locations: activate content when the wearer is close and looking at a scanned place, plus a status panel and an example group. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Anchor Examples | Native AnchorModule wrapper and a persistent-widgets example: create, save, resolve and track spatial anchors across sessions. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Utilities | Comprehensive utility library for scene object management, math operations, animations, and type conversions. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Decorators | TypeScript decorators for simplified event binding and dependency injection to reduce boilerplate code. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Gizmos | Collections of line based tools for debugging or visualization. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Easy Teleprompter | Teleprompter lens for rehearsal and live public speaking with text display in field of view. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Composite View | Advanced camera texture compositing and blending system. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Crop Camera Texture | Camera texture cropping and region selection tools. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Volumetric Line | Advanced volumetric line rendering system for 3D graphics. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Animation Examples | Native AnimationPlayer tween examples — scale, opacity, push-Z, squish, and timeline-driven animations driven from script. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
| Marker Tracking Helper | Provides Marker Tracking Examples. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
|
![]() |
Shader Library | Collection of seven optimized shaders designed to enhance power efficiency without sacrificing visual quality. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Bezier Line | Camera-facing cubic Bézier ribbon between two scene objects with runtime mesh generation. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Raymarching | Meshless, gooey metaballs drawn with a raymarched signed-distance-field shader: up to 8 sources merge into one glossy, stereo-correct surface. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Face Mesh Examples | Character heads on the faces you look at, following the head and copying expressions from the tracked Face Mesh. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Video Call S2S | SPECS-to-SPECS video call: two SPECS wearers share POV video and voice. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Video Call S2M | SPECS-to-Mobile video call between a SPECS wearer and a friend's phone, peer-to-peer over WebRTC. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Friend Finder | Find a friend in a crowd, watch your own back, or video-call a friend — a SPECS + iPhone companion experience. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Remote Assistance | A helper in a web browser sees your POV, talks you through the task, and draws guidance that lands as 3D lines in your world. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
Decart AI | Decart reality distortion on SPECS: the live camera feed runs through Decart's generative video models onto a floating screen. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
![]() |
NDK Capture | Streaming and capture in one asset (SpecsNDK 1.1.0): stream camera, AR, UI and mic as separate layers, edit each one live, record them as separate tracks and re-edit the composite later. | git clone --filter=blob:none --sparse https://github.com/specs-devs/packages.git |
Source of the frameworks at the heart of building for SPECS, as they ship in the Lens Studio Asset Library.
| Framework | Version | What it is |
|---|---|---|
| Interaction Kit | 4.0.0 | Hand, controller and phone interactions: interactors, interactables, targeting and manipulation. |
| UI Kit | 4.0.0 | Components, layouts and themes for spatial interfaces. |
| Motion | 4.0.0 | The tween engine behind UI Kit. |
| Sync Kit | 4.0.0 | Shared, multi-user experiences with Connected Lenses. |
| Leaf | 4.0.0 | Automated testing for Lenses with simulated hand input. |
The official SPECS iconography as a Lens Studio package: every icon as a PNG, a packed icon atlas and the materials and scripts to place icons in a scene.











































































