Graphene

Graphene

Fluid UI and inference runtime for edge devices

Instead of static screens, Graphene lets an LLM compose a full native interface tailored to what the user actually needs. The model discovers what the device can do, builds the UI piece by piece, and adapts it on the fly. Everything renders and executes on the device itself.

Source: github.com/me-im-counting/graphene (private — contact for invite)

LLM builds a depth estimation dashboard

LLM discovers operators, builds a dashboard from "build me a depth estimation tool", then adapts it by adding a file browser on request.

LLM builds a reaction game

LLM creates a reaction game with moving targets. Registers IPC triggers on button clicks, reacts to events, updates score in real time.

Three apps built live

Three different apps — System Monitor, Color Picker, Task Manager — built back-to-back on the same runtime from different user prompts.

No templates

The model picks from buttons, lists, sliders, image views — whatever makes sense — and assembles the interface itself. Every app looks different because every request is different.

Closed loop

The model can query what operators exist on the device, read back any value it set, and register triggers that fire when the user interacts. It works with what's actually there.

Runs locally

The UI renders and inference runs on the device itself. DirectX 11, OpenCL, CPU. No server needed for the interface or the compute.

VRIn

VRIn

Real-time 2D to 3D video conversion for VR

VRIn generates per-frame depth maps from flat video using MiDaS v2 and reconstructs 3D meshes for VR headset display. Inference runs on a custom C++ engine using DirectCompute GPU shaders.

Depth estimation

MiDaS v2 real-time inference with automatic kernel fusing across CPU and DirectCompute GPU backends.

3D reconstruction

Depth-to-vertex mesh generation with per-frame geometry. Integrated Unity VR player for headset display.

Download prototype · Try in browser · youtube.com/@evr174

Infer

Infer

C++ inference engine powering both VRIn and Graphene

Infer is the compute backend shared by both projects. 40+ neural network operators running on CPU, DirectX 11, and OpenCL. ONNX model import via Python toolchain.

Originally built as a C++14 library for VRIn's MiDaS model, then rewritten to C++17 header-only for Graphene with additional backends and operator coverage.

Roadmap
Past

VRIn

  • Custom C++ inference engine
  • MiDaS v2 real-time depth
  • DirectCompute GPU backend
  • Unity VR player
Now

Graphene

  • CPU + DX11 + OpenCL backends
  • Fluid UI system
  • ONNX model import
  • Scripting engine
Future

CUDA & edge

  • CUDA backend
  • TensorRT integration
  • Jetson deployment
  • LLM-driven script generation