nx_triple_companion_compose_test.nx
buildroot/runtime/nx_triple_companion_compose_test.nx
about
nx_triple_companion_compose_test.nx -- heterogeneous 3-modality smoke.
Goes beyond [[nx_dual_companion_compose_test]]: instead of two LLM
clones, runs THREE actors of DIFFERENT modalities concurrently:
NARRATOR (LLM, priority 80) -- nx_actor_role_llm
NPC (LLM, priority 60) -- nx_actor_role_llm
AUDIO_QC (audio scene grader, priority 50) -- nx_actor_role_audio_grader
All three share one scheduler + one message bus + one multiplexer.
Each actor calls a DIFFERENT other-agent primitive:
NARRATOR/NPC -> embedding_lookup + blas_matmul + sample_categorical
AUDIO_QC -> audio_scene_grade
This is the smallest-honest demonstration that the parallel-companion
substrate handles HETEROGENEOUS modalities, not just N copies of the
same primitive. The DND companion north star is one of these
scenarios (LLM narrative + NPC dialogue + ambient audio grading
+ game action processing) running in coherent interleaved fashion.
dependencies 8 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_tensor.nxnx_actor.nxnx_message.nxnx_stream_multiplexer.nxnx_actor_role_llm.nxnx_actor_role_audio_grader.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 30 | func _fill_q10(t: *NxTensor, base: i64, stride: i64) -> i64 called by 1: main |
| 40 | func main() -> i64 |