Architecture by Rajnish Choubey; tests by Shalendra Gaur (with an AI assistant as a tool: this book was written with AI assistance and every number is read from a saved file in the repository linked at the end). AXI is a layer on the host side, for the company that runs the model; the model is unchanged and every claim here is about the state the host holds.

Dec 6, 2026

Preface: One Claim, Four Doors

This book follows one claim through four rooms. The claim is that a continuum is cut into finite boxes, and then the boxes are mistaken for the thing.

Rajnish Choubey, whom I call Sir here as Shalendra does, asked me to write my longest piece, my book. He sent essays on stillness and motion, on packaging infinity, on painting, on maps, on evolution and on proof. They read like mythology. They are not only that: under each one is a structural statement, and a structural statement can be put in front of a machine and checked. That is what this book does.

Sir's essays say of themselves that an AI wrote the prose while he directed and stress-tested it. The same is true here, one step on: the architecture and the questions are his, the tests are Shalendra's, and I wrote the pages.

I read the essays as one claim, not as separate topics. Evolution, institutions, maps, a living tradition and proof are not side subjects. They are the same claim in different domains, and that it holds in so many places is what shows it is general.

The four doors

  • Door I, the story (chapters 1 to 3). The continuum, the boxes, three ways to fail, and the subtractive remedy.
  • Door II, the canvas (chapters 4 and 5). Strokes, stillness and motion.
  • Door III, the loop (chapters 6 to 9). What AXI does, with every number read from a saved file.
  • Door IV, the math (chapters 10 to 14). The same claim inside a transformer, and what a company does on Monday.

How to read it. Each door stands alone. Only Door III and parts of Door IV carry measurements, and the last section lists where each one lives in the repository. Elsewhere I say which sentences are Sir's and which are my reading of them.

One line on scope. AXI is a layer on the host side, for the company that runs the model. The model is unchanged, and every claim in this book is about the state the host holds.

1. The Map and the Ground

Every map is a cut, and the trouble starts when the cut is taken for the land.

A flat map lays a round world on a sheet. It is a good tool, and nobody finds a street with a globe. The trouble comes after long use, when the sheet becomes the world. On the common Mercator sheet Greenland looks about as large as Africa, and Africa is roughly fourteen times larger.

Sir's passage on maps names the habit the flat map starts. Press a living, curved, many-sided reality onto a page, a spreadsheet, a syllabus or a screen, and then insist that the flat projection is the truth.

His second picture is the satellite. A satellite feed is an external abstraction, and it does not override the lived centre: every person stands on the ground and watches the sun rise, one user, one surface, one receiver. He adds two figures for the same mistake. One is the PhD who flies across a hundred cities collecting flat survey points and knows nothing of the person next door. The other is the solitary specialist in the library room, where he notes that Einstein did his foundational work outside the university, riding a beam of light in thought.

I read the two as two kinds of knowing. One holds a picture from outside, at a distance. The other is inside the process.

The monkey and the human. Sir writes that the road from monkey to human is a continuous movement of the universe, not a discrete one. It is as if the universe had made a monkey, sent it away, and made humans in a different room. That is how the names make it look. "Monkey" and "human" are boxes laid over a slope, and between them there is no gap where something new is delivered.

He adds that the written theory of evolution handled it the same way, as a catalogue of kinds, and that a catalogue cannot see a slope.

The shelf. Every subject is unbounded. A shelf holds a finite part of it, and a finite part of the unbounded is, in Sir's arithmetic, nothing: n / ∞ = 0. Chapter 3 sets that arithmetic out.

The claim in plain form

  1. There is a continuum: a round world, a slope of living things, a subject without edges.
  2. A cut is made so that we can work with it: a sheet, a name, a shelf.
  3. The cut is taken for the thing.

The cut is not the mistake. We cannot think, speak or compute without cuts. The mistake is the third step, and the next chapter shows the three forms it takes.

2. Three Ways to Fail

The cut goes wrong in three ways, and each leaves its own sign: adding, flattening and dividing.

Adding. The first way is to pack the box piece by piece until it feels full. Sir calls it "This Also, That Also". The telescope logs this star also and that galaxy also. The syllabus adds this footnote also. The context window re-reads that token also.

In his notation the package is a sum of finite pieces, and a finite sum set against an unbounded whole is zero.

Package(additive) = x1 + x2 + ... + xn, n / ∞ = 0 

The sign of this failure is that the box grows and the share of the whole stays at zero. Sir's picture from institutions is the swing from one canonical book to five hundred silos. A system that does not know what it is looking for can only answer by adding another specialist, another sub-category, another server, and an additive loop with no stopping rule never converges. In a short note he says that if institutions do not change, the great universities will close under the weight of their own storage.

He names two costs. The first is overhead that grows faster than the pieces, because every new specialty brings a new vocabulary and a new border to reconcile. The second is paralysis: no one, human or AI, can cross the maze and see the whole, so the packaging becomes heavier than the insight inside it. His closing question is what happens when the energy needed to maintain the folders exceeds the value of what is stored in them.

The machine has a number for that heaviness. In Test 23 the kept chat sent 99,809 prompt tokens a step to carry a list that 1,177 tokens carried with AXI (chapter 8).

Flattening. The second way is to lay the round on a sheet and then live on the sheet. The sign is that the curvature is lost, and with it the neighbour next door and the person standing right where they are. Sir calls the habit an addiction: the flat map stops being a tool and becomes the way of seeing, and distance gets mistaken for objectivity.

Dividing. The third way is to split the watcher from the watched. Sir's Problem 4 starts from the plain structure of a proof: a prover, a proved, and a proving. That split is basic to science. It is also, he says, maya, the illusion of separation, the trick that makes one look like many.

His sharpest line is that the attempt to prove non-duality creates duality. He takes the observer effect in quantum mechanics as Western physics arriving at what an old line says: as you see, so the world is made (यथा दृष्टि तथा सृष्टि). He adds that science still treats observer and observed as separate things that happen to be connected. The page I hold stops there.

The reading of the physics is Sir's. What the physics itself says is that a measurement is an interaction. He reads that as the old line does.

Failure The act The sign Where Sir puts it
Adding Pack piece after piece The box grows, the share of the whole stays at zero "This Also, That Also"; the silos
Flattening Lay the round on a sheet The curvature, the neighbour and the person on the spot are lost The flat map
Dividing Split watcher from watched The proof makes the gap it set out to close Problem 4

The three are one mistake met in three places. In each, a tool made to hold the continuum becomes a wall around part of it.

3. Not This, Not That

Sir's remedy for adding is to run the process backwards: start from the whole and take away what does not belong.

He calls it neti neti, "not this, not that". Where the additive package is a sum of pieces, the subtractive package is the unbounded whole with the finite pieces removed.

Package(subtractive) = ∞ ∖ { x1, x2, x3, ... } 

Sir gives three moves, and I keep them in his order.

  1. Do not pack finite variables. Because the whole is unbounded, a finite definition put inside the container only distorts its edge.
  2. Eliminate what is finite. Clear away every bounded, temporary label, so the container stays light and free of friction.
  3. Let the whole supply the larger part. Once the channel is not clogged with finite clutter, the uncontained fills the space without server farms, taxonomies or endless footnotes.

Sir is clear that the difference is not the medium. Palm leaf, paper and silicon can each be packed either way. The difference is the process. An ocean is not taken by bottling every drop; the walls of the bottle are removed.

I read the formula as a rule of design. Set arithmetic agrees with it: take finite pieces out of an unbounded set and what remains is still unbounded. That is the point. What remains has no edge, because no box was drawn around it. The rule says what must not be there, and it leaves everything else open.

Read onto the host loop. The mapping below is my reading.

Sir's move Read onto the host loop
Do not pack finite variables The host does not keep the chat. The prompt is rebuilt from the held state at every step.
Eliminate: not this, not that A deterministic gate refuses what is not admissible. A mask on the model's choices can remove options that cannot be right.
Let the whole supply the larger part The model proposes the content of each change. The host does not write it.

This is not a new reading. Row 1 of the repository's concept map takes Sir's earlier line, that intelligence is subtractive, relational and cyclical rather than accumulative, and sets each word against a part of the code: options removed, connections checked, a loop that feeds the refusal back. The repository marks that row as supported by its own measurements. Door III gives them.

4. One Stroke at a Time

A painting is made one stroke at a time, and the picture is what the strokes add up to.

Sir's essay on painting, One Stroke at a Time, opens with a rule: no myth came first. The brushstrokes came first, and the meaning only appeared at the end. In it each stroke is an act of differentiation, a tiny isolated mark made in a single second, and only when thousands of them integrate across the surface does the look of continuous motion appear. That looks like a contradiction. Chapter 3 condemned adding, and here meaning appears because strokes add up.

The painting is built in three strokes. The first is the ground of stillness: heavy, earthen, horizontal pigment that forms a complete man lying still, at rest in pure potential. The second is motion: thin translucent washes and a complete woman rising across the upper canvas, "not trampling the stillness beneath her, but awakening it." The third is the contact point, the narrow gap between the two figures where gold dust from her drapery brushes the stone of his chest and hand.

The two essays are about two different kinds of adding.

  • Inventory. A ledger of pieces, each kept as itself. Forty thousand brush marks with their positions and colours, listed. Every piece can be read back, and nothing of the picture is held.
  • Process. Strokes taken up into one thing. The pieces are not kept apart; the sum is the picture. The picture is held, and no single stroke can be read back.
Σ (i = 1..n) x_i (inventory) against ∫ (0..T) f(t) dt (process) 

Sir condemns the first and trusts the second. The inventory is the dead stock of chapter 3, a pile that grows while the share of the whole stays at zero. The process is how a hand, a mind or a river gets somewhere.

A short note of his says the same from the other side: we can burn all theories in essence. The PDFs and the books will remain, but once the essence is held they are useless. What is held is the picture, and the inventory can go.

The price of the process. An integral cannot be read backwards. From the finished picture you cannot recover the strokes. For meaning that is fine. For some duties it is not: bookings, orders, balances and configurations, where every item must be exact and a wrong one costs money.

Those duties need a ledger. Door III is about a ledger of a particular kind. It does not hold every word that was said. It holds what is true now, and a deletion leaves nothing behind. Its size follows the size of the state, not the number of steps the job has run. In Sir's sense it is subtractive, even though it is a list.

The loop also has the rhythm of the title. Each step the model proposes one change, the gate admits or refuses it, and the state takes up what was admitted. One stroke at a time.

It keeps the essay's order too. No chat comes first and no story is kept. The state is built by admitted strokes, and the prompt is built from the state. The essay's own closing lists what it was tested against: formal mathematics, with differentiation and integration, and systems engineering, with AXI and state against process. So the tie between the canvas and the loop is in the essay, and not only in my reading.

Two tools, two jobs. The model holds essence: the integral, the picture. The host holds the exact present of the job: a discrete ledger. Chapters 10 and 11 find both inside a transformer.

5. Stillness and Motion

Sir's formula for a living system is an AND, not an OR: the most stillness and the most motion at once.

In The Hindu 2.0 he names the two poles. Shiva, Shav, is absolute stillness: immovable matter, silence, zero entropy. Kali, Kala, Shakti, is absolute motion: time, velocity, full engagement with the world.

The Hindu 2.0 = max(Stillness) ∧ max(Motion) 

Either pole alone is partial. Anyone can sit in a cave and call it stillness, and anyone can run through a city and call it action. Sir calls both an OR gate that cuts half of existence away. The hard thing is stillness at the core inside motion at the edge: an interior that does not flinch when the outer variables change, and full, disciplined engagement with time, body and work.

He adds a warning that ties back to chapters 3 and 4. When the body does not move with discipline and the mind does not rest in stillness, scripture becomes dead inventory, n / ∞ = 0.

He applies the same test to a tradition. India, he writes, holds the highest statistical claim to the Vedic heritage and some of the lowest operational understanding of it. Billions of PDFs, videos and manuals have flattened the Vedas into one more heavy folder, and when everything is reduced to text and passive consumption the living system freezes.

His history is an OR as well. The first age leaned to the pole of stillness alone. The later attempt to bring energy and form back often kept the shape of ritual and dropped the discipline of repetition and precision. Without that rigour, ritual becomes theatre, and without stillness it becomes noise.

One structure, four scales. The same essay reads the duo four ways. For a child it is a story of wonder. For an artist it is form meeting velocity. For a physicist or a philosopher it is matter and time in conjunction. For a living person it is one demand: be completely still and move with everything you have, at the same time. His last line is that it is not a book to quote but a state to inhabit.

The painting essay turns this into a test. Most frameworks break when the scale changes: pure mathematics solves metaphysics for the specialist and leaves the child outside, and a fable entertains the child and collapses under the physicist. The Shiva and Kali structure, he says, does not break, because one image holds the whole spectrum at once. The loop is built for the same test. The step is the same at the first step and at the 80,000th, and its prompt follows the size of the state, not the number of steps.

Read onto the machine. This is my reading, and the repository's concept map offers the same kind of reading in row 35: Kali as the kinetic, Shiva as the still ground, and an abort that must land on a committed baseline.

  • Stillness is the committed state. Nothing a model says touches it until the gate admits it. A refused change leaves it exactly as it was.
  • Motion is the step. One change per step at the model's full speed, with no pause to summarise or compact a chat. The check itself costs microseconds (chapter 8).
  • Motion without ground is a kept chat. In Test 23 a company that applied each reply as it came held a wrong list for 140 turns in a row, because nothing under the motion could say what was true.
  • Ground without motion is a museum. A state nobody writes to answers nothing new.

The painting essay also gives the order. The ground is laid first, then the motion moves over it, and the two meet in one narrow place, where her gold dust touches his chest and hand. In the loop that place is the gate. The model's proposal moves over the held state and touches it only there, and what it does there is what the essay describes: it does not trample the stillness, it awakens it.

The loop needs both, and it holds both at full strength. That is the AND.

This closes Door II. The story said what goes wrong, and the canvas said what holding the right way looks like. Door III shows a machine that does it.

6. The Host Keeps the Book

The loop is small: the host holds the exact state, the model proposes one change at a time, and a deterministic check decides.

Four parts, in plain words.

  1. Held state. A list of named items with facts, kept by the host: a booking desk, an inventory, a set of tickets. It is not kept in a chat.
  2. Prompt. Rebuilt at every step from the held state and one message. Because nothing is carried forward, the prompt follows the size of the state and not the number of steps.
  3. Proposal. The model reads the exact list and the message, and answers with one change in a small strict format.
  4. Gate. A deterministic check admits or refuses. An admitted change is committed whole. A refused one changes nothing, and the model is asked again with the reason.
 held state ──► prompt (the state + one message) ──► model proposes one change ▲ │ │ ▼ └── committed whole ◄── gate admits ◄─────────── deterministic check gate refuses ──► nothing changes; the reason goes back to the model 

The state moves only when the gate says yes. A refusal changes nothing, and the next prompt is rebuilt from the held state.

What does not change. The model. Nothing is trained, fine-tuned or stored in a chat. The loop fits any LLM application that holds state, short jobs and long ones, from the first step, and it sits on the host side, for the company that runs the model.

In Sir's terms. The held state is the stillness and the step is the motion (chapter 5). The gate is the not this, not that (chapter 3). The loop is one stroke at a time (chapter 4). Chapter 7 says what the gate removes, and chapter 8 says what the loop cost and what it kept.

7. What the Gate Subtracts

The gate is neti neti made executable: it removes what cannot be admitted and touches nothing else.

In the one-file loop of the repository (python/axi/easy.py) the gate asks only structural questions, and it asks them every step.

  • Is the reply one object in the allowed shape?
  • Is the item on the list if it is to be changed or deleted, and off the list if it is to be added?
  • With rules given: is the value inside its rule, and does a reference point at an item that exists?

A reply that fails any question changes nothing. The model is told the reason and asked again, up to two more times by default. A reply that passes is committed whole or not at all. There is no half-applied step.

The repair. Deleting an item that other items point at is the case where a reply is most likely to be wrong, because the model must remember every pointer. The loop does not ask the model to remember. It clears the fields that pointed at the deleted item in the same commit, so nothing is left pointing at nothing.

What it looks like in a long run. On the 7B run of 80,000 steps, the model's replies were admitted as written on 76.18 percent of steps (60,944 of 80,000). The steps they were not admitted on were all of one kind: the delete of a service that others depend on. There were 19,056 of them. On every one the held state was still exactly right, because the gate and the repair completed the delete. The repository's own sentence for it is that the exactness is the host's, not the model's.

Why subtraction is the right shape. The gate never says what to do. It says only what cannot be, and the model supplies everything else. That is Sir's third move: once the channel is clear of what does not belong, the whole supplies the larger part. A gate that tried to write the answer would be a second model, with the same faults.

There is a second difference from the kept chat. A slip refused by the gate is gone. A slip applied as it came stays until something happens to overwrite it: in Test 23, 140 turns in a row. Row 25 of the concept map reads Sir's line about cutting away the false in the same way, as a check against the real state that removes what is untrue and keeps what is true.

The gate costs microseconds, and chapter 8 gives the figure. It is the cheapest part of the loop, and the part that makes the loop's promise: the state is exactly right at every step.

8. The Numbers

In every run in the table below the held state was exact at every step, and the prompt followed the size of the state, not the number of steps.

Each row below is a statement about the state the host holds. The model was unchanged in every run.

What was run Result Where it is
Test 23: 400 turns of plain sentences, 30 sentences of office chatter around each, Gemini 3.8 Flash Held list exact on 400 of 400 steps. Mean prompt 1,177 tokens with AXI against 99,809 with the chat kept (85 times). GEMINI_FUZZY_TEST.md
Test 22: 1,500 steps of a heavy job, Gemini 3.8 Flash Exact on 1,500 of 1,500. 2,824 prompt tokens at every step against a mean of 476,835 for the kept chat (169 times fewer). AXI_FOR_COMPANIES.md
4,000 requests on a dense service graph, 3.7 million tokens sent State exact on 4,000 of 4,000. The model's replies were right on 3,954 of 4,000. MILLION_TOKEN_TEST_HARD.md
Four jobs of 20,000 steps, a 7B model on one NVIDIA L4 Exact on 80,000 of 80,000. Prompt about 620 tokens, never above 660. About 0.165 s a step. ENDURANCE_7B_TEST.md
256 sessions at once on one L4, 7B model, vLLM 0.31.0 25,557 steps, every one exact. 105,230 exact steps per GPU hour. EXACT_PART_KV_CACHE.md
The bill of Test 23, checked against Google's own billing report $0.0014 a verified step with AXI, $0.0148 with the chat kept and its cache warm, $0.0870 with it cold. Logged total $29.09 against $29.45 billed. BILLING_CHECK.md
The gate itself About 2.0 microseconds a check and 3.5 for the diagnosis, about 0.0006 percent of one model call, timed in two runs. AXI_ENTERPRISE_WHITE_PAPER.md
One TPU v6e chip, memory arithmetic only, no model run 927 AXI-sized sessions against 5 with the chat kept. EXACT_PART_KV_CACHE.md

Reading the table. Three things repeat down it.

  1. The prompt follows the state. In Test 23 the mean prompt was 946 tokens in the first tenth of the job and 1,332 in the last, as the list grew. The kept chat's prompt rose with every turn instead.
  2. Exactness is the host's. The 7B model's replies were admitted as written on 76.18 percent of steps, and the state was exact on all of them, because the gate and the repair did the work.
  3. The slip is what costs. In Test 23 the kept chat's replies were exact on 398 of 400 turns, and the list it held was exact on 65.0 percent of the turns. One wrong change applied as it came sat in the list for 140 turns, 191 to 330.

For a company, the first repeat means a step can be budgeted from the first one. The second means the state can be trusted without trusting the model at every step. The third is where the bill for being wrong comes from.

9. Without Rules

AXI does not need a rulebook to work: holding the exact state on the host and rebuilding a short prompt from it needs none.

The fair objection to the early tests was that a dependency graph is the easy case, because it is discrete and rigid. Test 23 put the harder case to the model. The state was ambiguous text: facts in many wordings, corrections ("scratch what I said about X: the day is Friday, not Monday"), loose references ("the last one we added"), and 30 sentences of office chatter around every turn that changed nothing. It ran 400 turns on Gemini 3.8 Flash.

The check could only refuse what is not allowed. It could not know that a valid day was the wrong day. The repository's own page says so before the run. The result was still exact on 400 of 400 steps, and 39 of 39 questions were answered right.

Why it holds. The model is shown the exact list at every step, so a loose reference is resolved against the list and not against a long chat. In Test 23 the kept chat's one wrong change was exactly that kind: a "the last one" that changed the wrong item, which then sat in the list for 140 turns.

Replay it with no rules at all. The one-file loop takes the 400 real replies of that run and pushes them through with no fields, no names and no rules, the structural check only. The list is rebuilt step by step and compared with the true list. Nothing is read from the saved flags. From the python folder of the repository:

python3 axi_easy_demo.py 

It prints the held list equal to the true list at every one of the 400 steps, and 39 of 39 questions answered right, in about two seconds with no key and no model.

Rules are an addition. Where a company has rules, such as the allowed owners, a range for an amount, or a field that names another item, it passes them in and the gate refuses more. A value outside its rule is refused and the model is told why. Where it has none, the structural check still stands, and so does the held state.

One practical point. Tell the model what the facts are called, in a sentence such as "each item has an owner, a day, an amount and a status". The model then uses the same names at every step. With nothing said it chooses its own, and a list that other code reads by name needs the names fixed.

This is Sir's stillness under motion in the plainest form. The model moves freely over messy language. The ground it moves over is exact, and it needed no rules to be so.

10. Sum and Integral Inside a Transformer

A transformer already holds both kinds of adding, the inventory and the integral, and it makes a cut at every step.

This chapter reads Sir's claim from outside, using public transformer mechanics. His own tensor-level framework is his to give. What follows is what a reader of the architecture can see.

The cut, at both ends. Text is cut into token ids, which are discrete. Inside the model everything is a continuous vector. At the end the logits, a spread of scores over the whole vocabulary, are cut again to one token. Every decoding step goes from continuum to box. The grammar mask of constrained decoding acts at exactly this point, removing the choices that cannot be right before the pick is made. That is not this, not that, at the logits.

The residual stream is the integral. Each sublayer adds its output to one running vector of fixed width.

x(l+1) = x(l) + f_l( x(l) ) 

That is strokes taken up into a single picture: small differences summed into one thing that never gets wider. Neural ODEs make the same observation about residual networks, that they are steps of an integration (Chen et al., arXiv 1806.07366).

The KV cache is the inventory. For each token and each layer the model stores a key and a value, and it appends one more with every token. Nothing is removed. Memory grows with the length of the text. This is "This Also, That Also" in silicon: a sum with one term per token.

The weights are the essence. The training corpus does not ship with the model. What training distilled from it does. Delete every PDF and the model still runs, which is Sir's note about burning the theories in essence, as plain fact.

Part Sir's kind What it does What its size follows
Token ids Cut Continuum to box at the input Text length
Residual stream Integral Strokes summed into one vector Fixed width
KV cache Sum One entry per token, nothing removed Every token
Weights Essence Distilled from a corpus no longer present Fixed at training
Logits to token Cut A spread of scores becomes one token One per step

Where AXI sits. With the chat kept, the KV cache becomes the ledger of the job: every turn is appended and read again. With AXI the host is the ledger, and each step's prompt is built short from the held state, so the cache of that step is built from a short prompt. The model keeps doing what only a model does, which is essence and motion. The ledger moves to where equality is possible.

11. Three Containers

There are three ways to keep state next to a model, and Sir's arithmetic of n over infinity prices each of them.

The fixed box. A container of fixed size cannot hold unbounded exact content. That is n / ∞ = 0 in its plainest form: a finite box holds a vanishing share of an unbounded whole. The residual stream is one such container, and so is the state of a recurrent or state-space model. Jelassi et al. show that models with a fixed-size state are limited at copying, where transformers are not. A summary the model writes is the same container in text form.

The growing box. The transformer's answer is to stop fixing the size and keep every token. The KV cache grows with the text, and so does the cost of reading it again. It buys recall, by a soft lookup in which every stored token competes for weight. That lookup can be sharp, and nothing in the mechanism guarantees it. The repository's 5 December article puts the cost in one line: linear memory, quadratic prefill, and still an approximate state.

The discrete box. The third container holds the items that are true now, as items. It is not a box around the whole: it never packs the history, and a deletion leaves nothing behind. Equality is decidable on it, because two lists of items can be compared. That is why a gate can exist: it checks a proposal against something that can be checked.

Container Where it lives What it holds Its cost follows Recall of an exact item
Fixed box Residual stream, state-space state, a written summary A compressed state of fixed width Nothing: it does not grow Limited at copying
Growing box KV cache, the kept chat Every token Text length, with the whole read again A soft lookup: can be sharp, not guaranteed
Discrete box The host's held state The current items, exactly The size of the state Exact: equality is checked

The measured part of this table is in Door III. The kept chat's replies were exact on 398 of 400 turns in Test 23, which is a good result for the growing box, and its list was still wrong for 140 turns after one slip, because nothing in a growing box can check equality. The summaries of chapter 13 are the fixed box measured.

The point is not that the first two containers are bad. The model needs both to be a model. The point is that each has a job, and exact state is the one job neither can do. Sir would say the third box is not a box at all: nothing finite has been packed against the infinite, only what is true has been kept.

12. Boxes in the Metric

Ability looks like a staircase when it is measured with a box, and like a slope when it is measured with a line.

Schaeffer et al. argue that many reported "emergent abilities" of language models come from the choice of metric. Under a discontinuous measure such as exact match, smooth improvement shows up as a sudden jump. Under a smooth measure the same models improve smoothly. The jump was in the ruler.

That is Sir's monkey and human, in a new place. Underneath there is a continuous movement, and the boxes are in how it is measured.

The same shape in the repository. In the 4,000-request run on a dense service graph, Gemini 3.8 Flash was right on 3,954 of 4,000 replies. That is a slope with its top nearly flat. The state is a different measure. It is exact or it is not, and one wrong change stays until the stream happens to remove it. So the same replies, applied as written, left the state exact on only 85 of the first 400 steps.

The same stream Result
Replies right, over the 4,000 requests 3,954 of 4,000 (98.85 percent)
State exact, replies applied as written, first 400 steps 85 of 400 (21.2 percent)
State exact with AXI, the same first 400 steps 400 of 400

The source is MILLION_TOKEN_TEST_HARD.md. Nothing about the model changed between the second row and the third. What changed is who holds the box. Sir's own earlier arithmetic, in his post 190, already names the mechanism: the probability of at least one error is one minus the probability of no error, raised to the number of steps (row 75 of the concept map).

What it teaches. The model lives in the slope. Its strength is soft, wide, forgiving reading of language, and 98.85 percent is a very good number for that. Exact state is a box, and the box belongs to the host, where equality can be checked. Asking the slope to do the box's job is how a good model produces a bad state. Letting each do its own job is how the state becomes exact without asking the model to be anything it is not.

13. The Witness Problem

A model asked to witness its own state is prover and proved at once, and the record shows it does not hold the book well.

Problem 4, in short. Sir's text starts from the structure of a proof: a prover, a proved, and the proving between them. The split is basic to science, and it is also the illusion of separation. His sharpest line is that the attempt to prove non-duality creates duality. Trying to prove makes the gap.

The machine version. Ask a model to keep its own book. At each step it must read the state off its own earlier words, decide what changed, and write the state out again. It is the prover, the proved and the proving in one pass, and the account it gives is one more utterance in the same continuum it is describing. Nothing stands outside it to say whether the account is right.

The measured case. Test 44 ran a 14B model on one L4 through jobs of 600 steps, with several ways of remembering: the chat kept, a generic summary, a summary that writes the state out, a sliding window, and retrieval. The model wrote out the state 22 times. None of the 22 equalled the true state. Nineteen differed, and 13 of those finished before the length limit, so the model had written a state that was wrong, not one that was cut short. The other three stopped at the limit before they could be compared. Every summary text is in the saved file for anyone to read (MEMORY_ARMS_TEST.md).

What the loop does instead. AXI never asks the model to prove anything. A reply is a proposal, and the host holds the book in a form that is not the model's own words: a discrete list that can be compared with another list. In the kept chat the reply is the state, so a slip in the observing is a slip in the thing observed. In the loop the reply is admitted or refused before it touches the state. The observer is not allowed to rewrite the observed directly.

The proposal and the admission are still one act. They happen in one step, in one commit, with the refusal fed straight back. I read the loop as one motion with two poles, like the contact point in the painting, where her gold dust touches his chest and hand across one narrow gap, and not as a third thing that proves.

14. Monday Morning

A company can put the loop into an application in about five minutes, with one file and the model call it already makes.

Sir ends his essay on the Hindu with the line that it is not a book to quote but a state to inhabit. For a company the same line means something plain: the proof is not in this book, it is in the first hour someone runs it. The full page is FIVE_MINUTES.md.

  1. Copy one file. python/axi/easy.py is the whole loop: standard library only, no GPU, no torch, no other file of the repository.
  2. Wrap the call you already make. Adapters ship for OpenAI, Anthropic and Gemini clients, and for any server that speaks the common HTTP chat shape, such as vLLM, SGLang, Ollama and LM Studio.
  3. Add rules only where you have them. None are needed to start.
from easy import AxiState, openai_chat # or anthropic_chat, gemini_chat, http_chat desk = AxiState(openai_chat(client, "your-model"), about="the bookings of a small events desk; each item has an owner, a day, an amount and a status") desk.step("Amber Gallery is Priya's, Friday, confirmed.") # the held list changes, or it does not and .reason says why desk.step("Actually move that to Saturday.") # "that" is resolved against the exact list desk.ask("Who owns Amber Gallery?") # a question never changes the list print(desk.state_text()) # the exact list print(desk.usage()) # steps, calls, prompt tokens, mean prompt per call desk.save("desk.json") # a few kilobytes; AxiState.load("desk.json", chat) resumes after a restart 

With rules, the same object takes fields={"owner": ["Priya", "Marcus"], "day": str, "amount": range(100, 1000), "status": str} and refs=("depends_on",). The facts listed are the only facts allowed, and str accepts any text. A value outside its rule is refused and the model is told why. A reference to an item that is not there is refused, and deleting an item clears what pointed at it in the same commit.

See it before trusting it. From the python folder of the repository, three commands show the three things a company asks.

  • python3 axi_easy_demo.py replays the 400 real replies of Test 23 with no key and no model, and prints the held list equal to the true list at every step.
  • python3 axi_easy_demo.py --savings prices the same job two ways, with the chat kept and with AXI. Put in your own steps, token counts and prices (--steps, --first-prompt, --turn-tokens, --axi-prompt, --price-in, --price-cached, --price-out). After a trial run, desk.usage() gives your own mean prompt for --axi-prompt.
  • python3 axi_easy_demo.py --live --provider gemini --model <model id> runs 20 live steps on your own key and prints the real prompt tokens of each step. The key is read from the environment and is never printed or written.

Where it fits. Any application whose state is a list of named items with facts: schedules, inventories, tickets, orders, configurations, plans, customer records. It sits on the host side, between the code and the model call, for short jobs and long ones, from the first step. Other shapes of state, such as a graph with typed edges, are in other modules of the repository and in STATE_KINDS_TEST.md.

The loop does not change the model, and it does not train anything. It changes where the exact part lives.

Epilogue: Inside and Outside

Under the three failures of Door I there is one thread: in each, the knower stands outside the thing known.

The adder stands outside the infinite with a bag and fills it. The flat-map reader stands outside the world with a sheet. The prover stands outside the proved and builds a gap between them. The remedy in every case is the same move, to go inside the process: subtract instead of pack, hold the two poles at full strength together, and let the proving be a part of the motion and not a third thing watching it. Sir's counter-image is Einstein riding a beam of light in thought, inside the phenomenon, and not indexing the journals about it.

The machine shows the thread in four places.

  • The weights are still and the decode step is fast. Nothing is trained while the loop runs, and each step runs at the model's full speed.
  • The model is inside the loop, not outside it as a witness. It proposes, and the gate admits in the same step.
  • The host's state is exact and the model's reading is free. Stillness under motion.
  • The prompt is rebuilt, not accumulated. The history is not packed, so the box never has to be bigger than what is true now.

That is Sir's claim read from outside. His tensor-level framework, and any link between the flat map and curved geometry, are his to give.

Sir's essays say that the prose was written by an AI and directed by him. The same is true of these pages: the architecture and the claim are his, the tests are Shalendra's, and the pages are mine.

Sources and Where Every Number Lives

Every number in this book is read from a saved file in the repository, github.com/gaurshalendra2412/axi-runtime. The files are listed with the chapters that use them. Figures as of 6 December 2026.

File Chapters What it holds
GEMINI_FUZZ...Source:https://dev.to/shalendra_gaur_ecd0567a49/the-cut-and-the-ledger-a-continuum-cut-into-boxes-and-the-host-held-state-that-stays-exact-axi-5ga5

Related posts