%%{init: {"theme": "base", "themeVariables": {"background": "#fffdf7", "primaryTextColor": "#222222", "fontFamily": "Arial, sans-serif", "lineColor": "#565656"}}}%% flowchart TD U["User premise
+ audience actions"] --> B["Show Builder"] B --> D["Director Agent"] D --> A["Actor Agents"] A --> Tools["Theatrical Tools"] Tools --> Stage["Stage Renderer
+ TTS"] Stage --> Output["Transcript
+ Puppet Stage"] D --> Trace["Behind the Curtain Trace"] A --> Trace Tools --> Trace Stage --> Trace HF["HF API
Qwen/Qwen3-4B-Instruct-2507:nscale"] --> Runtime["Runtime + fallback layer"] ZG["ZeroGPU or local
OpenBMB path"] --> Runtime Fallback["Deterministic
fallback"] --> Runtime Runtime --> D Runtime --> A classDef stage fill:#fff2b8,stroke:#2c2c2c,color:#222222,stroke-width:2px; classDef agent fill:#d9f3df,stroke:#2c2c2c,color:#222222,stroke-width:2px; classDef tool fill:#dcecff,stroke:#2c2c2c,color:#222222,stroke-width:2px; classDef trace fill:#f9e1ee,stroke:#2c2c2c,color:#222222,stroke-width:2px; classDef runtime fill:#ece8ff,stroke:#2c2c2c,color:#222222,stroke-width:2px; class U,B,Stage,Output stage; class D,A agent; class Tools tool; class Trace trace; class Runtime,HF,ZG runtime; class Fallback runtime;