Skip to main content

Introduction to Spatial OS

Welcome to Spatial OS, the open-source infrastructure platform for planet-scale spatial computing.

What is Spatial OS?​

Spatial OS provides the foundational services that enable developers to build persistent, shared 3D experiences across augmented reality (AR), virtual reality (VR), and mixed reality (MR) platforms.

Think of it as HTTP for the physical world β€” a protocol and infrastructure that allows applications to share spatial information and create interconnected experiences.

Key Features​

  • πŸ—ΊοΈ Spatial Anchors - Create, store, and resolve world-locked content using GPS, QR codes, or image recognition
  • πŸ” Authentication - Full user authentication with JWT tokens and role-based access control
  • πŸ‘₯ Real-time Presence - Track users in shared spaces with WebSocket-based synchronization
  • πŸšͺ Portals - Enable navigation between spatial applications
  • πŸ”Š Spatial Audio - 3D positioned sound sources in your experiences
  • πŸ”’ Zone Permissions - Fine-grained access control for spatial areas

Architecture Overview​

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ CLIENT APPS β”‚
β”‚ Unity | Unreal | Flutter | Web | etc. β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ SPATIAL OS API β”‚
β”‚ (Cloudflare Workers Edge) β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ D1 Database β”‚ Durable Objects β”‚
β”‚ (SQLite) β”‚ (Real-time State) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Why Open Source?​

We believe spatial computing infrastructure should be:

  1. Open - No vendor lock-in, community-driven development
  2. Affordable - Zero per-anchor costs, pay only for compute
  3. Interoperable - Content from one app visible to others
  4. Global - Edge-deployed for sub-50ms latency worldwide

Next Steps​