Skip to content
AKZ

01Interactive exhibit

Stages

Optional / parallel path

Demo Mode · YouTube (mock)

Event source

One platform feed is one source. Today the sources are the Demo Mode simulator and a YouTube live-chat connector that has only run against a local mock of Google's documented endpoints.

How a viewer event reaches a scene. All of this runs today on simulated events; no platform account is connected, and sending video out is still in progress.

02

Context & challenge

Running several interactive livestreams at once means chat, gifts and paid messages from different platforms arrive together, while every stream shows a different experience.

An event that reaches the wrong stream, or simulated money counted as real, is a defect and not a glitch. I wanted one desktop app that does all of this locally, with no account and no cloud service, where an experience is data a creator can change and never code a content pack can run.

03

Approach

Each session runs its own simulation in a separate supervised process, and render clients only display it. A page can reload or a session can crash without touching the others.

Events are untrusted. They are validated, deduplicated, written to a durable log and ledger, and routed only through an explicit source-to-session binding; an event without one is recorded and delivered nowhere. Every amount of money carries a value class, so simulated and real amounts never mix.

Every change, whether it comes from the interface or from the optional Local Control API, goes through one validated command bus. The work is split into phases; each ends with a written report, and what was only tested against a simulator or a mock is labelled as such.

04

My role

Personal project. I set the product requirements, make the architecture decisions and accept or reject each phase from its report. AI coding agents implement the phases under my direction.

05

What was delivered

Foundation and five-output test

Electron shell, command bus, SQLite storage and a secrets vault. The Local Control API is off by default. A test ran five OBS instances to a local sink on my PC and passed its gate for that light setup.

Packs, templates and runtime

Content packs are validated and never run code. A deterministic runtime replays bit for bit, and three procedural demos (Slime Lab, Dance Circle and Light Garden) run from data alone in a Three.js render client.

Interaction engine

Rules written as data turn events into actions. In a test, 1,000,106 randomised events had zero misdeliveries, and a host crash in the middle of a burst lost nothing that had been accepted.

Optional AI and voices

Characters speak scripted lines or a local model's answers, with lip sync. The scripted provider is the default, every request has a deadline and a fallback, and the app works without any AI server.

Platform connectors

A connector SDK with a conformance kit. Connections carry separate capability grants and keep credentials in the vault. YouTube live chat is built from Google's documentation and tested against a local mock, not yet against YouTube.

Demo Mode

Simulated viewers, events and money, always labelled. Any event type can be sent to a running experience to see which rules fire, which are queued or skipped, and why.

06

Engineering decisions

Simulation owns the state

A session's state lives in its own host process. Render clients only display it and can reload at any moment.

Fail closed

An event without a valid binding is recorded and delivered nowhere, and a session with an ambiguous configuration does not start.

Data over code

Experiences, rules, personalities and voices are versioned data. Content packs never contain code; executable extensions are a separate mechanism the user must authorise.

AI is optional and authorised

AI and voice sit behind bounded queues with a fallback, and a model answers only for an experience the operator has authorised for it.

07

Validated

  • At the Phase 6 acceptance on 10 November 2026: 2,075 unit and integration tests and 45 Electron end-to-end tests passed on my PC.
  • The five-output gate was recorded as passed on 8 November 2026 for one PC and a light test page. Restart and recovery took about 62 seconds against targets of 15 to 30; that is open work.
  • Phase 3 went through an independent audit and two rounds of fixes before I accepted it.

08

Roadmap: not yet completed

  • Broadcasting, in progress: profiles, destinations and video out through OBS.
  • Running the YouTube connector against YouTube, after a credential-security review.
  • The product interface (today's is a development shell), the dashboard, analytics and finance.
  • A first public release as open source under the Apache-2.0 licence.

09

Status & outcome

In development since 6 November 2026. Phases 0 and 2 to 6 are accepted and Phase 7, broadcasting, is in progress. It runs locally on simulated events; no platform account is connected and nothing is released yet.

10

Attribution & publication notes

  • The stage view on this page is an original illustration, not a screenshot of the app.
  • The repository is private for now; the approved plan is an open-source release under Apache-2.0.

Next project

CamelBot