Rebuilding How InterGen Routes a Request
The second chapter of How We’re Developing InterGen.
Routing is how the assistant decides which of its parts answers a request. This chapter says where our first design came from, where it was wrong, what we are building in its place, and how each step is proven.
Where the first router came from
InterGen’s router was ported from JARVIS, a local voice assistant the project’s lead developer built before InterGenOS. JARVIS ran a 35-billion-parameter model on a 20 GB graphics card. Its router was an ordered list of 18 steps: a request went down the list, and the first step that recognized it answered. A semantic matching layer narrowed the choice of tools, and the model picked among what was left. On that model it worked well.
In April 2026 we carried that design into InterGen. The routing engine came across, the list was cut from 18 steps to four, and the semantic matcher and the detection of compound requests were adapted from JARVIS’s.
What changed when the model got small
InterGenOS has to run on a laptop with no discrete graphics card. Its assistant comes in three sizes, and the smallest, a 2-billion-parameter model, is the one every machine can run. We expected the design to carry over. It sounded right, and it looked right on paper.
It was not right. A model that small cannot be relied on to choose between tools; published measurements say so, and ours agree. So on the small model our own code has to do the choosing, and a first-match list is a poor way for code to choose. An early entry takes requests that a later entry would answer better. A request no entry recognizes falls through to the model answering from what it remembers, without looking at the machine.
We measured it. We generated 14,932 ways of asking for the things a system assistant should handle, terse, misspelled and sideways on purpose, and ran each one in two configurations. In R001.4, the release we ship today, the right kind of part answered 12,427 times out of 29,864.
Patching the list did not help. A change we had just made, which lets the assistant answer some questions directly, began capturing 1,250 disk-space phrasings it should not have, and left us 1,413 failures worse than R001.4 overall. The order of the list was the problem, and no order fixes it.
What we are building instead
- Every part of the assistant looks at every request and says one of three things: it claims the request, declines it, or abstains.
- A classifier sorts the request into one of ten classes, such as install, remove, machine state, disk space, network and services, or a destructive request. The classifier is code, built from our exact patterns and the generated phrasings. It is not the model, and it is not a prompt.
- A dispatch table says which parts may answer each class, and a named rule settles a tie. List order decides nothing.
- When the classifier is not sure, the assistant asks one clarifying question or hands the request to the model.
- The checks for consent, safety and destructive requests run on every request, whatever its class. The rebuild changes which part answers. It does not widen what any part is allowed to do.
- Every routing decision is written to a trace a person can read.
How each step is proven
The first part of the work separates, for each entry of the list, deciding from acting. It must not change anything the assistant does, and that is checked, not assumed. These are one stage’s numbers:
- Nothing changed. A test harness answers the 14,932 requests, each in two configurations, before the stage and after it. The two result files are byte-for-byte equal, 29,864 of 29,864.
- The harness can see a change. As a control, a deliberate change is made, and the harness detects it on exactly the results that reach the entry.
- The tests catch faults. 62 deliberate faults are planted in the stage’s code, one at a time, and the stage’s own tests catch every one.
- A second run. Every stage is also checked by a second reviewer, who re-runs its main proofs on a different machine.
Where it stands
The first estimate for the first part was more than 25 stages. The number changes as stages are completed and thoroughly tested during development, and the final outcome will be detailed in the announcement that accompanies the point release. In the first part, 24 stages are complete and proven so far. The classifier, the dispatch table and the closing proofs have not started, and nothing about them has been measured.
Corrections stay separate
When the rebuild turns up something the assistant does wrong, it is not fixed inside the rebuild. It becomes a correction of its own, which starts with a test that fails.
Previous chapter: How We’re Developing InterGen