"Spatial Computing OS for the AI Era."
RealityOS is a next-generation interface that reimagines how we interact with AI. Instead of chat bubbles, it uses a spatial canvas where images, text, and data become first-class citizens called Registers.
Users express Intent in natural language, and the OS orchestrates Programs—dynamic graphs of AI operations (Segmentation, Logic, Generation)—to manipulatre reality in real-time.
- Spatial Interface: A seamless 2D/3D hybrid canvas built with React Three Fiber. Switch views instantly to inspect depth, layer order, and relationships.
- Register-Based Logic: Data entities are encapsulated as "Registers" with full provenance tracking. Know exactly where every pixel came from.
- Visual Programming: Connect operations (Ops) with wires to create complex processing pipelines.
- Multimodal Intelligence: Built-in integration with Google Gemini 1.5 Pro/Flash for reasoning and Fal.ai (SAM3) for precise segmentation.
- Graph State Persistence: Your entire session state is saved as a graph, allowing for resumption and sharing.
RealityOS follows a modern, serverless architecture designed for scalability and performance.
- Framework: React 19 + Vite + TypeScript
- 3D Engine: Three.js + React Three Fiber (R3F)
- State Management: Zustand (Global Store)
- Styling: TailwindCSS + Framer Motion
- Logic: AWS Lambda (Node.js 20.x) act as secure proxies for AI model inference.
- Storage: AWS S3 for persistent state and asset hosting.
- CDN: AWS CloudFront for global edge delivery.
- Reasoning: Google Gemini 1.5 Pro & Flash
- Vision: Fal.ai (Segment Almost Anything Model 3)
- Node.js v20+
- npm or yarn
- AWS Account (for deployment)
-
Clone the repository
git clone https://github.com/yosun/RealityOS.git cd RealityOS/reality-os -
Install dependencies
npm install
-
Configure Environment Create a
.envfile inreality-os/with your API keys (see Configuration below). -
Run Development Server
npm run dev
Open http://localhost:5173 to view it in the browser.
Create a .env file in the reality-os directory.
Security Note: Never commit
.envto version control.
Required Keys:
VITE_FAL_KEY: API Key for Fal.ai services.VITE_AWS_ACCESS_KEY_ID: AWS Access Key.VITE_AWS_SECRET_ACCESS_KEY: AWS Secret Key.VITE_S3_BUCKET_NAME: Name of your S3 bucket.VITE_AWS_REGION: AWS Region (e.g.,us-east-1).VITE_LAMBDA_URL: URL of the deployed Lambda proxy.
RealityOS is designed for serverless deployment on AWS.
- Deploy Lambda Backend:
./deploy_lambda.sh
- Deploy Static Frontend:
./deploy_static.sh
For full details, see DEPLOY.md.
Contributions are welcome! Please open an issue or submit a pull request for any improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
