AXI · a layer on the host side

Trace Explorer

One job, 1,500 steps, run two ways on Gemini 3.8 Flash. The kept chat re-sends the whole conversation each turn. With AXI the host holds the exact state, the model proposes one change per step, a deterministic gate admits or refuses it, and the prompt is rebuilt short each step. The model is unchanged. Drag the slider to any turn.

Architecture by Rajnish Choubey; tests by Shalendra Gaur. AXI is for the company that runs the model, and the numbers here are about the state the host holds.

Mean prompt per turn
Turns with the held state exactly right
Mean seconds per step

Check it yourself in about a second

git clone https://github.com/gaurshalendra2412/axi-runtime
cd axi-runtime/python
PYTHONPATH=.:tests python3 tests/test_gemini_long_result.py

Recomputes the figures of this run from the saved replies: no API key, no model, no GPU. Expect 6/6 passed. Saved file: docs/results/axi_gemini_long_session_seed20261111_default.json, sha256 7ba26d2946ec20ddd8a2085f18c6a2eee9ac3fb02025209158ce67a91faf29c6. For the 4,000-request run: python3 quickstart_replay.py in the same folder. Test page: docs/GEMINI_LONG_TEST.md.

287
Jump to

Kept chat

The whole conversation goes back to the model every turn; each reply is applied as it comes.

prompt tokens
Seconds for this step
Seconds to first token

AXI

The host holds the exact state and rebuilds a short prompt each step; the gate checks every proposal.

prompt tokens
Seconds for this step
Seconds to first token

Prompt tokens sent each turn

Kept chatAXI

One linear scale from 0 to 1,000,000 tokens. AXI's line sits at about 2,824 tokens on every turn, between 2,347 and 3,112. The kept chat's mean of 476,835 is over its 456 steps that were live model calls (turn 1 was read from file, with the same numbers as AXI's turn 1); over all 457 rows it is 475,797. The test page publishes 476,835 and the ratio 169.

Seconds per step

Kept chatAXIthick line: median of 25 turns

Items that differ from the correct state

Kept chat, replies applied as they comeAXI

Counted in nodes and edges against the oracle's state after each turn.

Reading this run

Table view of the same data
TurnKept chat promptAXI promptKept chat secondsAXI secondsKept chat items offAXI items off