MentraOS Cloud home page
Search...
⌘K
Support
Developer Portal
Developer Portal
Search...
Navigation
Getting Started
MentraOS Cloud Documentation
Documentation
API Reference
GitHub
Discord
SDK Package
Getting Started
MentraOS Cloud Documentation
Local Development Setup
Cloud Overview
Introduction
Authentication flow
User sessions
Message types
Sdk integration
Cloud Architecture
Services
Session Management
Managers
Data Models
SDK Reference
Getting Started with the SDK
AppSession
Event Handlers
Display Layouts
Hardware Modules
Development
Local Development Setup
On this page
Welcome to MentraOS Cloud
Getting Started
Core Architecture
Manager Documentation
Join the Community
Getting Started
MentraOS Cloud Documentation
Copy page
Internal documentation for MentraOS Cloud development
Copy page
Welcome to MentraOS Cloud
This is the internal documentation for developers working on the MentraOS Cloud codebase. Here you’ll find detailed information about the cloud architecture, services, managers, and how to set up your development environment.
Cloud Architecture Overview
Understand how the cloud orchestrates communication between glasses, mobile apps, and third-party applications.
Getting Started
Essential resources for cloud development.
Local Development Setup
Run the cloud locally with Docker, ngrok, and connect your mobile app.
Authentication Flow
Understand JWT authentication and session management.
User Sessions
Learn about UserSession - the core entity managing connections.
Message Types
All message types flowing between glasses, cloud, and apps.
Core Architecture
Deep dive into the cloud’s internal structure.
WebSocket Service
Routes connections between glasses and apps
Session Service
Orchestrates UserSession lifecycle
UserSession Class
The heart of the system - manages everything
Managers Pattern
Specialized managers for different concerns
Subscription Service
Controls data flow to apps
Message Types
All SDK types and interfaces
Manager Documentation
Detailed guides for each UserSession manager.
App Manager
App lifecycle, webhooks, and resurrection
Audio Manager
Audio processing and distribution
Display Manager
Display throttling and prioritization
Transcription Manager
Multi-provider speech-to-text
Join the Community
Discord
Chat with other developers and get help from the team.
GitHub
Contribute to MentraOS and see the source code.
Local Development Setup
Assistant
Responses are generated using AI and may contain mistakes.