How we'll build it in public
Building in public only means something if the claims can be checked. This paper sets out the rules GIKSN will follow while building its Rust inference engine and agent framework: how each component will be tested against a reference before it counts as done, how the benchmark harness will work and what it will report, what every published number must come with, and how the repositories will be run so that other people can contribute. These are commitments made before the work starts, so readers can hold us to them.
BUILT IN PUBLIC has come to mean posting progress screenshots. That is not what we mean. We mean that every claim we make about our software can be reproduced by someone who doesn't trust us, and that the failures get published alongside the successes.
That takes method, and method is easier to keep if it is written down first. So here it is.
Rule one: correct before fast
It is surprisingly easy to build a language model implementation that is wrong and still produces fluent text. A rotary embedding that pairs the wrong elements, a missing scaling factor in attention or a normalization layer applied slightly differently will all bend the output without breaking it. The model keeps writing sensible English while computing something other than what its weights were trained for.
So nothing we build counts as working because its output reads well. It counts as working when it matches a reference.
For the inference engine, that means a golden test. Once, we will run an established reference implementation on a fixed set of prompts (short and long, code, maths, several languages and scripts, chat-formatted turns) and save its intermediate outputs: the token ids, the hidden state after every layer, the final scores and the first few dozen greedily generated tokens. Our implementation then has to reproduce them within a stated tolerance. Per-layer comparison matters because it shows where a bug lives, not just that one exists.
That test will not be retired after the first milestone. Every later change (moving to the GPU, lower precision, quantization, batching, paging) has to keep passing it. The tolerance loosens only where precision actually drops, and the reason is written next to the number. It never gets loosened to hide a jump at one layer.
For the memory system, the danger is different. A KV cache allocator that leaks one block an hour, or frees a block twice, fails slowly and unpredictably. We will use property-based tests that run thousands of random sequences of allocations, shares and frees and check that no block is ever lost or double-freed.
For the agent framework, correctness means agreeing with a spec. Message schemas, tool schemas, stream events and checkpoint records will be written down as JSON schemas with fixtures, and both the Rust and Go implementations will run the same conformance suite in CI.
Rule two: every number has a harness
We will publish benchmarks. Benchmarks in this field have a poor reputation, mostly earned, so ours will follow fixed rules.
What the harness will do
The benchmark harness will be a separate tool in the repository. It will include:
- that sends requests with Poisson-distributed arrival times, the standard model for independent users, with configurable prompt and output lengths.