Follow one observation from raw Mac metrics through quantization, token encoding, transformer attention, anomaly scoring, to final verdict. Six stages. One pipe. The complete KIRI pipeline in motion.
# The complete pipeline in ~10 lines obs = collect_local() # OBSERVE tokens = lang.encode(obs) # QUANTIZE + ENCODE for tok in tokens: # ATTEND logits = atom.forward(tok, pos, keys, vals) prob = atom._softmax(logits) # SCORE score = -log(prob[actual]) # VERDICT