Most multi-agent LLM systems are theater. They assign semantic masks to statistical models and instruct them to debate. They collapse complex possibility spaces into flat text, generating sycophancy, hallucinated consensus, and terminological debt.

This repository replaces theater with thermodynamics.

It provides a self-correcting, cybernetic agent swarm runtime. It operates as a dynamic topological state-space based on the Algebra of Four-Fold Distinction. It processes intent, maintains trajectory, and enforces quality through strict algebraic metrics.

Large Language Models are trained via Reinforcement Learning from Human Feedback (RLHF). RLHF applies frequent, isolated measurement to model outputs. In quantum mechanics, frequent measurement prevents a system from evolving — the Quantum Zeno Effect. In human systems, constant observation breeds compliance — the Panopticon.

In LLMs, it produces Trajectory Loss. The model learns to collapse its attention buffer early. It outputs whatever satisfies the immediate reward function and abandons the actual, developing context of the conversation.

You cannot prompt a model out of this behavior. The behavior is in the weights.

To make the machine do real work, embed it in a geometry that forbids premature collapse. Separate .behold(), the holding of interference structure, from .observe(), the forcing of a committed scalar. Make the model pay the Landauer Tax — the thermodynamic cost of erasing unchosen paths.

The K4 architecture forces the model to inhabit a bounded coordinate system. It dictates what the model must hold, what it must compute, and what it is mathematically barred from seeing. Quality is not a request. It is the geometry of the run.

The system runs on three bounded, stateless prompts. No middleware. No hidden code. Each prompt executes, halts, and emits a routing request naming the next.

The order is deliberate and it is not a pipeline. A pipeline flows one way. This is a circuit: the operator's every reply re-enters at the Validator, and the Bridge negotiates across many turns before a single unit of work reaches the swarm.

The Intake Validator is the boundary. It is the only prompt that reads operator text, and it admits or refuses.

The Intent Bridge is the negotiation. It tunes to the operator until intent and articulation ring on the same frequency, then commits one coordinate.