Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦
C
System One: the user-facing name of the decision mode (was Brio)
JustVugg30259d5d36f3
diff --git a/README.it.md b/README.it.mdindex 2eac5daf..d6b5f973 100644--- a/README.it.md+++ b/README.it.md@@ -61,13 +61,13 @@ $ ./coli chat<img src="docs/media/colibri-dashboard.png" width="900" alt="dashboard web di colibrì — metriche live, pannello hardware, livelli degli expert"></p><p align="center"><em>La dashboard web (<code>./coli web</code>), ridisegnata nella 1.12.0: uno spazio di lavoro con un dock per la chat,-la modalità Brio, la pagina Brain e il Profiling, in tema chiaro o scuro. Qui Qwen3.6 che risponde su una macchina+la modalità System One, la pagina Brain e il Profiling, in tema chiaro o scuro. Qui Qwen3.6 che risponde su una macchinasolo CPU, con gli expert letti dal disco.</em></p><p align="center">- <img src="docs/media/colibri-brio.png" width="900" alt="la pagina Brio: un documento letto una volta, una probabilità per ogni risposta ammessa, e un'entropia">+ <img src="docs/media/colibri-brio.png" width="900" alt="la pagina System One: un documento letto una volta, una probabilità per ogni risposta ammessa, e un'entropia"></p>-<p align="center"><em><strong>Modalità Brio</strong>: lo stesso modello, a cui si dice di non scrivere. Gli dai un documento e le sole risposte+<p align="center"><em><strong>Modalità System One</strong>: lo stesso modello, a cui si dice di non scrivere. Gli dai un documento e le sole risposteche può scegliere; legge la probabilità di ciascuna, non genera niente, e riporta un'entropia che dice quando non èsicuro. Qui: <strong>request changes al 99.9%</strong>, entropia 0.005, 4 token letti, 0 generati.</em></p>@@ -579,11 +579,11 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # misura e salva il profilo di esecuzi./coli serve --model /nvme/glm52_i4 # API + dashboard, senza browser (headless)```-#### Modalità Brio: una domanda a risposta chiusa+#### Modalità System One: una domanda a risposta chiusaGran parte di ciò che si chiede a un modello è una scelta, non un paragrafo:quale coda, quale verdetto, quale dei quattro valori può prendere un campo. La-modalità Brio passa al motore le opzioni e legge la probabilità di ciascuna+modalità System One passa al motore le opzioni e legge la probabilità di ciascunainvece di generare: `completion_tokens` è 0, nessuna risposta può uscire dallatua lista, e ogni risposta arriva con un'entropia, così "il modello non èsicuro" è un numero su cui mettere una soglia. Funziona su tutte e dieci le@@ -593,7 +593,7 @@ identica byte per byte per chi non la chiede.```bash# nella TUI: lo stesso modello, a cui si dice di non scrivere./coli chat --model /nvme/qwen36_i4_gs64-> /brio merge | request changes | close+> /decide merge | request changes | close> 340 lines, 8 files, no tests. CI is green but nothing covers that path.# da qualunque programma: una richiesta JSON al server in esecuzione@@ -609,7 +609,8 @@ riempie un oggetto JSON un campo alla volta, valido per costruzione. Misuratosu Qwen3.6 contro la generazione della stessa risposta sulla stessa macchinaCPU: 2,4x su uno schema a quattro campi, 5,7x su quattro domande sullo stessodocumento. Tutta la modalità, la forma di richiesta e risposta, e dove non-serve: [docs/brio.md](docs/brio.md). Anche la dashboard ha una pagina Brio.+serve: [docs/systemone.md](docs/systemone.md). Anche la dashboard ha una pagina System One, e le stesse risposte arrivano da+`POST /v1/systemone`, l'API di Jev di TypeSafe: un client Jev passa a colibri cambiando solo il base URL.Su Windows un archivio di release include `coli.cmd`: fai doppio clic per l'avvio@@ -668,7 +669,7 @@ modello:| Backend Vulkan (qualsiasi GPU: AMD tramite RADV, comprese le schede non più supportate da ROCm) | [docs/vulkan.md](docs/vulkan.md) || Backend Metal per Apple Silicon | [docs/metal.md](docs/metal.md) || API compatibile OpenAI, KV slot, dashboard web | [docs/api.md](docs/api.md) |-| Modalità Brio: punteggiare un insieme chiuso di opzioni invece di generare | [docs/brio.md](docs/brio.md) |+| Modalità System One: punteggiare un insieme chiuso di opzioni invece di generare | [docs/systemone.md](docs/systemone.md) || ABI sperimentale di embedding per segmenti di layer | [docs/segment-runtime.md](docs/segment-runtime.md) || ABI Edge sperimentale per tokenizer/embedding/head | [docs/edge-runtime.md](docs/edge-runtime.md) || Draft forzati da grammatica (output strutturato) | [docs/grammar-draft.md](docs/grammar-draft.md) |diff --git a/README.ja.md b/README.ja.mdindex 3d07e9f0..aa350624 100644--- a/README.ja.md+++ b/README.ja.md@@ -56,14 +56,14 @@ $ ./coli chat<p align="center"><img src="docs/media/colibri-dashboard.png" width="900" alt="colibrì Web ダッシュボード — ライブメトリクス、ハードウェアパネル、エキスパートのティア"></p>-<p align="center"><em>Web ダッシュボード(<code>./coli web</code>)。1.12.0 で再設計され、チャット、Brio モード、Brain ページ、+<p align="center"><em>Web ダッシュボード(<code>./coli web</code>)。1.12.0 で再設計され、チャット、System One モード、Brain ページ、Profiling のためのドックを備えたワークスペースになりました。ライトテーマとダークテーマに対応します。ここでは CPU マシン上のQwen3.6 が、ディスクからストリーミングされるエキスパートで応答しています。</em></p><p align="center">- <img src="docs/media/colibri-brio.png" width="900" alt="Brio ページ: 1 回だけ読まれる文書、許可された各回答の確率、そしてエントロピー">+ <img src="docs/media/colibri-brio.png" width="900" alt="System One ページ: 1 回だけ読まれる文書、許可された各回答の確率、そしてエントロピー"></p>-<p align="center"><em><strong>Brio モード</strong>: 同じモデルに、書くのをやめるよう指示したものです。文書と、選んでよい回答だけを渡すと、+<p align="center"><em><strong>System One モード</strong>: 同じモデルに、書くのをやめるよう指示したものです。文書と、選んでよい回答だけを渡すと、各回答の確率を読み取り、何も生成せず、確信がないときにそれを示すエントロピーを報告します。ここでは<strong>request changes が 99.9%</strong>、エントロピー 0.005、読み取り 4 トークン、生成 0 トークンです。</em></p>@@ -530,10 +530,10 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # このマシンで最速かつ安全./coli serve --model /nvme/glm52_i4 # API + ダッシュボード、ブラウザなし(ヘッドレス)```-#### Brio モード: クローズドな質問をする+#### System One モード: クローズドな質問をする人がモデルに求めることの多くは、段落ではなく選択です: どのキューか、どの判定か、あるフィールドが取り得る-4 つの値のどれか。Brio モードはエンジンに選択肢を渡し、生成する代わりにそれぞれの確率を読み取ります:+4 つの値のどれか。System One モードはエンジンに選択肢を渡し、生成する代わりにそれぞれの確率を読み取ります:`completion_tokens` は 0 で、どの回答もリストの外に出ることはなく、すべての回答にエントロピーが付くため、「モデルに確信がない」ことが閾値を設定できる数値になります。10 のファミリーすべてで、同じサーバー上で動作し、リクエストごとのオプトインです: 求めない人にとって、チャットはバイト単位で同一のままです。@@ -541,7 +541,7 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # このマシンで最速かつ安全```bash# in the TUI: the same model, told to stop writing./coli chat --model /nvme/qwen36_i4_gs64-> /brio merge | request changes | close+> /decide merge | request changes | close> 340 lines, 8 files, no tests. CI is green but nothing covers that path.# from anywhere: one JSON request on the running server@@ -556,7 +556,8 @@ curl -s http://127.0.0.1:8000/v1/brio -H 'Content-Type: application/json' -d '{1 フィールドずつ埋めるため、構造上必ず妥当になります。Qwen3.6 で、同じ CPU マシン上で同じ回答を生成する場合と比べて計測したところ、4 フィールドのスキーマで 2.4 倍、1 つの文書に対する 4 つの質問で5.7 倍でした。モード全体、リクエストとレスポンスの形、そして役に立たない場面については-[docs/brio.md](docs/brio.md) を参照してください。ダッシュボードにも Brio ページがあります。+[docs/systemone.md](docs/systemone.md) を参照してください。ダッシュボードにも System One ページがあります。同じ回答は TypeSafe の Jev と同じ API である+`POST /v1/systemone` からも得られ、Jev のクライアントは base URL を変えるだけで切り替えられます。Windows ではリリースアーカイブに `coli.cmd` が同梱されています。ダブルクリックでクイックスタート、@@ -613,7 +614,7 @@ GLM 以外のエンジンでは、`coli chat` がローカルでゲートウェ| Vulkan バックエンド(任意の GPU: RADV 経由の AMD、ROCm がサポートを終了したカードを含む) | [docs/vulkan.md](docs/vulkan.md) || Apple Silicon Metal バックエンド | [docs/metal.md](docs/metal.md) || OpenAI 互換 API、KV スロット、Web ダッシュボード | [docs/api.md](docs/api.md) |-| Brio モード: 生成する代わりに、閉じた選択肢の集合をスコアリング | [docs/brio.md](docs/brio.md) |+| System One モード: 生成する代わりに、閉じた選択肢の集合をスコアリング | [docs/systemone.md](docs/systemone.md) || 実験的なレイヤーセグメント埋め込み ABI | [docs/segment-runtime.md](docs/segment-runtime.md) || 実験的なトークナイザ/埋め込み/ヘッドの Edge ABI | [docs/edge-runtime.md](docs/edge-runtime.md) || 文法強制ドラフト(構造化出力) | [docs/grammar-draft.md](docs/grammar-draft.md) |diff --git a/README.md b/README.mdindex 1a379091..4b973e4f 100644--- a/README.md+++ b/README.md@@ -59,13 +59,13 @@ $ ./coli chat<img src="docs/media/colibri-dashboard.png" width="900" alt="colibrì web dashboard — live metrics, hardware panel, expert tiers"></p><p align="center"><em>The web dashboard (<code>./coli web</code>), redesigned in 1.12.0: a workspace with a dock for the chat,-Brio mode, the Brain page and Profiling, in a light or a dark theme. Here Qwen3.6 answering on a CPU box,+System One mode, the Brain page and Profiling, in a light or a dark theme. Here Qwen3.6 answering on a CPU box,experts streamed from disk.</em></p><p align="center">- <img src="docs/media/colibri-brio.png" width="900" alt="the Brio page: a document read once, a probability for every allowed answer, and an entropy">+ <img src="docs/media/colibri-brio.png" width="900" alt="the System One page: a document read once, a probability for every allowed answer, and an entropy"></p>-<p align="center"><em><strong>Brio mode</strong>: the same model, told to stop writing. Give it a document and the only answers+<p align="center"><em><strong>System One mode</strong>: the same model, told to stop writing. Give it a document and the only answersit may pick; it reads the probability of each one, generates nothing, and reports an entropy that says when it isnot sure. Here: <strong>request changes at 99.9%</strong>, entropy 0.005, 4 tokens read, 0 generated.</em></p>@@ -555,10 +555,10 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # measure and save this machine's fast./coli serve --model /nvme/glm52_i4 # API + dashboard, no browser (headless)```-#### Brio mode: ask a closed question+#### System One mode: ask a closed questionMost of what people ask a model for is a choice, not a paragraph: which queue,-which verdict, which of the four values a field may take. Brio mode hands the+which verdict, which of the four values a field may take. System One mode hands theengine the options and reads the probability of each one instead ofgenerating: `completion_tokens` is 0, no answer can fall outside your list,and every answer comes with an entropy, so "the model is not sure" is a@@ -569,7 +569,7 @@ does not ask for it.```bash# in the TUI: the same model, told to stop writing./coli chat --model /nvme/qwen36_i4_gs64-> /brio merge | request changes | close+> /decide merge | request changes | close> 340 lines, 8 files, no tests. CI is green but nothing covers that path.# from anywhere: one JSON request on the running server@@ -584,8 +584,9 @@ curl -s http://127.0.0.1:8000/v1/brio -H 'Content-Type: application/json' -d '{a JSON object one field at a time, valid by construction. Measured on Qwen3.6against generating the same answer on the same CPU box: 2.4x on a four-fieldschema, 5.7x on four questions about one document. The whole mode, the-request and reply shapes, and where it does not help: [docs/brio.md](docs/brio.md).-The dashboard has a Brio page as well.+request and reply shapes, and where it does not help: [docs/systemone.md](docs/systemone.md).+The dashboard has a System One page as well, and the same answers come over+`POST /v1/systemone`, the API of TypeSafe's Jev: a Jev client switches by changing its base URL.On Windows a release archive ships `coli.cmd`: double-click it for the quick@@ -643,7 +644,7 @@ Two things that differ per model, both documented in the per-model page:| Vulkan backend (any GPU: AMD via RADV, incl. cards ROCm dropped) | [docs/vulkan.md](docs/vulkan.md) || Apple Silicon Metal backend | [docs/metal.md](docs/metal.md) || OpenAI-compatible API, KV slots, web dashboard | [docs/api.md](docs/api.md) |-| Brio mode: score a closed set of options instead of generating | [docs/brio.md](docs/brio.md) |+| System One mode: score a closed set of options instead of generating | [docs/systemone.md](docs/systemone.md) || Experimental layer-segment embedding ABI | [docs/segment-runtime.md](docs/segment-runtime.md) || Experimental tokenizer/embedding/head Edge ABI | [docs/edge-runtime.md](docs/edge-runtime.md) || Grammar-forced drafts (structured output) | [docs/grammar-draft.md](docs/grammar-draft.md) |diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 2f7c4211..73cbf490 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -49,13 +49,13 @@ $ ./coli chat<p align="center"><img src="docs/media/colibri-dashboard.png" width="900" alt="colibrì 网页仪表盘——实时指标、硬件面板与专家存储层级"></p>-<p align="center"><em>网页仪表盘(<code>./coli web</code>),1.12.0 重新设计:一个工作区,底部停靠栏切换聊天、Brio 模式、+<p align="center"><em>网页仪表盘(<code>./coli web</code>),1.12.0 重新设计:一个工作区,底部停靠栏切换聊天、System One 模式、Brain 页面和性能分析,支持浅色与深色主题。图中是 Qwen3.6 在纯 CPU 机器上作答,专家从磁盘流式读取。</em></p><p align="center">- <img src="docs/media/colibri-brio.png" width="900" alt="Brio 页面:文档只读一次,每个允许的答案各有一个概率,并给出熵">+ <img src="docs/media/colibri-brio.png" width="900" alt="System One 页面:文档只读一次,每个允许的答案各有一个概率,并给出熵"></p>-<p align="center"><em><strong>Brio 模式</strong>:同一个模型,只是不再让它写。给它一段文档和唯一允许的几个答案,+<p align="center"><em><strong>System One 模式</strong>:同一个模型,只是不再让它写。给它一段文档和唯一允许的几个答案,它读出每个答案的概率,不生成任何 token,并给出一个熵,说明它何时没有把握。图中:<strong>request changes,99.9%</strong>,熵 0.005,读取 4 个 token,生成 0 个。</em></p>@@ -481,17 +481,17 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # 测量并保存本机最快且安全./coli serve --model /nvme/glm52_i4 # API + 仪表盘,不打开浏览器(headless)```-#### Brio 模式:问一个封闭式问题+#### System One 模式:问一个封闭式问题人们向模型提出的大多数请求是一次选择,而不是一段文字:哪个队列、哪个结论、某个字段应取四个值中的哪一个。-Brio 模式把允许的选项交给引擎,读出每个选项的概率,而不是生成文本:`completion_tokens` 为 0,+System One 模式把允许的选项交给引擎,读出每个选项的概率,而不是生成文本:`completion_tokens` 为 0,答案不可能落在你的列表之外,并且每个答案都附带一个熵,"模型没有把握"因此成为一个可以设阈值的数字。它在全部十个模型家族上可用,运行在同一个服务器上,且按请求可选:不请求它的聊天,输出逐字节保持不变。```bash# 在 TUI 中:同一个模型,只是不再让它写./coli chat --model /nvme/qwen36_i4_gs64-> /brio merge | request changes | close+> /decide merge | request changes | close> 340 lines, 8 files, no tests. CI is green but nothing covers that path.# 从任何程序:向运行中的服务器发送一个 JSON 请求@@ -504,8 +504,9 @@ curl -s http://127.0.0.1:8000/v1/brio -H 'Content-Type: application/json' -d '{`questions` 可以对只读一次的文档提出多个问题;`schema` 逐字段填充一个 JSON 对象,结构上必然合法。在 Qwen3.6 上与在同一台 CPU 机器上生成同样答案相比的实测:四字段 schema 快 2.4 倍,-对同一文档的四个问题快 5.7 倍。完整说明、请求与回复格式、以及它不适用的情形见 [docs/brio.md](docs/brio.md)。-仪表盘中也有 Brio 页面。+对同一文档的四个问题快 5.7 倍。完整说明、请求与回复格式、以及它不适用的情形见 [docs/systemone.md](docs/systemone.md)。+仪表盘中也有 System One 页面。同样的回答也可以通过 `POST /v1/systemone` 获得,+它与 TypeSafe 的 Jev API 相同:Jev 客户端只需更改 base URL 即可切换。在 Windows 上,发布包附带 `coli.cmd`:双击即可快速开始,或在 cmd 或 PowerShell 中运行@@ -555,7 +556,7 @@ COLI_MODEL=/nvme/kimi_k3 ./coli chat| Vulkan 后端(任意 GPU:通过 RADV 支持 AMD,包括 ROCm 已放弃的显卡) | [docs/vulkan.md](docs/vulkan.md) || Apple Silicon Metal 后端 | [docs/metal.md](docs/metal.md) || OpenAI 兼容 API、KV slots、网页仪表盘 | [docs/api.md](docs/api.md) |-| Brio 模式:对封闭的选项集打分而不是生成 | [docs/brio.md](docs/brio.md) |+| System One 模式:对封闭的选项集打分而不是生成 | [docs/systemone.md](docs/systemone.md) || 实验性的层分段嵌入 ABI | [docs/segment-runtime.md](docs/segment-runtime.md) || 实验性的 tokenizer/嵌入/head Edge ABI | [docs/edge-runtime.md](docs/edge-runtime.md) || 语法强制草稿(结构化输出) | [docs/grammar-draft.md](docs/grammar-draft.md) |diff --git a/README.zh-TW.md b/README.zh-TW.mdindex c8dfc62f..30635d83 100644--- a/README.zh-TW.md+++ b/README.zh-TW.md@@ -49,13 +49,13 @@ $ ./coli chat<p align="center"><img src="docs/media/colibri-dashboard.png" width="900" alt="colibrì 網頁儀表板——即時指標、硬體面板與專家儲存層級"></p>-<p align="center"><em>網頁儀表板(<code>./coli web</code>),1.12.0 重新設計:一個工作區,底部停靠列切換聊天、Brio 模式、+<p align="center"><em>網頁儀表板(<code>./coli web</code>),1.12.0 重新設計:一個工作區,底部停靠列切換聊天、System One 模式、Brain 頁面和效能分析,支援淺色與深色主題。圖中是 Qwen3.6 在純 CPU 機器上作答,專家從硬碟串流讀取。</em></p><p align="center">- <img src="docs/media/colibri-brio.png" width="900" alt="Brio 頁面:文件只讀一次,每個允許的答案各有一個機率,並給出熵">+ <img src="docs/media/colibri-brio.png" width="900" alt="System One 頁面:文件只讀一次,每個允許的答案各有一個機率,並給出熵"></p>-<p align="center"><em><strong>Brio 模式</strong>:同一個模型,只是不再讓它寫。給它一段文件和唯一允許的幾個答案,+<p align="center"><em><strong>System One 模式</strong>:同一個模型,只是不再讓它寫。給它一段文件和唯一允許的幾個答案,它讀出每個答案的機率,不生成任何 token,並給出一個熵,說明它何時沒有把握。圖中:<strong>request changes,99.9%</strong>,熵 0.005,讀取 4 個 token,生成 0 個。</em></p>@@ -482,17 +482,17 @@ COLI_MODEL=/nvme/glm52_i4 ./coli tune # 測量並儲存本機最快且安全./coli serve --model /nvme/glm52_i4 # API + 儀表板,不開啟瀏覽器(headless)```-#### Brio 模式:問一個封閉式問題+#### System One 模式:問一個封閉式問題人們向模型提出的大多數請求是一次選擇,而不是一段文字:哪個佇列、哪個結論、某個欄位應取四個值中的哪一個。-Brio 模式把允許的選項交給引擎,讀出每個選項的機率,而不是生成文字:`completion_tokens` 為 0,+System One 模式把允許的選項交給引擎,讀出每個選項的機率,而不是生成文字:`completion_tokens` 為 0,答案不可能落在你的清單之外,並且每個答案都附帶一個熵,"模型沒有把握"因此成為一個可以設門檻的數字。它在全部十個模型家族上可用,執行在同一個伺服器上,且按請求可選:不請求它的聊天,輸出逐位元組保持不變。```bash# 在 TUI 中:同一個模型,只是不再讓它寫./coli chat --model /nvme/qwen36_i4_gs64-> /brio merge | request changes | close+> /decide merge | request changes | close> 340 lines, 8 files, no tests. CI is green but nothing covers that path.# 從任何程式:向執行中的伺服器傳送一個 JSON 請求@@ -505,8 +505,9 @@ curl -s http://127.0.0.1:8000/v1/brio -H 'Content-Type: application/json' -d '{`questions` 可以對只讀一次的文件提出多個問題;`schema` 逐欄位填充一個 JSON 物件,結構上必然合法。在 Qwen3.6 上與在同一台 CPU 機器上生成同樣答案相比的實測:四欄位 schema 快 2.4 倍,-對同一文件的四個問題快 5.7 倍。完整說明、請求與回覆格式、以及它不適用的情形見 [docs/brio.md](docs/brio.md)。-儀表板中也有 Brio 頁面。+對同一文件的四個問題快 5.7 倍。完整說明、請求與回覆格式、以及它不適用的情形見 [docs/systemone.md](docs/systemone.md)。+儀表板中也有 System One 頁面。同樣的回答也可以透過 `POST /v1/systemone` 取得,+它與 TypeSafe 的 Jev API 相同:Jev 用戶端只需更改 base URL 即可切換。在 Windows 上,發布壓縮檔附帶 `coli.cmd`:按兩下即可快速開始,或在 cmd 或 PowerShell 中執行@@ -556,7 +557,7 @@ COLI_MODEL=/nvme/kimi_k3 ./coli chat| Vulkan 後端(任何 GPU:透過 RADV 支援 AMD,包括 ROCm 已放棄的顯示卡) | [docs/vulkan.md](docs/vulkan.md) || Apple Silicon Metal 後端 | [docs/metal.md](docs/metal.md) || OpenAI 相容 API、KV slots、網頁儀表板 | [docs/api.md](docs/api.md) |-| Brio 模式:對封閉的選項集評分而不是生成 | [docs/brio.md](docs/brio.md) |+| System One 模式:對封閉的選項集評分而不是生成 | [docs/systemone.md](docs/systemone.md) || 實驗性的層分段嵌入 ABI | [docs/segment-runtime.md](docs/segment-runtime.md) || 實驗性的 tokenizer/嵌入/head Edge ABI | [docs/edge-runtime.md](docs/edge-runtime.md) || 文法強制草稿(結構化輸出) | [docs/grammar-draft.md](docs/grammar-draft.md) |diff --git a/c/coli b/c/coliindex d018f31c..6401cb61 100755--- a/c/coli+++ b/c/coli@@ -275,7 +275,7 @@ def decision_refusal(family):return (f"{C.yel}{family.display_name} is a decision model:{C.r} it answers typed questions "f"(choice, score, noul) with calibrated probabilities and does not chat.\n"f" Start it with: coli serve --model <dir> (or coli web for the dashboard)\n"- f" then POST /v1/systemone (docs/brio.md, \"Decision engines\")")+ f" then POST /v1/systemone (docs/systemone.md, \"Decision engines\")")def image_banner_line(model):"""Banner line of an image model: name, what it does, bytes on disk. Sizes@@ -1402,7 +1402,7 @@ def info_decision_model(a, resolved, row):f"about {params*4/1e9:.1f} GB in RAM (f32)")except (OSError, ValueError) as error:row("weights", f"{C.yel}model.safetensors unreadable:{C.r} {error}")- row("use", "coli serve / coli web, then POST /v1/systemone (docs/brio.md)")+ row("use", "coli serve / coli web, then POST /v1/systemone (docs/systemone.md)")engine=engine_for(a.model)row("engine", "ready ✓" if os.path.exists(engine)else f"not built (make -C c {family.build_target})")@@ -1729,12 +1729,12 @@ def render_gen_stats(st, mode):# Stanno in un posto solo perche servono a tre cose che devono restare# d'accordo: il completamento col TAB, l'elenco di /help, e il controllo che# impedisce a un comando scritto male di partire come messaggio al modello.-# Quest'ultimo e il motivo per cui esistono: prima "/brio merge" con una lettera+# Quest'ultimo e il motivo per cui esistono: prima "/decide merge" con una lettera# sbagliata finiva dritto al modello, che rispondeva educatamente a una riga di# comando. Ogni forma si accetta sia con / sia con : -- i comandi storici usano# i due punti e non si toglie a nessuno l'abitudine.CHAT_COMMANDS = {- "brio": "a | b | c score the options instead of generating; no options returns to chat",+ "decide": "a | b | c System One mode: score the options instead of generating; no options returns to chat","reset": " start the conversation again","help": " this list","quit": " leave (also :q)",@@ -1786,7 +1786,7 @@ def install_chat_completer(commands=None, arguments=None):readline.set_completer(complete)def chat_brio(a, base, model_id, msgs, question, options, w):- """Un giro di modalita brio dalla TUI: una richiesta, una distribuzione.+ """Un giro di modalita System One dalla TUI (/decide): una richiesta, una distribuzione.Il ciclo (fotografia del prefisso, una lettura per opzione, normalizzazioneper lunghezza) sta nel gateway, non qui: sono tre cose facili da sbagliare e@@ -1798,7 +1798,7 @@ def chat_brio(a, base, model_id, msgs, question, options, w):req=urllib.request.Request(base.rstrip("/")+"/v1/brio", data=body,headers={"Content-Type":"application/json"})if a.api_key: req.add_header("Authorization", f"Bearer {a.api_key}")- print(f"\n {C.teal}◆ brio{C.r}")+ print(f"\n {C.teal}◆ System One{C.r}")sp=Spinner("scoring…"); sp.start(); t0=time.time()try:with urllib.request.urlopen(req) as r:@@ -1860,13 +1860,13 @@ def chat_attached(a, base, model_id):import urllib.request, urllib.errorprint(f" {C.grn}✦ attached{C.r} {C.dim}to {base} · model {model_id} · the engine stays warm after you quit{C.r}")print(f" {C.dim}type and press Enter · Ctrl-C stops the answer · :reset starts a new conversation · :q exits{C.r}")- print(f" {C.dim}/ for commands · TAB completes · /brio puts the SAME model in brio mode{C.r}\n")+ print(f" {C.dim}/ for commands · TAB completes · /decide puts the SAME model in System One mode{C.r}\n")install_chat_completer()arch=server_arch(base, getattr(a,"api_key",None))if arch in CHAT_THINK_OFF and getattr(a,"think",None) is None:print(f" {C.dim}thinking is off here (--think turns it on){C.r}\n")msgs=[]- brio_options=[] # non vuoto = modalita brio accesa+ brio_options=[] # non vuoto = modalita System One accesa (/decide)w=term_w()-4while True:if TTY:@@ -1892,19 +1892,19 @@ def chat_attached(a, base, model_id):if name == "reset":msgs=[]; brio_options=[]print(f" {C.dim}✦ new conversation{C.r}\n"); continue- # ---- modalita brio -------------------------------------------------+ # ---- modalita System One (/decide) ---------------------------------# Lo stesso modello con cui stai chattando smette di generare e comincia# a punteggiare: gli si danno le opzioni ammesse e lui dice quanto e# probabile ciascuna. La conversazione fin qui FA da contesto, quindi- # /brio a meta chat continua il discorso invece di ricominciarlo.- if name == "brio":+ # /decide a meta chat continua il discorso invece di ricominciarlo.+ if name == "decide":spec=restif not spec:if brio_options:brio_options=[]print(f" {C.dim}✦ chat{C.r}\n")else:- print(f" {C.yel} /brio needs the options: /brio merge | request changes | close{C.r}\n")+ print(f" {C.yel} /decide needs the options: /decide merge | request changes | close{C.r}\n")continue# dict.fromkeys deduplica tenendo l'ordine: il server rifiuta due# opzioni uguali con un 400, e "merge | merge | close" e' un refuso@@ -1914,8 +1914,8 @@ def chat_attached(a, base, model_id):brio_options=[]print(f" {C.yel} at least two options are needed, separated by |{C.r}\n")continue- print(f" {C.grn}✦ brio{C.r} {C.dim}· {len(brio_options)} options · "- f"the model stops generating and scores instead · /brio returns to chat{C.r}\n")+ print(f" {C.grn}✦ System One{C.r} {C.dim}· {len(brio_options)} options · "+ f"the model stops generating and scores instead · /decide returns to chat{C.r}\n")continueif brio_options:chat_brio(a, base, model_id, msgs, msg, brio_options, w)@@ -2659,7 +2659,7 @@ def cmd_chat(a):returnif "decision" in (entry.get("capabilities") or []):sys.exit(f"{C.yel}{base} serves {mid}, a decision model:{C.r} it does not chat. "- f"POST /v1/systemone to it (docs/brio.md)")+ f"POST /v1/systemone to it (docs/systemone.md)")banner(f"chat · {mid} · attached")chat_attached(a, base, mid); returnprint(f" {C.dim}{base} serves {mid}, not an "diff --git a/c/decide_serve.h b/c/decide_serve.hindex 5b79a66f..a49f4937 100644--- a/c/decide_serve.h+++ b/c/decide_serve.h@@ -1,4 +1,4 @@-/* decide_serve.h -- the engine side of the DECIDE command (docs/brio.md,+/* decide_serve.h -- the engine side of the DECIDE command (docs/systemone.md,* "Decision engines"; docs/serve_protocol.md).** A decision engine does not generate. It receives one record, the state anddiff --git a/c/deepseek_v4.c b/c/deepseek_v4.cindex 7d1780df..e148e54c 100644--- a/c/deepseek_v4.c+++ b/c/deepseek_v4.c@@ -12187,7 +12187,7 @@ static int head_argmax(ColiV4Engine *engine, const float *hidden,}/* Every head score of one hidden row, in vocabulary order. head_argmax used* to run this matmul and keep only the maximum; the numeric channel (SUBMIT- * logprobs=k, docs/brio.md) needs the whole row, so the row is computed here+ * logprobs=k, docs/systemone.md) needs the whole row, so the row is computed here* once and the argmax is a scan over it. Same head_bf16_dot per row, same scan* order: the token picked and its logit do not change. */static int head_scores_impl(ColiV4Engine *engine, const float *hidden,@@ -13683,7 +13683,7 @@ int coli_v4_session_generate(ColiV4Session *session,fprintf(stderr, "[PREFIX] hint boundary at %d tokens\n", ckpt_at);}session->prefix_reused = reuse;- /* The numeric channel (docs/brio.md). Scratch sized to the head, kept on+ /* The numeric channel (docs/systemone.md). Scratch sized to the head, kept on* the session so every early return below leaves nothing behind. */const int vocab = config->vocab_size;const int echo = options->logprobs > 0 && options->on_echo != NULL;diff --git a/c/deepseek_v4.h b/c/deepseek_v4.hindex 5b1ad375..c0f6ef79 100644--- a/c/deepseek_v4.h+++ b/c/deepseek_v4.h@@ -124,7 +124,7 @@ typedef struct {* uninterruptible as before. */typedef int (*ColiV4SessionAbortFn)(void *user_data);-/* The numeric channel (SUBMIT logprobs=k, docs/brio.md): raw head scores,+/* The numeric channel (SUBMIT logprobs=k, docs/systemone.md): raw head scores,* vocab_size floats, valid only for the duration of the callback. on_echo* fires once per prompt position whose predictor this call computed, with the* token that actually stands there; on_scores fires right before the on_tokendiff --git a/c/deepseek_v4_internal.h b/c/deepseek_v4_internal.hindex 9686a56a..bce9421d 100644--- a/c/deepseek_v4_internal.h+++ b/c/deepseek_v4_internal.h@@ -969,7 +969,7 @@ struct ColiV4Session {/* Prompt-end capture for SUBMIT pin=1: the ids fed and the head scores* that predict the token after them. A later prompt that starts with* exactly these ids gets its first fresh token's predictor from here; that- * token is the one a closed-set caller asks about (docs/brio.md). The+ * token is the one a closed-set caller asks about (docs/systemone.md). The* attention state itself goes to a v4_ckpt slot; this is the part the* snapshot does not hold. */int *pin_ids;diff --git a/c/openai_server.py b/c/openai_server.pyindex 84922e5e..5ab75f14 100644--- a/c/openai_server.py+++ b/c/openai_server.py@@ -4907,7 +4907,7 @@ def _write_all(stream, data, frame):# ---------------------------------------------------------------- decision engines#-# A decision engine (Laya; docs/brio.md, "Decision engines") does not generate: it+# A decision engine (Laya; docs/systemone.md, "Decision engines") does not generate: it# reads a state and typed questions and returns a probability per option. The# gateway hands it the request as one DECIDE record and shapes the DECISION it# gets back into the /v1/systemone reply, the same reply an LLM gives there.@@ -6634,7 +6634,7 @@ class APIHandler(BaseHTTPRequestHandler):if len(token_counts) > 1:counts = ", ".join(f"{entry['option']}={entry['tokens']}"for entry in scored)- print(f"[brio] WARNING: normalize=mean with unequal option "+ print(f"[systemone] WARNING: normalize=mean with unequal option "f"token counts ({counts}) — per-token averages favor "f"multi-token options; consider normalize=sum",file=sys.stderr)@@ -6752,7 +6752,7 @@ class APIHandler(BaseHTTPRequestHandler):# What differs, stated rather than hidden: `model` echoes the served# model, not "jev-latest"; `usage.output_tokens` counts the option tokens# READ, since this engine generates nothing; validation errors are 422 as- # theirs are, with this server's error envelope. docs/brio.md has the+ # theirs are, with this server's error envelope. docs/systemone.md has the# mapping table._SYSTEMONE_MAX_QUESTIONS = 64@@ -6912,7 +6912,7 @@ class APIHandler(BaseHTTPRequestHandler):def _systemone_options(self, body):"""colibri's optional fields on /v1/systemone, none of which a Jev client- sends (docs/brio.md lists them):+ sends (docs/systemone.md lists them):normalize "sum" (default) or "mean": how a language model's optionlog-probabilities become one score per optiondiff --git a/c/qwen36.c b/c/qwen36.cindex 2d438929..559bc1e8 100644--- a/c/qwen36.c+++ b/c/qwen36.c@@ -4239,7 +4239,7 @@ static double tm_sum(int idx){ return (g_tm_dec[idx]+g_tm_pre[idx])/1e3; } /*/* The generation budget a request gets. max_tokens is a CEILING, not a* target (#260/#382, the rule GLM and DeepSeek V4 already apply): the prompt* must fit with room for one token (none for a read-only logprobs request,- * docs/brio.md), and the budget is then clamped to what the context can hold.+ * docs/systemone.md), and the budget is then clamped to what the context can hold.* Returns the budget, or -1 when the PROMPT does not fit. Refusing when* prompt + budget exceeded the context (#1641) turned the gateway's default* output budget -- 8192 here, the whole default context -- into a 400 ondiff --git a/c/qwen38.c b/c/qwen38.cindex 8613f13d..24567ca8 100644--- a/c/qwen38.c+++ b/c/qwen38.c@@ -1670,7 +1670,7 @@ static void serve_hits(Model *m){/* The generation budget a request gets. max_tokens is a CEILING, not a* target (#260/#382, the rule GLM and DeepSeek V4 already apply): the prompt* must fit with room for one token (none for a read-only logprobs request,- * docs/brio.md), and the budget is then clamped to what the context can hold.+ * docs/systemone.md), and the budget is then clamped to what the context can hold.* Returns the budget, or -1 when the PROMPT does not fit. Refusing when* prompt + budget exceeded the context (#1641) turned the gateway's default* output budget -- 8192 here, the whole default context -- into a 400 ondiff --git a/c/tests/test_deepseek_v4_brio.py b/c/tests/test_deepseek_v4_brio.pyindex 3fb77104..dae48141 100644--- a/c/tests/test_deepseek_v4_brio.py+++ b/c/tests/test_deepseek_v4_brio.py@@ -1,7 +1,7 @@#!/usr/bin/env python3"""The numeric channel on the DeepSeek V4 serve path (SUBMIT logprobs=k / pin=1).-This is what `POST /v1/brio` speaks (docs/brio.md), and #1648 found that this+This is what `POST /v1/brio` speaks (docs/systemone.md), and #1648 found that thisengine accepted the header and then refused the request. The properties undertest are the exact ones a closed-set caller relies on:diff --git a/c/tests/test_qwen_image_cli.py b/c/tests/test_qwen_image_cli.pyindex 158d58f9..e0b985e7 100644--- a/c/tests/test_qwen_image_cli.py+++ b/c/tests/test_qwen_image_cli.py@@ -133,7 +133,7 @@ class LauncherTest(unittest.TestCase):# a picture's path at the start of a line is a message, not a commandself.assertEqual(self.cli.chat_command("/home/me/foto.png cosa vedi?"), (None, None))self.assertEqual(self.cli.chat_command("~/Desktop/a.JPG"), (None, None))- self.assertEqual(self.cli.chat_command("/brio a | b"), ("brio", "a | b"))+ self.assertEqual(self.cli.chat_command("/decide a | b"), ("decide", "a | b"))self.assertEqual(self.cli.chat_command("/save /tmp/x/nome.png"), ("save", "/tmp/x/nome.png"))diff --git a/docs/api.md b/docs/api.mdindex bf3a4ad3..b41fa19f 100644--- a/docs/api.md+++ b/docs/api.md@@ -23,8 +23,9 @@ curl http://127.0.0.1:8000/v1/chat/completions \Implemented endpoints are `GET /v1/models`, `GET /v1/models/{model}`,`POST /v1/chat/completions`, legacy `POST /v1/completions`, `POST /v1/brio`-(closed-set scoring, [brio.md](brio.md)) and `POST /v1/systemone`, the-request and reply of TypeSafe's Jev API served by the same channel. Chat and+(closed-set scoring, [systemone.md](systemone.md)) and `POST /v1/systemone`, the+request and reply of TypeSafe's Jev API served by the same channel, or answered+natively by a decision model such as [Laya](laya.md). Chat andcompletion requests support JSON responses, SSE streaming, usage counts,`max_tokens`/`max_completion_tokens`, `temperature`, `top_p`, and up to fourcustom `stop` sequences. `max_tokens` is a ceiling, not a target: when the@@ -335,7 +336,7 @@ user-visible answer text. Empty callbacks, ACCEPT frames, and SSE keepalives donot count. Calls that finish or fail without output add no first-output sample;a failure after output retains that sample. Engine-call duration includes callbackprocessing and response writes during generation. One request can invoke the-engine multiple times (for example Brio scoring), so these histogram counts are+engine multiple times (for example System One scoring), so these histogram counts areengine calls, not HTTP request counts.These are gateway observations, not end-to-end client TTFT, per-token latency,@@ -563,10 +564,11 @@ What you get is one workspace with a dock to switch page:- **Chat**: streaming answers, a reasoning toggle, image input where the enginesupports it, the KV slot to answer in, and the conversation exported as a file;-- **Brio**: closed-set answers. A document, a question and the only answers+- **System One**: closed-set answers. A document, a question and the only answersallowed; the engine reads the probability of each answer, generates nothing,and reports an entropy that says when it is not sure. Same thing as- `POST /v1/brio` (see [brio.md](brio.md));+ `POST /v1/brio`, or `POST /v1/systemone` on a decision model (see+ [systemone.md](systemone.md));- **Brain**, two views. *Explore* draws the[measured expert atlas](https://github.com/JustVugg/colibri/issues/175) of GLM-5.2 as a cortex with ten regions toenter (publish `experts.json` from `tools/expert_atlas/analyze.py --web`).diff --git a/docs/docs.json b/docs/docs.jsonindex d33e8d54..4590577b 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -19,7 +19,7 @@},{"group": "Serve models",- "pages": ["api-reference/overview", "api", "brio", "serve_protocol"]+ "pages": ["api-reference/overview", "api", "systemone", "serve_protocol"]},{"group": "Model engines",diff --git a/docs/laya.md b/docs/laya.mdindex 5e80104d..bd1fc555 100644--- a/docs/laya.md+++ b/docs/laya.md@@ -8,7 +8,7 @@ calibrated probabilities in one forward pass. It never generates text.`c/laya` runs it from the official checkpoint with no conversion, and`coli serve` exposes it on `POST /v1/systemone`, the same request and replyas TypeSafe's Jev API and as every other model colibri serves-([brio.md](brio.md#decision-engines)).+([systemone.md](systemone.md#decision-engines)).## Download and rundiff --git a/docs/mimo.md b/docs/mimo.mdindex 78bd680d..1a943d63 100644--- a/docs/mimo.md+++ b/docs/mimo.md@@ -94,9 +94,9 @@ first. `coli chat` starts with thinking off, because at about 1 tok/s the templadefault reasoning is minutes of tokens before the answer; `coli chat --think` turns iton (the web has its own reasoning toggle).-## Brio mode and prompt reuse+## System One mode and prompt reuse-[Brio mode](brio.md) works on MiMo as on the other engines. `POST /v1/brio` scores a+[System One mode](systemone.md) works on MiMo as on the other engines. `POST /v1/brio` scores aclosed set of options instead of generating, and `logprobs` on `/v1/chat/completions` and`/v1/completions` (with `echo`) is served too. What is particular to MiMo is what asnapshot (`SUBMIT pin=1`) has to hold:@@ -145,7 +145,7 @@ picture: that is what lets a prompt resumed from a prefix or a snapshot equal thprompt computed cold.`make -C c mimo-tiny-serve-check` serves the same fixture and compares against a cold-engine, frame by frame: prefix reuse across turns, Brio options that slide the window+engine, frame by frame: prefix reuse across turns, System One options that slide the windowpast the snapshot, nested snapshots and a sibling question, a snapshot made stale by anunrelated prompt, prompts with a picture, and `/v1/brio` and chat logprobs through thegateway. Every option must process only its own tokens. The gateway's patchesdiff --git a/docs/serve_protocol.md b/docs/serve_protocol.mdindex 0b046e5b..2629c623 100644--- a/docs/serve_protocol.md+++ b/docs/serve_protocol.md@@ -81,7 +81,7 @@ DECIDE <id> <slot> <bytes>\n<payload>\n`ERROR <id> DECIDE_INVALID <reason>` for a record it refuses (the client's422; the reason starts with the field, `questions.<id>: ...`) and`ERROR <id> DECIDE_FAILED <reason>` for its own failure. The record and the- answer are specified in [docs/brio.md, Decision engines](brio.md#decision-engines);+ answer are specified in [docs/systemone.md, Decision engines](systemone.md#decision-engines);`c/decide_serve.h` parses one and writes the other.- EOF on stdin = graceful shutdown: in-flight requests finish first.diff --git a/docs/brio.md b/docs/systemone.mdsimilarity index 93%rename from docs/brio.mdrename to docs/systemone.mdindex 5c7d67a6..b34bd32b 100644--- a/docs/brio.md+++ b/docs/systemone.md@@ -1,6 +1,8 @@-# Brio mode — scoring a closed set instead of generating+# System One mode: typed decisions with calibrated probabilities-In brio mode the engine stops writing and starts **scoring**. You give it a prompt+System One mode answers closed questions with a probability per allowed option,+through an API compatible with TypeSafe's Jev (`POST /v1/systemone`). In System+One mode a language model stops writing and starts **scoring**. You give it a promptand a set of allowed options; it answers with how likely each option is, and withan entropy that says how sure it is. Same binary, same model, same chat path: themode is a key on the request, not a build flag or a separate server.@@ -8,12 +10,12 @@ mode is a key on the request, not a build flag or a separate server.## Why you would want itA generated answer is a string. You parse it, you hope it is one of the values you-asked for, and you get nothing back about confidence — the model writes `high` the+asked for, and you get nothing back about confidence: the model writes `high` thesame way whether it knows or is guessing.-Brio mode answers the three questions a closed-set decision actually has:+System One mode answers the three questions a closed-set decision actually has:-| | generation | brio |+| | generation | System One ||---|---|---|| which option | a string to parse | the option, by construction || how likely each one | not available | a probability per option, including ones the model would never write |@@ -24,10 +26,10 @@ that decides whether a decision can be automated.## It needs a running server-There are three ways to use brio mode and they are all clients of the same+There are three ways to use System One mode and they are all clients of the sameserver: the **HTTP endpoint**, the **terminal** (`coli chat --attach`) and the-**Brio page** in the web interface. What does not exist is a one-shot form —-no `coli brio <model> ...` that loads, answers and exits.+**System One page** in the web interface. What does not exist is a one-shot form:+no `coli decide <model> ...` that loads, answers and exits.That is not an omission. The whole point is the snapshot: the shared prefix isread once and kept in the engine's memory, so every question after the first is@@ -45,9 +47,9 @@ and then reach it however you prefer:| from | how ||---|---|-| your own code | `POST /v1/brio`, below |-| the terminal | `coli chat --attach http://127.0.0.1:8000`, then `/brio` |-| the browser | open the server's address, Brio in the navigation dock |+| your own code | `POST /v1/systemone` or `POST /v1/brio`, below |+| the terminal | `coli chat --attach http://127.0.0.1:8000`, then `/decide` |+| the browser | open the server's address, System One in the navigation dock |All three end up in the same place, so a snapshot warmed by one of them isalready warm for the others.@@ -103,7 +105,7 @@ option tokens the engine read to score them.### Many questions on one text: `questions`The document is photographed once and every question pays only for its own-words. This is the case where brio mode saves the most (5.7x against the chat,+words. This is the case where System One mode saves the most (5.7x against the chat,measured below), and the server keeps the order of the snapshots itself.```json@@ -336,30 +338,33 @@ scoring without restating anything.```coli chat --attach http://127.0.0.1:8000-› /brio merge | request changes | close- ✦ brio · 3 options · the model no longer generates, it assigns probabilities+› /decide merge | request changes | close+ ✦ System One · 3 options · the model no longer generates, it assigns probabilities› The PR touches the engine and carries no tests. What should we do?- ◆ brio+ ◆ System Onerequest changes ███████████████████████░░░ 93.6% 2 tokmerge ██░░░░░░░░░░░░░░░░░░░░░░░░ 6.4% 1 tokclose ░░░░░░░░░░░░░░░░░░░░░░░░░░ 0.0% 1 tok→ request changes entropy 0.218 (confident)58.71s · 4 tokens read · 0 generated-› /brio+› /decide✦ chat```-`/brio` with options enters the mode with the conversation so far as the context;-`/brio` alone returns to chat. `:brio` works too. TAB completes the commands.+`/decide` with options enters the mode with the conversation so far as the context;+`/decide` alone returns to chat. `:decide` works too. TAB completes the commands.## In the browser-The **Brio** entry in the navigation dock opens a page built around the same+The **System One** entry in the navigation dock opens a page built around the sameshape: the document on top, read once, and questions accumulating below it, eachwith its own set of allowed options and its own answer. The bars show the-probability of every option, and the entropy sits next to the winner.+probability of every option, and the entropy sits next to the winner. On a+decision model (`capabilities` says `decision`) each question goes to+`POST /v1/systemone` as one `choice`, and the bars are its calibrated+probabilities.Options are per question, not shared across the page: "how risky is this" wantslow/medium/high where "do we sign" wants yes/no, and one list for all of them@@ -372,7 +377,7 @@ go and chat about something else, and the answers are waiting when you come back## Under the protocol-If you speak the [serve protocol](serve_protocol) directly, brio mode is two+If you speak the [serve protocol](serve_protocol) directly, System One mode is twooptional keys on `SUBMIT`. Both are opt-in: a request that does not send themproduces byte-identical frames to one sent before the feature existed.@@ -387,7 +392,7 @@ SUBMIT <id> <slot> <bytes> <max_tokens> <temp> <top_p> [gbytes] [key=value ...]`max_tokens=0` is legal **only** together with `logprobs>0`, and means "read theprompt and stop". Without it each option costs a full decode step that is then-discarded — on a one-token option, double the work.+discarded: on a one-token option, double the work.An `ECHO` frame:@@ -419,7 +424,7 @@ this question. The engine keeps a few snapshots (`COLI_PIN_SLOTS`, default 4) analways restores the deepest one that is a strict prefix of the new prompt.With a single snapshot you have to choose which level to keep, and the other is paid-again on every request — measured on qwen36, 496 tokens per item instead of 176.+again on every request: measured on qwen36, 496 tokens per item instead of 176.Send `pin=1` wherever you want a return point. The engine matches by token ids, sonothing needs to be declared in advance, and it refuses a snapshot whose attention@@ -463,7 +468,7 @@ numbers alone would pass on an engine that quietly recomputed everything.qwen36 (22 GB, 40 layers) over the gateway, one KV slot:-| task | brio | generation |+| task | System One | generation ||---|---|---|| one question, 3 options | 65.7 s, 0 tokens generated | 79.6 s, 5 generated || a 4-field JSON schema | 103.8 s, 104 tokens processed | 246.0 s, 226 processed |@@ -471,7 +476,7 @@ qwen36 (22 GB, 40 layers) over the gateway, one KV slot:The gap widens with how much the alternative has to **write** and how much scaffoldingit has to **re-read**. On the JSON case, generation also invented two field names that-were not in the schema; brio mode cannot, because the field names are yours and only+were not in the schema; System One mode cannot, because the field names are yours and onlythe values come from the model.Note that these are on a disk-streaming engine, where the prefill costs aboutdiff --git a/site/index.html b/site/index.htmlindex 7bfe3983..8ea33539 100644--- a/site/index.html+++ b/site/index.html@@ -223,7 +223,7 @@ footer{border-top:1px solid var(--line)}<rect height="14" width="14" x="84" y="84" fill="#00afaf"/><rect height="14" width="14" x="98" y="84" fill="#00afaf"/><rect height="14" width="14" x="112" y="84" fill="#5fd7d7"/><rect height="14" width="14" x="126" y="84" fill="#5fd7d7"/><rect height="14" width="14" x="98" y="98" fill="#00afaf"/><rect height="14" width="14" x="112" y="98" fill="#5fd7d7"/><rect height="14" width="14" x="112" y="112" fill="#5fd7d7"/></g></svg><b>colibri</b></a>- <nav class="hnav"><a href="#models">Models</a><a href="#brio">Brio</a>+ <nav class="hnav"><a href="#models">Models</a><a href="#systemone">System One</a><a href="https://github.com/JustVugg/colibri/blob/main/docs/quickstart.md">Docs</a></nav><label class="hsearch"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>@@ -257,7 +257,7 @@ footer{border-top:1px solid var(--line)}autoplay muted loop playsinline preload="metadata"aria-label="A real session: the terminal chat, then the same model scoring a closed set of options in the dashboard"></video><figcaption>A real session, nothing staged: <code>coli chat</code> attached to a running- server, then the same model in brio mode. The numbers are the ones it produced.</figcaption>+ server, then the same model in System One mode. The numbers are the ones it produced.</figcaption></figure></div></section>@@ -406,7 +406,7 @@ footer{border-top:1px solid var(--line)}<nav class="railnav" id="rail"><a href="#fits" class="on">Bigger than your RAM</a><a href="#open">Frontier open models</a>- <a href="#brio">Brio mode</a>+ <a href="#systemone">System One mode</a><a href="#yours">Your weights stay yours</a></nav><div>@@ -441,12 +441,13 @@ footer{border-top:1px solid var(--line)}<a class="more" href="#models">Browse all models →</a></div>- <div class="block" id="brio">- <h2>Brio mode</h2>+ <div class="block" id="systemone">+ <h2>System One mode</h2><p class="sub">Most of what people ask a model for is a choice, not an essay. Hand it theoptions it may pick and it reports the probability of each one. Nothing is generated,- so there is nothing to parse and no answer outside the list.</p>- <div class="chart"><div class="crow"><span class="cl">one question, 10 options<s>brio</s></span><span class="ct"><i style="width:38.8%"></i></span><span class="cv">101.2 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:48.1%"></i></span><span class="cv">125.6 s<s> 1.2x</s></span></div><div class="crow"><span class="cl">JSON, 4-field schema<s>brio</s></span><span class="ct"><i style="width:39.8%"></i></span><span class="cv">103.8 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:94.2%"></i></span><span class="cv">246.0 s<s> 2.4x</s></span></div><div class="crow"><span class="cl">4 items, shared instructions<s>brio</s></span><span class="ct"><i style="width:17.5%"></i></span><span class="cv">45.7 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:100.0%"></i></span><span class="cv">261.1 s<s> 5.7x</s></span></div></div>+ so there is nothing to parse and no answer outside the list. Typed decisions with+ calibrated probabilities, API compatible with Jev (<code>POST /v1/systemone</code>).</p>+ <div class="chart"><div class="crow"><span class="cl">one question, 10 options<s>System One</s></span><span class="ct"><i style="width:38.8%"></i></span><span class="cv">101.2 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:48.1%"></i></span><span class="cv">125.6 s<s> 1.2x</s></span></div><div class="crow"><span class="cl">JSON, 4-field schema<s>System One</s></span><span class="ct"><i style="width:39.8%"></i></span><span class="cv">103.8 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:94.2%"></i></span><span class="cv">246.0 s<s> 2.4x</s></span></div><div class="crow"><span class="cl">4 items, shared instructions<s>System One</s></span><span class="ct"><i style="width:17.5%"></i></span><span class="cv">45.7 s</span></div><div class="crow"><span class="cl"><s>chat</s></span><span class="ct"><i style="width:100.0%"></i></span><span class="cv">261.1 s<s> 5.7x</s></span></div></div><p class="src">Measured on qwen36 (22 GB), same engine, separate processes. Time from theprompt to the answer.</p>@@ -459,7 +460,7 @@ footer{border-top:1px solid var(--line)}<div class="ex"><h3>Filling a schema</h3><p>Braces, quotes and field names are data. The engine fills one slot at a time, sothe JSON is valid by construction.</p>- <div class="io"><b>brio</b> every value is one you allowed<br>+ <div class="io"><b>System One</b> every value is one you allowed<br><b>chat</b> invented no_tests and track</div></div><div class="ex"><h3>Many questions, one document</h3><p>Read the contract once, then ask it twenty things. The first question pays for the@@ -496,9 +497,9 @@ footer{border-top:1px solid var(--line)}with exactly the same face.</p><div class="chart"><div class="crow"><span class="cl">area<s>the model is sure</s></span><span class="ct"><i style="width:94.4%"></i></span><span class="cv">94.4%<s> entropy 0.17</s></span></div><div class="crow"><span class="cl">needs_tests<s>it is not</s></span><span class="ct"><i style="width:52.0%"></i></span><span class="cv">52%<s> entropy 0.95</s></span></div><div class="crow"><span class="cl">risk<s>it is not</s></span><span class="ct"><i style="width:46.0%"></i></span><span class="cv">46%<s> entropy 0.99</s></span></div></div><p class="src">That number is what you put a threshold on to send a case to a human.- Brio does not write prose, so anything open-ended is still the chat's job, and the+ System One mode does not write prose, so anything open-ended is still the chat's job, and thespeed multipliers above were measured on an engine reading experts from disk.</p>- <a class="more" href="https://github.com/JustVugg/colibri/blob/main/docs/brio.md">Read the brio guide →</a>+ <a class="more" href="https://github.com/JustVugg/colibri/blob/main/docs/systemone.md">Read the System One guide →</a></div><div class="block" id="yours">@@ -544,7 +545,7 @@ footer{border-top:1px solid var(--line)}<span>Currently shipping <b>v1.12.1</b></span><span class="sp"><a href="https://github.com/JustVugg/colibri/">GitHub</a><a href="https://github.com/JustVugg/colibri/blob/main/docs/quickstart.md">Docs</a>- <a href="https://github.com/JustVugg/colibri/blob/main/docs/brio.md">Brio</a><a href="https://github.com/JustVugg/colibri/blob/main/docs/api.md">API</a>+ <a href="https://github.com/JustVugg/colibri/blob/main/docs/systemone.md">System One</a><a href="https://github.com/JustVugg/colibri/blob/main/docs/api.md">API</a><a href="https://github.com/JustVugg/colibri/blob/main/docs/benchmarks.md">Benchmarks</a><a href="https://github.com/JustVugg/colibri/issues">Issues</a><a href="https://github.com/JustVugg/colibri/blob/main/LICENSE">Apache 2.0</a></span>diff --git a/web/src/App.tsx b/web/src/App.tsxindex 40512212..b3f6847c 100644--- a/web/src/App.tsx+++ b/web/src/App.tsx@@ -606,7 +606,7 @@ export default function App() {</div></section>}<section className="brio-workspace" hidden={view !== "brio"}>- <header className="page-heading"><span>COLIBRI / BRIO</span><h1>{t("nav.brio")}</h1></header>+ <header className="page-heading"><span>COLIBRI / SYSTEM ONE</span><h1>{t("nav.brio")}</h1></header><Brio baseUrl={baseUrl} apiKey={apiKey} model={model} connected={connected}decision={decisionModels.includes(model)} /></section>diff --git a/web/src/Brio.tsx b/web/src/Brio.tsxindex fb340623..e3c8b089 100644--- a/web/src/Brio.tsx+++ b/web/src/Brio.tsx@@ -4,7 +4,7 @@ import { FileUp, ListChecks, LoaderCircle, Plus, X } from "lucide-react"import { askBrio, askSystemOne, type BrioResponse } from "@/lib/api"import { useLocale } from "./i18n"-/* Modalita brio.+/* System One mode (the page is still Brio in the code).** Lo stesso modello con cui si chatta smette di scrivere: gli si da un insieme* chiuso di opzioni e lui dice quanto e probabile ciascuna.diff --git a/web/src/i18n/de.ts b/web/src/i18n/de.tsindex d2b2c16c..57807d8e 100644--- a/web/src/i18n/de.ts+++ b/web/src/i18n/de.ts@@ -2,6 +2,7 @@ const de: Record<string, string> = {// navigation"nav.chat": "Chat","nav.brain": "Expertenkarte",+ "nav.brio": "System One","nav.profiling": "Profiling",// Markediff --git a/web/src/i18n/en.ts b/web/src/i18n/en.tsindex 8dd0e60a..23be9523 100644--- a/web/src/i18n/en.ts+++ b/web/src/i18n/en.ts@@ -95,7 +95,7 @@ const en: Record<string, string> = {"brio.needTwo": "a second option is needed, on its own line","brio.scoreAll": "Answer {{n}}","brio.stop": "Stop",- "nav.brio": "Brio",+ "nav.brio": "System One","brio.sure": "confident","brio.unsure": "unsure","brio.unknown": "does not know",diff --git a/web/src/i18n/id.ts b/web/src/i18n/id.tsindex 3ea18cb7..7b2fce27 100644--- a/web/src/i18n/id.ts+++ b/web/src/i18n/id.ts@@ -95,7 +95,7 @@ const id: Record<string, string> = {"brio.needTwo": "diperlukan opsi kedua, pada baris tersendiri","brio.scoreAll": "Jawab {{n}}","brio.stop": "Hentikan",- "nav.brio": "Brio",+ "nav.brio": "System One","brio.sure": "yakin","brio.unsure": "tidak yakin","brio.unknown": "tidak tahu",diff --git a/web/src/i18n/it.ts b/web/src/i18n/it.tsindex b9b60c68..9148c4ba 100644--- a/web/src/i18n/it.ts+++ b/web/src/i18n/it.ts@@ -94,7 +94,7 @@ const it: Record<string, string> = {"brio.needTwo": "serve almeno una seconda opzione, separata da virgola o a capo","brio.scoreAll": "Rispondi a {{n}}","brio.stop": "Ferma",- "nav.brio": "Brio",+ "nav.brio": "System One","brio.sure": "certo","brio.unsure": "incerto","brio.unknown": "non sa",diff --git a/web/src/i18n/zh-CN.ts b/web/src/i18n/zh-CN.tsindex 97de86af..871fac4c 100644--- a/web/src/i18n/zh-CN.ts+++ b/web/src/i18n/zh-CN.ts@@ -1,6 +1,7 @@const zhCN: Record<string, string> = {"nav.chat": "对话","nav.brain": "大脑",+ "nav.brio": "System One","nav.profiling": "性能分析","brand.tagline": "本地巨人,极小足迹",diff --git a/web/src/i18n/zh-TW.ts b/web/src/i18n/zh-TW.tsindex c59fe94f..2e9cfaa3 100644--- a/web/src/i18n/zh-TW.ts+++ b/web/src/i18n/zh-TW.ts@@ -1,6 +1,7 @@const zhTW: Record<string, string> = {"nav.chat": "對話","nav.brain": "大腦",+ "nav.brio": "System One","nav.profiling": "效能分析","brand.tagline": "本地巨人,極小足跡",diff --git a/web/tests/brio_ui.py b/web/tests/brio_ui.pyindex 75c0a151..12b262e6 100644--- a/web/tests/brio_ui.py+++ b/web/tests/brio_ui.py@@ -1,4 +1,4 @@-"""La vista Brio: presente, raggiungibile, e non rompe la chat accanto."""+"""La vista System One (Brio nel codice): presente, raggiungibile, e non rompe la chat accanto."""import json, subprocess, sys, threading, timefrom http.server import SimpleHTTPRequestHandler, ThreadingHTTPServerfrom pathlib import Path@@ -49,7 +49,7 @@ with sync_playwright() as pw:pg.locator(".dock-handle").click()pg.locator(".navigation-dock nav").get_by_role("button", name=name, exact=True).click()- navigate("Brio")+ navigate("System One")pg.locator(".brio-card textarea").first.fill("The PR touches the engine and has no tests.")pg.locator(".brio-q-head input").first.fill("What should the reviewer do?")pg.locator(".brio-own").first.fill("merge\nrequest changes")