MUSE Ecosystem · Gothic Grandma LLC
CYPHER
Entity Systems Designer & ProfilerWhat Problem It Solves
Building biological and psychological simulation systems requires deep expertise in both domain science and GPU programming. The Gothic Grandma core team needs to design the Universal Entity—the template from which all simulated beings emerge—while continuously profiling and optimizing simulation performance.
CYPHER provides a visual modeling environment and simulation profiler for internal development. Unlike PYTHIA (designed for external researchers to run experiments and export data), CYPHER is where the core team designs, tests, and optimizes the fundamental systems that power all Living Worlds.
How It Works
Node-Based System Design with Real-Time Multi-User Collaboration
Embedded React iframe panel within the CYPHER workbench
- Node-based system design — connect processing nodes to define data flow and behavior
- Universal Entity modeling — design the core template that all simulated beings inherit
- Real-time persistence — changes save to database immediately via Supabase subscriptions
- Multi-user collaboration — multiple designers can work on same system simultaneously
- Graph layout persistence — positions and metadata survive sessions
Visual → Schema → C++ Kernels → Native Binaries
- Visual → Schema — graphs compile to SQLite/PostgreSQL schema definitions
- Schema → Kernels — automated C++ kernel source generation from schema
- Native compilation — generated code compiles to optimized GPU/CPU binaries
- Type safety — enforced at design time (React validation), compile time, and runtime
Scientific Curves: Sigmoid, Gaussian, Hill Equation, Michaelis-Menten
Rich operation library for building scientifically-grounded models
- Math operators — ADD, MULTIPLY, DIVIDE, POWER, CLAMP, MIN/MAX, LERP
- Scientific curves — sigmoid, gaussian, exponential decay, Hill equation, Michaelis-Menten
- Cognitive operators — attention weighting, belief updating, salience filtering, decay functions
- Stochastic — noise injection, probability sampling, threshold functions
6 Integrated Panels (Constructor, Inspector, Performance...)
- Constructor — visual system builder with kernel batch nodes, formula graphs, dependency visualization
- Inspector — entity/system deep inspection with Bayesian belief viewing
- Performance — FPS monitoring, entity counts, kernel execution timing
- Architecture Explorer — dependency graphs, component visualization (force/tree/layered views)
- Database Explorer — multi-database querying with SQL editor
- BABEL — AI-assisted analysis with 6 specialized modes
CYPHER vs PYTHIA — Internal Design vs External Research
- CYPHER (internal) — for Gothic Grandma core team to design and optimize Universal Entity systems
- PYTHIA (external) — for researchers to run experiments on FONT and export data to CSV/MATLAB/databases
Architecture
CYPHER runs as an Electron workbench with React-based panels. The Constructor component uses a custom node graph renderer with:
- WebSocket IPC to FONT engine (port 7777) for command execution
- Supabase real-time subscriptions for collaborative editing
- Permission-based panel access (research vs. engineering roles)
- Embedded iframe panels for specialized tools
Impact
- Non-programmers can design biological systems that execute at GPU speeds
- Full traceability from visual design through to runtime behavior
- No hardcoded logic—every system emerges from inspectable schema
- Type safety catches errors before they reach production