Mindscape Collective is now The Consciousness Library. Same library, new name. You may need to sign in again. About the change
Skip to content

OSDEE: Open Source Dream Engineering Engine – A Bidirectional Edge-AI Brain-Computer Interface for In-Situ Sleep Cybernetics and EOG-Syntax Communication

Daria Pinakhina

Zenodo (CERN European Organization for Nuclear Research) June 26, 2026 DOI: 10.5281/zenodo.20922745 (opens in new tab) via OpenAlex

Summary

AI-generated from the abstract

The OSDEE (Open Source Dream Engineering Engine) is an open-source hardware and software platform that functions as a bidirectional Brain-Computer Interface during sleep. It introduces an open-API operating system for sleep cybernetics, enabling real-time, user-directed exploration of consciousness and lucid dreaming. Key innovations include an EOG-syntax for asynchronous command detection using a Wake-Pattern to differentiate intentional commands from spontaneous REM eye movements, edge computing with an ESP32 microcontroller as a biometric router, an agnostic multimodal output API supporting tACS, microcurrents, and audiovisual stimulation, and in-situ AI training where lucid dreamers provide subjective feedback via EOG-syntax to optimize personalized stimulation protocols. The platform is explicitly developed as an open-source research platform to ensure freedom-to-operate for the global neurotech community.

Study at a glance

Characteristics Theoretical or philosophical paper Peer reviewed
Keywords Asynchronous communication Interface matter Brain–computer interface Microcontroller Interrupt
Key finding Proposes that an open-source bidirectional BCI platform using asynchronous EOG-syntax, edge computing, and in-situ AI training can enable real-time, user-directed exploration of lucid dreaming and sleep cybernetics.

Abstract

Abstract: The OSDEE (Open Source Dream Engineering Engine) is an open-source hardware and software platform designed to function as a bidirectional Brain-Computer Interface (BCI) during sleep. Moving beyond passive polysomnography, OSDEE introduces an open-API "operating system" for sleep cybernetics. By integrating edge computing with multimodal stimulation, OSDEE enables real-time, user-directed exploration of consciousness and lucid dreaming. This publication establishes open-source prior art for several novel paradigms in neurotechnology, specifically regarding asynchronous in-dream human-computer interaction, EOG-syntax, and in-situ machine learning. Core Architectural Innovations: 1. EOG-Syntax and Asynchronous Command Detection ("Wake-Pattern" Key): Traditional sleep research utilizes basic eye-movement patterns merely as discrete triggers to verify lucid dreaming. OSDEE fundamentally expands this by establishing a formal EOG (Electrooculography) command syntax. A critical engineering challenge in sleep BCI is differentiating intentional commands from spontaneous REM eye movements (which mirror the visual consensus reality of the dream). To solve this, OSDEE employs an Asynchronous BCI paradigm utilizing an "Activation Key" or "Wake-Pattern." A dedicated neural network continuously monitors the EOG stream in standby mode. When the user executes a highly deliberate, unnatural sequence of eye movements (the Wake-Pattern), the system activates a temporary "command window." This allows the system to receive functional EOG-syntax commands while eliminating false positives from regular dream activity. 2. Edge AI, Hardware Architecture, and Distributed Biometric Routing: The hardware architecture departs from monolithic sleep trackers. The wearable mask, equipped with a Wi-Fi/BLE microcontroller (specifically utilizing ESP32, hardware-optimized to prevent RF interference with sensitive EOG/EEG electrodes), functions primarily as a biometric router and edge-processing node. It streams raw or pre-processed biometric data (EOG, EEG) to external computational nodes (such as an NVIDIA Jetson Nano, local PC, or cloud server). These external nodes handle heavy computational tasks, such as real-time sleep staging, neural network training, and dynamic response generation. 3. Agnostic Multimodal Output API (tACS, Microcurrents, Audiovisual): Unlike clinical devices restricted to patented therapeutic frequencies, OSDEE is strictly frequency- and modality-agnostic. The platform supports multi-channel generation of arbitrary signals, including tACS (Transcranial Alternating Current Stimulation), microcurrents, external LED control, and audio streams. OSDEE operates as an open hardware infrastructure layer, leaving specific stimulation protocols to the discretion of the user or researcher. 4. In-Situ AI Training via Subjective Dreamer Feedback: OSDEE introduces a novel machine learning paradigm where the sleeping user acts as an "online annotator." While in a lucid dream, the user experiences various multimodal stimuli (e.g., electrical, auditory, visual) and immediately provides subjective feedback using the aforementioned EOG-syntax. External ML models receive these in-dream labels in real-time, allowing neural networks to adapt and optimize personalized stimulation protocols dynamically. Regulatory Positioning: OSDEE is explicitly developed as an Open Source Research platform. The architectural combination of asynchronous EOG-syntax, specific hardware utilization (ESP32 routing), in-situ AI training, and open tACS/multimodal output capabilities outlined herein is intended to remain in the public domain, ensuring freedom-to-operate for the global neurotech community.

Comments

No comments yet.

Log in to comment