Xenodot Twin

Turn a real building or plant model into a live, data-bound 3D digital twin on Godot — driven by a
deliberate pipeline, not a chat box.
▶ Live demos — no install, runs in your browser (no-threads Godot/WASM, autoplaying recorded
telemetry): plant ·
duplex ·
all demos
An AI agent framework on the Claude Code SDK that works with you to build digital-twin
visualization apps on Godot — using a deliberate pipeline instead of a chat box.
It takes a real building model (IFC/BIM or CAD), imports it into a Godot 3D scene, joins it to your
master data by element id, and drives it with live time-series and recorded-history playback.
You get a running viewer you can walk through, color by live values, click an element to read its
data, and scrub back through time.
What it is honest about: this is visualization — geometry + live data + history playback.
It is not a physics or process simulator. It doesn't model airflow, structural loads, or what a
system would do under a hypothetical; it shows you what your model is and what your data says,
clearly and in 3D.
The pipeline
You don't describe a viewer and hope. You go through a short interview that cuts scope to one
buildable slice, locks a design doc, and only then hands off to a builder — and nothing is called
"done" until it passes real engine + twin gates.
idea → twin-architect interviews you, refuses vague scope, writes a one-page design doc
→ twin-import IFC/BIM → GLB + property sidecar, joined by GlobalId
→ twin-scene-optimizer measured LOD / MultiMesh / chunking to hit a frame budget
→ twin-data-binder master data + live time-series bound to the actual elements
→ twin-verify headless engine checks + join / binding / playback gates
→ you one look in the running viewer — that's your job
Design decisions move before inference, not during it. The gates are the point: a viewer that
connects but paints nothing, or a "verified" scene Godot silently dropped a property from, does not
pass.
Measured, not claimed
Numbers from the spike + benchmark findings in plugin/library/findings/
(one machine — M3 Pro, macOS/Metal, Godot 4.6.3; recipes generalize, percentages don't automatically):
- Optimize: 4.4×. A city block of repeated real BIM (114,400 mesh instances) goes 27.3 → 119.4
fps at the aerial vantage with chunked MultiMesh instancing (render-thread submit −98%). The
optimizer is measured against a stated frame budget, not eyeballed.
- Join: 100%. IFC → GLB carries the IFC GlobalId as the node name, so the model joins to a
master-data sidecar by id at ~100% of mesh nodes — verified headless as a gate, not by hand.
- Playback: sha256-gated. Every live demo above replays a recorded run of telemetry — the same
tank levels, temperatures, and valve states a live system would send. To prove that replay is
trustworthy, not just "close enough," the framework runs the exact same recording twice through the
real playback engine and takes a SHA-256 fingerprint of every value it paints, in order. If the two
fingerprints don't match byte-for-byte, the build fails before it ships. So what you're watching
isn't an animation approximating the data — it's a checked, reproducible replay of it.
- Import: ~1.1 s. A 2.3 MB sample IFC converts to GLB + property sidecar in about a second
(ifcopenshell in a Python 3.12 venv); live telemetry streams clean over a WebSocket at 10 Hz.
Quickstart
Requires Claude Code, Node 18+, and a Godot-family 4.x binary
(see Requirements).
Per-project workspace. The framework clone and the viewer it drives sit side by side under one
folder you name — the framework never invents a sibling for you:
my-twin/ ← a workspace folder you created
├── xenodot-twin/ ← this framework (the clone)
└── plant/ ← the viewer project the framework scaffolds + drives