Back to Projects

Gothic Grandma, LLC

MUSE Ecosystem

Interactive Storytelling Platform

Founder & Principal Engineer · 2025–Present · Private Platform

Go PostgreSQL (Supabase) C++20 Supabase Realtime GPU (CUDA/Metal/Vulkan) SQLite Electron React Dart/Flutter Skia
Long-Term Creative Project: Building in off-hours while employed full-time.

MUSE is a closed-source simulation platform for building living worlds where behavior emerges from deterministic causal systems—not scripted logic or probabilistic text generation. It powers both research modeling and consumer products through a unified runtime and tooling stack.

MUSE is designed and built as a full-stack platform: from low-level execution and kernel generation to human-facing visual tooling and orchestration workflows.

Execution Pipeline
  • Visual Constructor → real-time database persistence
  • Schema compiler → kernel source generation
  • Native kernel compilation → optimized binaries
  • Runtime orchestration → deterministic execution
  • Observability + live inspection tooling

Note: LLMs are used strictly for input/output translation and narration. All simulation logic, state transitions, and causal systems are deterministic and fully inspectable.

The platform enables collaborative design of complex biological systems through Constructor—a visual node-based editor with Supabase real-time subscriptions for live updates across users. Backend handles remote-first architecture (Supabase primary with local SQLite backup queue), OAuth authentication, row-level security policies, and offline resilience through Fibonacci backoff retry logic.

Hover to playTap to play

This is a MUSE Living World.

You are not controlling a character.
You influence what they notice, remember, and attempt — the world responds.

GLYPH is the reader interface for Living Worlds, built in Flutter for deep reading and embodied interaction.

Visit Gothic Grandma →

Platform Architecture

Emergence at Scale
Like Conway's Game of Life demonstrates emergence from simple rules applied to pixels, MUSE scales emergent behavior to 100,000+ entities—where societies, economies, and narratives emerge from distributed systems coordinating through shared state.

Visual → Compiled Pipeline

Visual Modeling
→
Database Schema
→
Code Generation
→
GPU/CPU Kernels
→
Runtime Execution
Declarative configuration → Optimized compilation → Deterministic execution

Communication Layers

Go Control Plane (port 8766)
REST API · JWT/OAuth auth · Multi-workbench routing · Fibonacci backoff sync (1s→30s cap)
Electron IPC Bridge
Workbench↔backend communication · Preload scripts · Secure context isolation
FONT Server (port 7777)
WebSocket · Simulation control · World state streaming · Command dispatch
Supabase Realtime
Multi-user sync · Database change broadcasts · Live collaboration updates

Core Architecture

FONT Simulation Engine (C++)
100k+ entities · Biological timing kernels · Schema→kernel code generation · Sub-100ms updates
Cross-Platform GPU
CUDA/Metal/Vulkan kernel generation · GPU-first batch processing · Parallel entity updates
PostgreSQL (Supabase)
Row-Level Security · Multi-schema (clio.*, cypher_dev.*, shared.*) · Local SQLite backup queue
Multi-Tenant Workbenches
Role-based panels · Same runtime, different capabilities · OAuth + RLS policies

Workbenches (Internal/Collaborator)

CYPHER (Engineering)
Visual system builder · Full runtime access · Performance analysis
CLIO (Operations)
Control plane · Database inspection · Multi-terminal orchestration
GRIM (Authoring) scoped
AI-assisted world creation · Semantic input · No-code content
PYTHIA (Research) scoped
Scientific instrumentation · Experiment runner · Data export

Consumer Apps (Flutter)

GLYPH (Reader)
Interactive fiction interface · Embodied reading · Living world exploration
CALLIOPE (Launcher)
World discovery · Library management · Server monitor
Designed for scale: Event-driven architecture processes 100,000+ concurrent entities in millisecond bursts. Not constrained by continuous rendering—simulation complexity scales independently of user interaction frequency. Burst computation when needed, idle otherwise— efficient resource usage by design.
Technical Foundation: Go control plane · Supabase (PostgreSQL + Realtime) · C++ simulation engine · CUDA/Metal/Vulkan kernels · Electron IPC bridge · React workbenches · Flutter consumer apps
Scale Target: 100K+ entities with emergent behavior · Biological timing · Millisecond burst execution · GPU-first architecture

What Makes MUSE Different

Deterministic Simulation, Not Generation

  • Real causality — consequences emerge from biological and psychological systems, not scripts
  • Persistent state — worlds remember everything through database-backed memory, no LLM context limits
  • Inspectable logic — trace any behavior back to root cause through explicit data flow
  • No hallucination risk — simulation truth is ground truth; LLMs only translate at boundaries

Event-Driven Architecture

  • Burst computation on prompts — processes 100,000+ entities in milliseconds when user acts
  • Efficient by design — idle when paused, no wasted cycles on continuous rendering
  • Scales independently — simulation complexity grows with world richness, not interaction frequency
  • Infrastructure-style patterns — central state management, distributed timing, resource-aware scheduling

Visual → Compiled Pipeline

  • Declarative configuration — design systems visually in CYPHER, define behavior through graphs
  • Generated execution — visual models compile to optimized GPU/CPU kernel code automatically
  • Database-driven contracts — all operations defined in SQLite schema, type-safe runtime dispatch
  • No hardcoded logic — every system emerges from schema, enabling full traceability

Multi-Tenant Platform Design

  • Role-segmented access — readers see GLYPH, engineers see CYPHER, researchers see PYTHIA
  • Same runtime core — everyone uses the same simulation instance, different permission layers
  • Control plane thinking — CLIO functions as ops dashboard for platform operations

Scientifically Grounded

  • Based on embodied cognition research — not game AI heuristics, actual perceptual and motor control models
  • Biological timing — systems execute at realistic rates (50ms reflexes, 1000ms deliberation)
  • Emergent complexity — societies, economies, cultures arise from simple rules at scale
  • Transparent models — no black boxes; every system is inspectable, verifiable, traceable
Hover to playTap to play

CYPHER Constructor — Visual system designer compiling to GPU kernels

The Ecosystem

Eight core tools spanning reader, creator, research, and engineering roles. Each role sees only what they need.

Platform Foundations vs. Product Surfaces
Platform (implemented): Runtime engine, schema compiler, control plane (CLIO), auth/RBAC layer, real-time collaboration primitives, command discovery system

Products (in alpha): GLYPH reader, CALLIOPE marketplace, GRIM authoring, PYTHIA research interface—surfaces that consume the platform

Consumer Layer

What readers experience. Consumer-facing tools are built in Flutter for reading comfort, animation smoothness, and cross-platform parity.

GLYPH Alpha

Interactive E-Reader · Flutter

Interactive fiction interface where you guide, not control. Type or speak to influence what characters notice, remember, and attempt. Highlight to annotate. Ask to inspect. Probe memory, attention, uncertainty.

CALLIOPE Alpha

Launcher & Library · Flutter

Living Worlds marketplace and library manager. Downloads worlds, manages updates, launches GLYPH. Hidden developer mode for server monitoring.

Hover or tap to play

CALLIOPE — Early prototype of the Living Worlds library (development began December 2025)

Core Runtime

FONT Beta

Simulation Runtime · C++ · Hardware-Accelerated

Core simulation engine designed for 100,000+ concurrent entities with emergent behavior. Traditional game engines handle ~1,000 scripted NPCs; FONT scales 100x through infrastructure-style patterns: temporal distribution of computation, pre-filtered batch execution, and distributed timing across GPU kernels.

Heterogeneous execution (GPU/CPU), meaning-first spatial representation, multi-timescale scheduling. The shared substrate everything runs on.

Language Layer

BABEL Alpha

AI Interface · C++ · Cross-Platform

Shared AI instrument across all tiers. Narrative agent in GLYPH, code assistant in CYPHER, operational assistant in CLIO. Permission-aware behavior per context. Designed for multilingual deployment.

System Engineering

CYPHER Alpha

Visual Systems Designer · Electron/React

Graph-based modeling environment for designing systems that deploy to FONT. Define entity capabilities, profile behaviors, tune parameters. ML/statistics for optimization—but no blackboxes. All models transparent, verifiable, traceable.

Control Plane

CLIO Beta

Developer OS · Electron · Python/Flask

Developer OS for managing the entire MUSE Ecosystem. Multi-terminal environment, database explorer, integrated AI pair programming. Background analyzers track dependencies and surface patterns for continuous improvement.

Hover to playTap to play

CLIO — Early prototype of the developer OS (development began October 2025)

Research & Authoring

PYTHIA Scoped

Research Interface · Electron

Scientific instrumentation surface. Set parameters, run experiments on FONT, export results to CSV/MATLAB/database. Same simulation core, research-grade access.

GRIM Scoped

Content Creation · Electron

AI-assisted world authoring. Creators think in semantics and description—no curves, mathematics, or sampling knowledge required. GRIM quantifies their input into data FONT uses to drive simulation.

What Problem MUSE Solves

Problem: Modern interactive fiction, educational software, and AI-driven storytelling systems are built on static scripts or probabilistic text generation. They can be immersive, but they do not simulate causality. Their characters do not truly perceive, decide, or change in response to integrated biological, psychological, and social forces. Consequences in these platforms are authored, not emergent.

Solution: MUSE enables embodied, scientifically grounded simulation where:

  • Perception, decision-making, learning, and relationships arise from real models of biology and psychology
  • Long-term change emerges from cause-and-effect, not narrative branching
  • Users can probe systems like scientists—not just consume a story
  • Worlds persist, evolve, and surprise without relying on LLM memory or hallucinated state

The result is a new medium: interactive worlds where people don't just read about perspectives—they inhabit them.

Impact

  • Built full data → execution → UI → observability → AI-assisted toolchain as a single coherent platform
  • Enabled full lifecycle traceability across development, execution, and analysis
  • Designed for long-horizon extensibility via modular tools and role-segmented permissions
  • Separated system engineering from world authoring—creators think in semantics, not mathematics

Who It's For

  • Readers — experience Living Worlds through GLYPH, interacting via natural language
  • Researchers — run experiments and export data via PYTHIA without touching code
  • Creative directors — author worlds through GRIM using semantics and description
  • System engineers — build the perceptual, behavioral, and physical systems that power everything via CYPHER and CLIO
Background: Why This Architecture

The technical architecture—event-driven execution, visual-to-compiled pipelines, multi-tenant workbenches—emerged from specific requirements: simulating 100,000 entities with biological realism requires infrastructure-style patterns. Letting domain experts interact without touching code requires role-segmented interfaces. Ensuring reproducibility requires database-driven contracts.

Building this required combining research background (embodied cognition, biological timing, affordance theory) with platform engineering thinking (event-driven architecture, central state management, declarative compilation)—both focused on making complex systems work reliably at scale.

MUSE is still early. The runtime works. The core workbenches exist. The first Living Worlds are taking shape.