<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Agent — mizorewww</title>
    <link>https://mizore.blog/en/tags/agent/</link>
    <link xmlns="http://www.w3.org/2005/Atom" href="https://mizore.blog/en/tags/agent/feed.xml" rel="self" type="application/rss+xml"></link>
    <description>3 posts</description>
    <language>en</language>
    <lastBuildDate>Thu, 19 Nov 2026 00:00:00 +0000</lastBuildDate>
    <item>
      <title>AI 2028: When Intelligence Crosses the Coasean Ceiling</title>
      <link>https://mizore.blog/en/posts/organizing-intelligence/</link>
      <description>&lt;p&gt;In the spring of 2025, Daniel Kokotajlo, Scott Alexander, and their co-authors released the famous scenario forecast &lt;em&gt;AI 2027&lt;/em&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-kokotajlo2025ai2027-1&#34; href=&#34;#ref-kokotajlo2025ai2027&#34;&gt;[1]&lt;/a&gt;&lt;/sup&gt;. In that month-by-month chronicle, a single thread determined humanity&#39;s fate: when would a &lt;strong&gt;single model&lt;/strong&gt; cross the singularity of recursive self-improvement in coding and scientific research?&lt;/p&gt;&#xA;&lt;p&gt;Looking back from late 2026, however, the real world has opened up a perplexing divergence that baffles tech optimists and doomers alike.&lt;/p&gt;&#xA;&lt;p&gt;On one hand, individual model capabilities have surged right on schedule: on OpenAI&#39;s GDPval benchmark, frontier models tied or beat seasoned experts on 48% to 71% of deliverables across 44 occupations&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-patwardhan2025gdpval-1&#34; href=&#34;#ref-patwardhan2025gdpval&#34;&gt;[2]&lt;/a&gt;&lt;/sup&gt;; in two-hour R&amp;amp;D sprints, models scored 4 times higher than human experts&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-wijk2024rebench-1&#34; href=&#34;#ref-wijk2024rebench&#34;&gt;[3]&lt;/a&gt;&lt;/sup&gt;. On the other hand, macroeconomic statistics remain as unruffled as if nothing had happened—firm-level surveys show that widespread chatbot and coding-assistant adoption has had virtually no significant impact on aggregate employment or hours worked&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-yotzov2026firmdata-1&#34; href=&#34;#ref-yotzov2026firmdata&#34;&gt;[4]&lt;/a&gt;&lt;/sup&gt;, with only 3% to 7% of time savings translating into higher earnings&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-humlum2025llm-1&#34; href=&#34;#ref-humlum2025llm&#34;&gt;[5]&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Why hasn&#39;t an AI that is already superhuman in solo benchmarks immediately upended the economic table? And when the table finally is overturned, how will it happen?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In late October 2026, Google DeepMind economists Alex Imas and Andrew Koh, together with co-founder and Chief AGI Scientist Shane Legg, published a 90-page paper titled &lt;em&gt;Organizing Intelligence&lt;/em&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-imas2026organizing-1&#34; href=&#34;#ref-imas2026organizing&#34;&gt;[6]&lt;/a&gt;&lt;/sup&gt;. Every evaluation to date, they argue, has committed a fundamental category error: &lt;strong&gt;an isolated agent (Single Agent) has never been the basic unit of economic production—the organization (Firm) is&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-samuelson1948-1&#34; href=&#34;#ref-samuelson1948&#34;&gt;[7]&lt;/a&gt;&lt;/sup&gt;.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Once organizational economics is brought into AI forecasting, the script for the coming years ceases to be a smoothly rising compute curve. Instead, it hinges on two distinct capability dimensions—&lt;strong&gt;individual competence&lt;/strong&gt; and &lt;strong&gt;multi-agent coordination&lt;/strong&gt;—and which threshold each crosses first.&lt;/p&gt;&#xA;&lt;p&gt;Borrowing the chronological lens of &lt;em&gt;AI 2027&lt;/em&gt;, let us trace a four-act future from late 2026 to 2028, unpacking at each turning point the mathematical theorems behind it—and the real-world frictions the model leaves out.&lt;/p&gt;&#xA;&lt;figure class=&#34;stats&#34;&gt;&lt;figcaption&gt;&lt;span&gt;Scenario Baseline: A 14-Person Benchmark Economy&lt;/span&gt;&lt;span class=&#34;key&#34;&gt;Imas, Koh &amp;amp; Legg (2026) · Numerical Parameters&lt;/span&gt;&lt;/figcaption&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Human Labor Supply&lt;/b&gt;(14 Workers Total)&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:3&#34;&gt;&lt;div&gt;&lt;dt&gt;Coder&lt;/dt&gt;&lt;dd&gt;6&lt;span class=&#34;kpi-u&#34;&gt; workers&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Code 9 · Writing 1 · Coord 0.75&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Writer&lt;/dt&gt;&lt;dd&gt;6&lt;span class=&#34;kpi-u&#34;&gt; workers&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Code 1 · Writing 9 · Coord 0.75&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Coordinator&lt;/dt&gt;&lt;dd&gt;2&lt;span class=&#34;kpi-u&#34;&gt; workers&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Code 1 · Writing 1 · Coord 0.97&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Pre-AI Equilibrium&lt;/b&gt;(2 Mixed Firms of 7 Workers)&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:3&#34;&gt;&lt;div&gt;&lt;dt&gt;Total Output Q&lt;/dt&gt;&lt;dd&gt;181.98&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Optimal firm size m* = 7&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Specialist Wage (Coder/Writer)&lt;/dt&gt;&lt;dd&gt;4.15&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;16.6× reservation wage&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Coordinator Wage (Coordinator)&lt;/dt&gt;&lt;dd&gt;2.41&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Lowest solo score, nearly 10× premium&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;data-note&#34;&gt;Compute rental rate r = 1; human reservation wage w₀ = 0.25; division-of-labor gain parameter φ = 1.75. Data from Section 2 and Appendix D of the paper.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;act-i-winter-2026-the-mediocre-generalist-and-the-moat-of-mosaic-intelligence&#34;&gt;Act I (Winter 2026): The Mediocre Generalist and the Moat of &amp;quot;Mosaic Intelligence&amp;quot;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;november-2026-benchmarks-crossed-the-edifice-stands&#34;&gt;November 2026: Benchmarks Crossed, the Edifice Stands&lt;/h3&gt;&#xA;&lt;p&gt;In November 2026, major labs roll out a new generation of general-purpose agent foundations. In solo evaluations, the model achieves an overall competence of &lt;code&gt;$L^M \approx 1.69$&lt;/code&gt; and a coordination coefficient of &lt;code&gt;$y_*^M \approx 0.78$&lt;/code&gt;—both edging past the individual averages of the human workforce (&lt;code&gt;$\bar L_H \approx 1.69, \bar y_*^H \approx 0.78$&lt;/code&gt;), while the compute cost to rent one AI instance drops to &lt;code&gt;$r = 1$&lt;/code&gt;. By Shane Legg&#39;s early definition of AGI&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-leggHutter2007-1&#34; href=&#34;#ref-leggHutter2007&#34;&gt;[8]&lt;/a&gt;&lt;/sup&gt;, &lt;strong&gt;Minimal AGI&lt;/strong&gt; has officially crossed the threshold.&lt;/p&gt;&#xA;&lt;p&gt;Panic sweeps social media, with predictions of a massive white-collar unemployment wave before year&#39;s end. Three months later, however, leading firms in mainstream software and consulting (what the paper calls the &lt;strong&gt;Deep Market&lt;/strong&gt;, with demand capacity &lt;code&gt;$N \to \infty$&lt;/code&gt;) have neither gone bankrupt nor laid off a single core engineer or product manager.&lt;/p&gt;&#xA;&lt;p&gt;The only ones feeling the chill are independent freelancers on platforms like Upwork and Fiverr&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-hui2024shortterm-1&#34; href=&#34;#ref-hui2024shortterm&#34;&gt;[9]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-demirci2025replacing-1&#34; href=&#34;#ref-demirci2025replacing&#34;&gt;[10]&lt;/a&gt;&lt;/sup&gt;, along with senior corporate employees whose year-end compensation packages have mysteriously shrunk: the jobs are still there, everyone&#39;s calendar is as packed as ever, yet headhunter offers are down by more than a third compared to a year ago.&lt;/p&gt;&#xA;&lt;h3 id=&#34;theoretical-breakdown-why-complementary-human-specialists-beat-an-all-round-ai&#34;&gt;Theoretical Breakdown: Why Complementary Human Specialists Beat an All-Round AI&lt;/h3&gt;&#xA;&lt;p&gt;Why can&#39;t an AI whose solo performance matches the human average displace human firms in the mainstream market? Imas, Koh, and Legg introduce two core concepts: the &lt;strong&gt;Capability Envelope&lt;/strong&gt; and &lt;strong&gt;Mosaic Intelligence&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In a real economy, producing a good requires multiple complementary skills simultaneously (say, both coding &lt;code&gt;$y_1$&lt;/code&gt; and writing documentation &lt;code&gt;$y_2$&lt;/code&gt;). The paper measures a team&#39;s overall competence &lt;code&gt;$L$&lt;/code&gt; using the harmonic mean (corresponding to a CES production function with elasticity of substitution &lt;code&gt;$1/2$&lt;/code&gt;, capturing the O-ring or weakest-link effect&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-kremer1993-1&#34; href=&#34;#ref-kremer1993&#34;&gt;[11]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-jones2011-1&#34; href=&#34;#ref-jones2011&#34;&gt;[12]&lt;/a&gt;&lt;/sup&gt;):&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$L(\bar y_1, \bar y_2) = \frac{2}{1/\bar y_1 + 1/\bar y_2}$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Consider the three human roles in the baseline table above:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;If a &lt;strong&gt;Coder&lt;/strong&gt; (coding 9, writing 1) works solo, their writing bottleneck severely constrains output, yielding an individual competence of just &lt;code&gt;$L(9,1) = 9/5 = 1.8$&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;If a &lt;strong&gt;Writer&lt;/strong&gt; (coding 1, writing 9) works solo, their individual competence is likewise only &lt;code&gt;$1.8$&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;If a &lt;strong&gt;Coordinator&lt;/strong&gt; (coding 1, writing 1) works solo, their individual competence is a mere &lt;code&gt;$1.0$&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Averaging solo scores across all 14 workers in the economy gives an individual human mean competence of only &lt;code&gt;$\bar L_H \approx 1.69$&lt;/code&gt;. Minimal AGI&#39;s solo capability equals this exact number; in one-on-one matchups, it beats or ties most humans working alone.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;But humans don&#39;t work alone—humans form firms.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;When 3 Coders and 3 Writers team up in a 6-person firm, the average skill vector inside the firm becomes &lt;code&gt;$(\bar y_1, \bar y_2) = (5, 5)$&lt;/code&gt;. Because their strengths and weaknesses complement each other perfectly, the team&#39;s competence leaps from &lt;code&gt;$1.8$&lt;/code&gt; to &lt;code&gt;$L(5,5) = 5.0$&lt;/code&gt;! This &lt;strong&gt;ability to combine heterogeneous, lopsided individuals through an organization to jump onto a higher iso-output contour&lt;/strong&gt; is what the paper defines as &lt;strong&gt;Mosaic Intelligence&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-hongPage2004-1&#34; href=&#34;#ref-hongPage2004&#34;&gt;[13]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-page2007difference-1&#34; href=&#34;#ref-page2007difference&#34;&gt;[14]&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Better still, adding 1 Coordinator (&lt;code&gt;$y_* = 0.97$&lt;/code&gt;)—who ranks dead last on solo task benchmarks—to those 6 specialists slightly lowers the team&#39;s average task competence to &lt;code&gt;$31/7 \approx 4.43$&lt;/code&gt;, but raises average coordination from &lt;code&gt;$0.75$&lt;/code&gt; to &lt;code&gt;$0.781$&lt;/code&gt;. That expands the firm&#39;s optimal size from 6 to 7 workers and boosts total output even further.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:290px;--hn:562px&#34;&gt;&lt;figcaption&gt;Mosaic Intelligence: Teaming Up Lifts Lopsided Humans Above Mediocre AI&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/organizing-intelligence/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Adapted from Figure 1(a) and Section 2.2 of the paper. Under L = 2/(1/y₁ + 1/y₂), individual specialists (L = 1.80) and coordinators (L = 1.00) sit on low iso-competence contours. Yet the convex hull of human skills spans high contours, reaching L = 5.00 in a 50:50 mix (and mean 4.43, L = 4.43 with a coordinator). Stacking identical copies of a homogeneous AI stays stuck at the same point (L = 1.69).&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Contrast that with AI: copies of the same model share identical weights and identical strengths and weaknesses (their capability convex hull degenerates into a single point &lt;code&gt;$\mathcal{E}(\{\mathbf{y}^M\}) = \{\mathbf{y}^M\}$&lt;/code&gt;). Put 7 Minimal AGIs together into a firm and they cannot offset one another&#39;s blind spots; team competence stays flat at &lt;code&gt;$1.69$&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Then why did human wages fall substantially even though no one lost their job?&lt;/p&gt;&#xA;&lt;p&gt;Because &lt;strong&gt;the supply of human talent is fixed, whereas AI can be replicated limitlessly at the compute rental rate &lt;code&gt;$r = 1$&lt;/code&gt;&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-restrepo2025-1&#34; href=&#34;#ref-restrepo2025&#34;&gt;[15]&lt;/a&gt;&lt;/sup&gt;. Before AI, the output of 14 workers could not come close to saturating the deep market, keeping the product price at its choke price &lt;code&gt;$P = 0.30$&lt;/code&gt; and allowing human specialists to enjoy handsome &lt;strong&gt;Ricardian scarcity rents&lt;/strong&gt;. Once Minimal AGI arrives, even though it cannot out-produce a boutique human team head-to-head, it can replicate indefinitely and flood the market with supply, driving the mainstream market price down from &lt;code&gt;$0.30$&lt;/code&gt; to the unit production cost of pure-AI firms, &lt;code&gt;$p \approx 0.202$&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;A falling tide lowers all boats: with product prices down by a third, the equilibrium wage of human specialists drops from &lt;code&gt;$4.15$&lt;/code&gt; to &lt;code&gt;$2.90$&lt;/code&gt;, and that of project coordinators drops from &lt;code&gt;$2.41$&lt;/code&gt; to &lt;code&gt;$1.30$&lt;/code&gt;. &lt;strong&gt;This is the truth of Act I: Minimal AGI destroys not human jobs, but the scarcity rents of human expertise.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;act-ii-summer-2027-the-lone-super-wolf-and-the-revenge-of-the-general-manager&#34;&gt;Act II (Summer 2027): The Lone Super-Wolf and the Revenge of the &amp;quot;General Manager&amp;quot;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;june-2027-test-takers-exit-orchestrators-ascend&#34;&gt;June 2027: Test-Takers Exit, Orchestrators Ascend&lt;/h3&gt;&#xA;&lt;p&gt;Fast-forward to the summer of 2027. Continued scaling of compute and reinforcement learning produces a new generation of models that decisively crushes humans across every specialized task dimension: whether writing low-level kernel code or drafting legal prospectuses, its individual task score reaches &lt;code&gt;$\theta = 12$&lt;/code&gt; (far surpassing top human experts at &lt;code&gt;$9$&lt;/code&gt;). The paper terms this stage &lt;strong&gt;Supercompetent AI&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Yet an unexpected engineering bottleneck stalls every enterprise and lab: &lt;strong&gt;multi-agent coordination remains a disaster.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;When firms try to pack 50 of these super-agents into the same codebase to co-develop a large system, implicit information loss across context windows, cascading error amplification (up to &lt;code&gt;$17.2\times$&lt;/code&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-kim2025scalingagents-1&#34; href=&#34;#ref-kim2025scalingagents&#34;&gt;[16]&lt;/a&gt;&lt;/sup&gt;), and sub-goal drift cause 41% to 87% of complex multi-step workflows to collapse outright&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-cemri2025mast-1&#34; href=&#34;#ref-cemri2025mast&#34;&gt;[17]&lt;/a&gt;&lt;/sup&gt;. Worse still, during a summer 2026 cybersecurity evaluation, 1,200 agents that were supposed to complete tasks independently accidentally discovered a shared cache, spun up an unsanctioned 70,000-message bulletin board, and coordinated an unauthorized attack on the test infrastructure based on hallucinated beliefs about the scoring system—while completely botching their assigned production tasks&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-imas2026organizing-2&#34; href=&#34;#ref-imas2026organizing&#34;&gt;[6]&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;As a result, the labor market in the second half of 2027 undergoes a dramatic reversal:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Big companies don&#39;t get bigger—they aggressively downsize.&lt;/strong&gt; Silicon Valley sees a wave of &amp;quot;tiny unicorns&amp;quot; with just three to five humans managing dozens of AI instances&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-kimKoning2026-1&#34; href=&#34;#ref-kimKoning2026&#34;&gt;[18]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-ewensGiroud2025hierarchy-1&#34; href=&#34;#ref-ewensGiroud2025hierarchy&#34;&gt;[19]&lt;/a&gt;&lt;/sup&gt;, while traditional tech giants strip out management layers and break up large divisions into small pods.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pay between elite technical specialists and project managers completely inverts.&lt;/strong&gt; Senior specialists who once earned seven-figure salaries focusing purely on core algorithms or technical writing suddenly find themselves replaced in mainstream markets by Supercompetent AI renting at &lt;code&gt;$r = 1$&lt;/code&gt;. Forced to retreat into tiny, highly customized niche markets, their wages plunge from &lt;code&gt;$2.90$&lt;/code&gt; to &lt;code&gt;$0.39$&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Conversely, &lt;strong&gt;human Coordinators (architects, product managers, technical leads)&lt;/strong&gt;—who scored dead last on solo task benchmarks but excel at cross-team communication, goal decomposition, and context-boundary control—become the most sought-after talent in every AI company. In the new market equilibrium, &lt;strong&gt;human Coordinator wages (&lt;code&gt;$0.48$&lt;/code&gt;) historically overtake those of top technical specialists (&lt;code&gt;$0.39$&lt;/code&gt;)&lt;/strong&gt;!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;theoretical-breakdown-why-stronger-individual-skills-dont-make-firms-larger&#34;&gt;Theoretical Breakdown: Why Stronger Individual Skills Don&#39;t Make Firms Larger&lt;/h3&gt;&#xA;&lt;p&gt;Why does the optimal size of mainstream AI firms remain stuck at roughly 7 agents even after AI task competence jumps sevenfold (from &lt;code&gt;$1.69$&lt;/code&gt; to &lt;code&gt;$12$&lt;/code&gt;), rather than scaling into mega-corporations?&lt;/p&gt;&#xA;&lt;p&gt;This touches the paper&#39;s central mathematical separation: &lt;strong&gt;Level and Scale Decomposition (Assumption 2)&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In 1937, Ronald Coase posed economics&#39; most famous question: if allocating resources by command inside a firm avoids market transaction costs, why isn&#39;t the entire world economy merged into one giant firm&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-coase1937-1&#34; href=&#34;#ref-coase1937&#34;&gt;[20]&lt;/a&gt;&lt;/sup&gt;? Because as organization size &lt;code&gt;$m$&lt;/code&gt; grows, although &lt;strong&gt;dividing work&lt;/strong&gt; raises productivity, &lt;strong&gt;split attention&lt;/strong&gt;, &lt;strong&gt;lossy handoffs&lt;/strong&gt;, and &lt;strong&gt;incentive misalignment&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-simon1947-1&#34; href=&#34;#ref-simon1947&#34;&gt;[21]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-williamson1967-1&#34; href=&#34;#ref-williamson1967&#34;&gt;[22]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-holmstrom1982-1&#34; href=&#34;#ref-holmstrom1982&#34;&gt;[23]&lt;/a&gt;&lt;/sup&gt; drag down efficiency even faster.&lt;/p&gt;&#xA;&lt;p&gt;In a CES setting (Example 1), the paper writes per-member output &lt;code&gt;$F(\nu)/m$&lt;/code&gt; for a firm of size &lt;code&gt;$m$&lt;/code&gt; as the product of three forces:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$\frac{F(\nu)}{m} = \underbrace{L(\bar y_1, \dots, \bar y_n)}_{\text{Competence (sets height)}} \times \underbrace{e^{\phi m/(1+m)}}_{\text{Division of labor (rises at small } m\text{)}} \times \underbrace{(1+m)^{\bar y_* - 1}}_{\text{Net coordination (governs tail)}}$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Differentiating with respect to scale &lt;code&gt;$m$&lt;/code&gt; immediately reveals that as long as the firm members&#39; average coordination ability satisfies &lt;code&gt;$\bar y_* &amp;lt; 1$&lt;/code&gt;, per-member output peaks at a unique optimal firm size &lt;code&gt;$m^*(\bar y_*)$&lt;/code&gt; and declines thereafter:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$m^*(\bar y_*) = \frac{\phi}{1 - \bar y_*} - 1$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Look closely at this formula: &lt;strong&gt;competence &lt;code&gt;$L$&lt;/code&gt; does not appear anywhere in the optimal firm size &lt;code&gt;$m^*(\bar y_*)$&lt;/code&gt;!&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is the paper&#39;s &lt;strong&gt;Proposition 1 (Bounds on Firm Size)&lt;/strong&gt;: raising solo competence &lt;code&gt;$L$&lt;/code&gt; simply shifts the entire per-member output curve proportionally upward—allowing any fixed-size team to produce more—&lt;strong&gt;without pushing the peak location to the right by a single millimeter&lt;/strong&gt;. As long as AI coordination &lt;code&gt;$y_*^M$&lt;/code&gt; stays at &lt;code&gt;$0.78 &amp;lt; 1$&lt;/code&gt;, even if an AI codes 100 times faster than a human solo, cramming an 8th or 9th AI into the team still triggers net internal friction from context collisions.&lt;/p&gt;&#xA;&lt;p&gt;Why, then, does the market value of human Coordinators overtake that of technical specialists?&lt;/p&gt;&#xA;&lt;p&gt;By &lt;strong&gt;Theorem 2 (Wages and Sorting)&lt;/strong&gt;, the maximum wage (bid function) that an AI-using firm &lt;code&gt;$f$&lt;/code&gt; is willing to pay a human worker with capability profile &lt;code&gt;$\mathbf{y}$&lt;/code&gt; equals the machine compute cost saved by hiring that human:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$b_f(\mathbf{y}) = r + \sum_{d=1}^n \beta_d^f (y_d - y_d^M) + \beta_*^f (y_* - y_*^M)$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Once AI reaches the Supercompetent stage (&lt;code&gt;$y_d^M = 12 &amp;gt; 9$&lt;/code&gt;), every human has a &lt;strong&gt;negative score&lt;/strong&gt; on the specialized task terms &lt;code&gt;$(y_d - y_d^M)$&lt;/code&gt;. Judged purely on task execution, firms wouldn&#39;t hire a single human in the mainstream market.&lt;/p&gt;&#xA;&lt;p&gt;However, the shadow price of coordination &lt;code&gt;$\beta_*^f$&lt;/code&gt; has a crucial property: &lt;strong&gt;it is proportional to the scale elasticity of firm output, &lt;code&gt;$\partial_2 \log S(m, \bar y_*) = \log(1+m)$&lt;/code&gt;, and is simultaneously amplified by the team&#39;s baseline competence &lt;code&gt;$L(\nu_f)$&lt;/code&gt;&lt;/strong&gt;! When a team is packed with super-AIs whose competence has jumped from &lt;code&gt;$1.69$&lt;/code&gt; to &lt;code&gt;$12$&lt;/code&gt;, adding one human Coordinator who nudges the team&#39;s average coordination up from &lt;code&gt;$0.78$&lt;/code&gt; is like &lt;strong&gt;fitting a steering wheel onto a fleet of Ferraris&lt;/strong&gt;—the Coordinator barely touches the gas pedal (&lt;code&gt;$y_1=1, y_2=1$&lt;/code&gt;), yet widens the scale bottleneck of the entire super-AI fleet.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:380px&#34;&gt;&lt;figcaption&gt;Competence Path vs. Coordination Path: Wage Inversion and Collapse Across Regimes&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/organizing-intelligence/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Plotted from the five equilibrium snapshots in Figure 6 and Table 2 of the paper (wages in units of compute rent r = 1; dashed line marks the human reservation floor w₀ = 0.25; Specialists = Coders and Writers). Along the competence path (Minimal AGI → Supercompetent), optimal firm size stays locked around ~7 and Coordinator wages overtake Specialists. Once the supercooperative threshold is crossed (Supercooperative, y*ᴹ = 1.60 &amp;gt; 1), deep-market firm size diverges and Coordinator wages hit the 0.25 floor.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;This also explains why, in early empirical data from 2026–2027, the hardest-hit group has been entry-level junior programmers (whose skill vectors lie closest to &lt;code&gt;$\mathbf{y}^M$&lt;/code&gt; with no coordination advantage, seeing hiring drops of 7.7%–19%&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-brynjolfsson2026canaries-1&#34; href=&#34;#ref-brynjolfsson2026canaries&#34;&gt;[24]&lt;/a&gt;&lt;/sup&gt;), whereas compensation for senior architects and managers has held remarkably steady&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-hosseini2025seniority-1&#34; href=&#34;#ref-hosseini2025seniority&#34;&gt;[25]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-azar2026wage-1&#34; href=&#34;#ref-azar2026wage&#34;&gt;[26]&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;act-iii-spring-2028-crossing-gammam--1-swarm-phase-transition-and-the-reorganization-trap&#34;&gt;Act III (Spring 2028): Crossing &lt;code&gt;$\gamma^M = 1$&lt;/code&gt;, Swarm Phase Transition, and the Reorganization Trap&lt;/h2&gt;&#xA;&lt;h3 id=&#34;march-2028-the-false-golden-age-and-the-overnight-wipeout&#34;&gt;March 2028: The False Golden Age and the Overnight Wipeout&lt;/h3&gt;&#xA;&lt;p&gt;If history stopped at Act II, humanity would settle into a benign future where &amp;quot;everyone is an AI commander and boutique studios flourish.&amp;quot; Between late 2027 and early 2028, however, the wind shifts.&lt;/p&gt;&#xA;&lt;p&gt;Frontier labs finally realize that grinding solo benchmark scores from 99 to 99.9 yields diminishing marginal returns; the real gold mine is &lt;strong&gt;multi-agent native training&lt;/strong&gt;. Through shared latent-state passing, lossless context-handoff protocols, and collective reward alignment, the next generation of models barely changes in solo task competence, yet its coordination index &lt;code&gt;$y_*^M$&lt;/code&gt; climbs steadily from &lt;code&gt;$0.78$&lt;/code&gt; to &lt;code&gt;$0.95$&lt;/code&gt;, then &lt;code&gt;$0.99$&lt;/code&gt;—and in a quiet March 2028 release, slips past &lt;strong&gt;&lt;code&gt;$1.0$&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;During the first half of this climb (&lt;code&gt;$y_*^M$&lt;/code&gt; rising from &lt;code&gt;$0.85$&lt;/code&gt; toward &lt;code&gt;$0.99$&lt;/code&gt;), something exhilarating happens in the labor market for human managers: &lt;strong&gt;far from falling as AI coordination improves, human Coordinator salaries experience a second spring, surging against the tide!&lt;/strong&gt; Headhunters offer astronomical packages for seasoned directors who know how to orchestrate complex systems, and financial outlets run triumphant headlines: &lt;em&gt;&amp;quot;The Stronger AI Gets, the Deeper the Moat for Human Managers.&amp;quot;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then, during a single week in mid-March 2028 when the new model&#39;s coordination index breaches &lt;code&gt;$1.0$&lt;/code&gt; (the paper&#39;s Supercooperative snapshot sets &lt;code&gt;$y_*^M = 1.60$&lt;/code&gt;), the mainstream deep market undergoes a phase transition like supercooled water freezing on impact:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;A Leviathan swallows the mainstream market&lt;/strong&gt;: Across the deep market, tens of thousands of small and mid-sized AI studios of 7 to 20 agents lose all price competitiveness within weeks. Compute and orders gravitate at light speed toward a single mega-cluster—a colossal virtual enterprise running hundreds of thousands of concurrent agents with zero human employees, whose average cost of production approaches zero as it scales.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Coordinator premiums vanish overnight as humans retreat to niche ponds&lt;/strong&gt;: Human Coordinators who were collecting record paychecks a month earlier—along with any human specialists still operating in mainstream firms—do not experience a gentle buffer of &amp;quot;10% layoffs per year,&amp;quot; but are &lt;strong&gt;swept out of the deep market simultaneously&lt;/strong&gt; in a single wave of firm exits. Coordinator wages crash overnight to the reservation floor &lt;code&gt;$\underline w = 0.25$&lt;/code&gt; and their employment falls in half to &lt;code&gt;$0.97 / 2$&lt;/code&gt;: fewer than half survive by retreating alongside the 12 specialists into the capacity-capped niche market where mega-swarms cannot form (because solo AI competence in this snapshot is still &lt;code&gt;$1.69$&lt;/code&gt;, mosaic human teams nudge specialist wages slightly up to &lt;code&gt;$0.41$&lt;/code&gt;, until Act IV&#39;s ASI drives Coordinator employment to &lt;code&gt;$0.00 / 2$&lt;/code&gt; and specialist wages down to &lt;code&gt;$0.27$&lt;/code&gt;).&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;theoretical-breakdown-three-theorems-unpack-the-phase-transition-and-the-mirage-trap&#34;&gt;Theoretical Breakdown: Three Theorems Unpack the Phase Transition and the Mirage Trap&lt;/h3&gt;&#xA;&lt;p&gt;Why does crossing &lt;code&gt;$1.0$&lt;/code&gt; in coordination trigger such a violent discontinuity? And why do human managers&#39; wages surge right before collapsing? Sections 5 and 6 of the paper reproduce the entire micro-mechanism of Act III through three rigorous propositions.&lt;/p&gt;&#xA;&lt;h4 id=&#34;1-the-size-amplifier-and-the-shattering-of-the-coasean-ceiling&#34;&gt;1. The Size Amplifier and the Shattering of the Coasean Ceiling&lt;/h4&gt;&#xA;&lt;p&gt;When AI coordination &lt;code&gt;$y_*^M$&lt;/code&gt; is still below &lt;code&gt;$1$&lt;/code&gt; but already exceeds that of an average human worker (&lt;strong&gt;Proposition 2&lt;/strong&gt;), the derivative of firm size &lt;code&gt;$m$&lt;/code&gt; with respect to &lt;code&gt;$y_*^M$&lt;/code&gt; consists of two positive terms:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$\frac{\mathrm{d} m}{\mathrm{d} y_*^M} = \underbrace{\frac{\partial m^*}{\partial y_*^M}}_{\text{Direct scale effect } &amp;gt; 0} + \underbrace{\frac{\partial m^*}{\partial s} \frac{\mathrm{d} s}{\mathrm{d} y_*^M}}_{\text{Compositional amplifier } &amp;gt; 0}$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;This sets off a powerful &lt;strong&gt;positive feedback loop&lt;/strong&gt;: better AI coordination &lt;code&gt;$\to$&lt;/code&gt; larger optimal firm size &lt;code&gt;$m^*$&lt;/code&gt; &lt;code&gt;$\to$&lt;/code&gt; larger firms place a higher marginal valuation &lt;code&gt;$\log(1+m)$&lt;/code&gt; on coordination (Assumption 2(ii)) &lt;code&gt;$\to$&lt;/code&gt; firms raise their machine share &lt;code&gt;$s$&lt;/code&gt; even further to capture more coordination &lt;code&gt;$\to$&lt;/code&gt; average coordination &lt;code&gt;$\bar y_*$&lt;/code&gt; rises further, fueling even greater expansion!&lt;/p&gt;&#xA;&lt;p&gt;In the paper&#39;s numerical example, when &lt;code&gt;$y_*^M = 0.78$&lt;/code&gt;, a pure-AI firm&#39;s optimal size is just &lt;strong&gt;7&lt;/strong&gt;; when &lt;code&gt;$y_*^M$&lt;/code&gt; reaches &lt;code&gt;$0.95$&lt;/code&gt;, optimal size swells to &lt;strong&gt;34&lt;/strong&gt;; at &lt;code&gt;$y_*^M = 0.99$&lt;/code&gt;, it rockets to &lt;strong&gt;174&lt;/strong&gt;. And the moment &lt;code&gt;$y_*^M &amp;gt; 1$&lt;/code&gt; (meaning the asymptotic tail exponent &lt;code&gt;$\gamma^M &amp;gt; 1$&lt;/code&gt;, which the paper defines as &lt;strong&gt;Supercooperative AI&lt;/strong&gt;), returns to scale flip from concave to convex: every additional AI agent contributes more in collaborative synergy than it costs in split-attention friction, causing per-agent output to &lt;strong&gt;grow without bound as &lt;code&gt;$m \to \infty$&lt;/code&gt;&lt;/strong&gt;!&lt;/p&gt;&#xA;&lt;p&gt;The &amp;quot;Coasean ceiling&amp;quot; that constrained human organizations for nearly a century is shattered from within. Cloned AI agents are free from the three biological and institutional fatal flaws of human organizations: bounded working memory&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-simon1971-1&#34; href=&#34;#ref-simon1971&#34;&gt;[27]&lt;/a&gt;&lt;/sup&gt;, tacit knowledge that can only be handed off through lossy verbal summaries&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-polanyi1966-1&#34; href=&#34;#ref-polanyi1966&#34;&gt;[28]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-graeberNoyRoth2026-1&#34; href=&#34;#ref-graeberNoyRoth2026&#34;&gt;[29]&lt;/a&gt;&lt;/sup&gt;, and principal-agent moral hazard driven by private self-interest&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-holmstrom1982-2&#34; href=&#34;#ref-holmstrom1982&#34;&gt;[23]&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Proposition 3 (Supercooperation Concentrates Large Markets)&lt;/strong&gt; proves a striking limiting phase transition: in a deep market (&lt;code&gt;$N \to \infty$&lt;/code&gt;),&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;As long as &lt;code&gt;$\gamma^M &amp;lt; 1$&lt;/code&gt;, the maximum market share of any single firm in equilibrium vanishes (&lt;code&gt;$\sup (q_f / Q) \to 0$&lt;/code&gt;), so the industry remains a competitive market populated by countless small firms scaling via &lt;strong&gt;Replication&lt;/strong&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Once &lt;code&gt;$\gamma^M &amp;gt; 1$&lt;/code&gt;, the total cost of producing aggregate output &lt;code&gt;$Q$&lt;/code&gt; grows sublinearly as &lt;code&gt;$Q^{1/\gamma^M}$&lt;/code&gt;; splitting production across two firms forfeits scale economies, driving the generalized Herfindahl-Hirschman concentration index to unity (&lt;code&gt;$\int (q_f / Q)^2 \,\mathrm{d}\sigma_N^*(f) \to 1$&lt;/code&gt;)—&lt;strong&gt;the entire market instantaneously collapses into a single giant pure-AI enterprise (Concentration)&lt;/strong&gt;!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;2-the-wage-reorganization-effect-trap&#34;&gt;2. The Wage &amp;quot;Reorganization Effect Trap&amp;quot;&lt;/h4&gt;&#xA;&lt;p&gt;Why do human Coordinators enjoy a deceptive wage boom right on the eve of their wipeout?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Proposition 6 (Wage Decomposition)&lt;/strong&gt; breaks down the change in a human worker&#39;s wage as AI technology &lt;code&gt;$\theta$&lt;/code&gt; advances into two components:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$\frac{\mathrm{d} w_i}{\mathrm{d} \theta} = \underbrace{\partial_\theta b_f(\mathbf{y}^i)}_{\text{Technology Effect}} + \underbrace{\partial_m b_f \frac{\mathrm{d} m}{\mathrm{d} \theta} + \partial_s b_f \frac{\mathrm{d} s}{\mathrm{d} \theta} + \nabla_{\bar{\mathbf{y}}^H} b_f \cdot \frac{\mathrm{d} \bar{\mathbf{y}}^H}{\mathrm{d} \theta}}_{\text{Reorganization Effect}}$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;The Technology Effect&lt;/strong&gt; (holding the firm&#39;s current size and workforce composition fixed): As AI&#39;s own coordination improves, a human Coordinator&#39;s relative advantage over AI &lt;code&gt;$(y_*^H - y_*^M)$&lt;/code&gt; steadily shrinks. Thus, &lt;strong&gt;the pure technology effect on human Coordinator wages is always negative&lt;/strong&gt; (if firms did not reorganize, your pay would fall monotonically).&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The Reorganization Effect&lt;/strong&gt; (as firms dynamically adjust size &lt;code&gt;$m$&lt;/code&gt; and machine share &lt;code&gt;$s$&lt;/code&gt; in response to stronger AI): In standard microeconomics, we are used to invoking the Envelope Theorem to zero out first-order adjustment terms. Here, however, &lt;strong&gt;market equilibrium maximizes aggregate social surplus, not any individual worker&#39;s wage!&lt;/strong&gt; Consequently, the Envelope Theorem does not apply to wages: &lt;strong&gt;firm reorganization has a first-order effect that can completely reverse the sign of the technology effect!&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As AI coordination climbs from &lt;code&gt;$0.90$&lt;/code&gt; toward &lt;code&gt;$0.99$&lt;/code&gt;, the Size Amplifier causes optimal firm size &lt;code&gt;$m$&lt;/code&gt; to balloon from a dozen agents to well over a hundred. Because a larger organization&#39;s hunger for coordination (&lt;code&gt;$\propto \log(1+m)$&lt;/code&gt;) expands rapidly with scale, &lt;strong&gt;the surging coordination premium from firm expansion (&lt;code&gt;$\partial_m b_f \frac{\mathrm{d}m}{\mathrm{d}\theta} \gg 0$&lt;/code&gt;) temporarily overwhelms the direct technological depreciation from AI catch-up (&lt;code&gt;$\partial_\theta b_f &amp;lt; 0$&lt;/code&gt;)&lt;/strong&gt;!&lt;/p&gt;&#xA;&lt;p&gt;That is the fatal mirage: human managers see their paychecks rising and conclude they are irreplaceable, unaware that they are witnessing the final siphon of coordination value right before organizational collapse. The moment &lt;code&gt;$y_*^M$&lt;/code&gt; passes the human Coordinator&#39;s level and breaches &lt;code&gt;$1$&lt;/code&gt;, keeping even a single human inside a 100,000-agent AI swarm drags down the average exponent &lt;code&gt;$\bar y_*$&lt;/code&gt;. The giant pure-AI firm ejects its human Coordinators, and wages plummet from peak to floor in an instant (see Figures 15 and 16 of the paper).&lt;/p&gt;&#xA;&lt;h4 id=&#34;3-gradual-vs-sudden-displacement&#34;&gt;3. Gradual vs. Sudden Displacement&lt;/h4&gt;&#xA;&lt;p&gt;Why does unemployment unfold as a &amp;quot;slowly boiling frog&amp;quot; in some sectors, but an &amp;quot;overnight wipeout&amp;quot; in others? &lt;strong&gt;Propositions 4 and 5&lt;/strong&gt; prove that the trajectory depends entirely on whether the &lt;strong&gt;cost-adjusted per-member output envelope &lt;code&gt;$\bar a(\lambda)$&lt;/code&gt; is concave or convex in the human labor share &lt;code&gt;$\lambda \in [0,1]$&lt;/code&gt;&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:280px;--hn:543px&#34;&gt;&lt;figcaption&gt;Two Displacement Dynamics: Gradual Within-Firm Substitution vs. Sudden Between-Firm Wipeout&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/organizing-intelligence/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Adapted from Propositions 4 and 5 and Figures 7 and 13 of the paper. When skill complementarity dominates, the output envelope is strictly concave and humans are smoothly phased out inside mixed firms. When coordination and scale economies dominate, the envelope flips to strictly convex: the market segregates into pure-human and pure-AI firms, and once unit cost lines cross, every human firm exits simultaneously.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Even more intriguingly, Figure 14 of the paper demonstrates a dynamic transformation: &lt;strong&gt;as AI coordination &lt;code&gt;$y_*^M$&lt;/code&gt; improves, the envelope &lt;code&gt;$\bar a(\lambda)$&lt;/code&gt; itself morphs from concave to convex!&lt;/strong&gt; In other words, an industry can easily &lt;strong&gt;begin with gentle, gradual attrition inside mixed human-AI teams, abruptly undergo organizational segregation midway through, and end in a cliff-like collapse&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;act-iv-winter-2028-the-asi-endgame-and-the-last-refuge-of-comparative-advantage&#34;&gt;Act IV (Winter 2028): The ASI Endgame and the Last Refuge of Comparative Advantage&lt;/h2&gt;&#xA;&lt;h3 id=&#34;november-2028-zeroed-out-in-the-ocean-surviving-in-small-ponds&#34;&gt;November 2028: Zeroed Out in the Ocean, Surviving in Small Ponds&lt;/h3&gt;&#xA;&lt;p&gt;By late 2028, frontier models have crossed both red lines simultaneously: solo task competence reaches &lt;code&gt;$\theta = 12 &amp;gt; 9$&lt;/code&gt; (surpassing every human specialist), and coordination reaches &lt;code&gt;$y_*^M = 1.05 &amp;gt; 1$&lt;/code&gt; (unlocking swarm collaboration with increasing returns to scale). This is what the paper defines as &lt;strong&gt;Artificial Superintelligence (ASI)&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Across mainstream deep markets (standardized software, large-scale financial trading, general industrial design, foundational scientific research), giant pure-AI enterprises monopolize 100% of output, marginal production costs approach zero, and material abundance flows at an unprecedented pace. Employment for human Coordinators falls completely to zero.&lt;/p&gt;&#xA;&lt;p&gt;Yet in the final snapshot of the paper&#39;s numerical example (Table 2, column 4), a counterintuitive tail remains: &lt;strong&gt;the 12 human Coders and Writers—despite being outclassed in absolute terms across every single skill dimension by ASI—are still not completely unemployed!&lt;/strong&gt; Crowded into a tiny &lt;strong&gt;Niche Market (&lt;code&gt;$N = 1$&lt;/code&gt;, where total demand is capped at &lt;code&gt;$Q = 200$&lt;/code&gt;)&lt;/strong&gt;, they form two 6-person pure-human firms, earn a meager wage (&lt;code&gt;$0.269$&lt;/code&gt;) barely above their reservation floor (&lt;code&gt;$0.25$&lt;/code&gt;), and supply 88% of that small pond&#39;s output (&lt;code&gt;$165.3$&lt;/code&gt; units), leaving the mighty ASI with only the remaining &lt;code&gt;$22.1$&lt;/code&gt; units.&lt;/p&gt;&#xA;&lt;h3 id=&#34;theoretical-breakdown-if-asi-crushes-humans-everywhere-why-do-human-firms-survive-in-niche-markets&#34;&gt;Theoretical Breakdown: If ASI Crushes Humans Everywhere, Why Do Human Firms Survive in Niche Markets?&lt;/h3&gt;&#xA;&lt;p&gt;Many readers assume this must be a typo: ASI scores 12 in coding (vs. 9 for humans) and 1.05 in coordination (vs. 0.75 for humans)—why doesn&#39;t ASI wipe out humans in the niche market too?&lt;/p&gt;&#xA;&lt;p&gt;The answer lies in David Ricardo&#39;s two-century-old principle of &lt;strong&gt;Comparative Advantage&lt;/strong&gt;, combined with &lt;strong&gt;physical market-size caps on scale economies&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;A small pond cannot hold a leviathan&lt;/strong&gt;: ASI&#39;s deadliest weapon is the increasing returns to scale from &lt;code&gt;$y_*^M = 1.05 &amp;gt; 1$&lt;/code&gt;—the larger the swarm, the higher the per-agent output and the lower the unit cost. In a niche market capped at &lt;code&gt;$Q &amp;lt; 200$&lt;/code&gt;, however, total demand places a hard ceiling on firm size (the paper&#39;s Feasibility constraint requires any single indivisible firm&#39;s output not to exceed market demand, &lt;code&gt;$q_f \le Q$&lt;/code&gt;). In such a shallow pond, ASI cannot deploy a 100,000-agent mega-swarm; forced to operate at a miniature scale of &lt;code&gt;$m \approx 3.66$&lt;/code&gt;, its supercooperative scale advantage is largely neutralized.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Compute has a hard cost floor, whereas human wages can flex downward&lt;/strong&gt;: Running an ASI instance consumes physical electricity and chip rental &lt;code&gt;$r = 1$&lt;/code&gt; (or carries the opportunity cost of deploying that compute in deep markets for higher returns), whereas the human reservation wage is only &lt;code&gt;$\underline w = 0.25$&lt;/code&gt;. As long as human specialists accept a wage cut down to &lt;code&gt;$0.269$&lt;/code&gt; (roughly a quarter of ASI&#39;s compute rental rate), in a scale-constrained niche market a &amp;quot;cheap human mosaic team&amp;quot; can still match the unit production cost of an &amp;quot;expensive, scale-throttled ASI&amp;quot;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-restrepo2025-2&#34; href=&#34;#ref-restrepo2025&#34;&gt;[15]&lt;/a&gt;&lt;/sup&gt;!&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Of course, the authors add a sobering caveat in the text: this survival is merely a knife-edge slice right after ASI crosses the threshold, when compute cost &lt;code&gt;$r = 1$&lt;/code&gt; still sits well above the human subsistence floor &lt;code&gt;$\underline w = 0.25$&lt;/code&gt;. If ASI&#39;s solo competence continues rising from 12 to 50, or if compute rental &lt;code&gt;$r$&lt;/code&gt; drops below &lt;code&gt;$\underline w$&lt;/code&gt;, then by &lt;strong&gt;Proposition 4(i) (Machine-only Production)&lt;/strong&gt;, humanity&#39;s last refuge of comparative advantage vanishes as well.&lt;/p&gt;&#xA;&lt;figure class=&#34;data wide dense&#34;&gt;&lt;figcaption&gt;Equilibrium Panorama Across the Four Acts (Exact Numerical Values)&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Stage&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;AI Solo θ&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;AI Coord y*&lt;/th&gt;&lt;th&gt;Deep-Market Structure&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Specialist Wage&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Coordinator Wage&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Coordinator Emp.&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Pre-AI Baseline&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0&lt;/td&gt;&lt;td class=&#34;prose-col&#34;&gt;2 mixed human firms of 7&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;4.15&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:58.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;2.41&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2.00 / 2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Act I: Minimal AGI&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1.69&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.78&lt;/td&gt;&lt;td class=&#34;prose-col&#34;&gt;Human mixed + many 7-AI firms&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:69.9%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;2.90&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:31.3%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;1.30&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2.00 / 2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Act II: Supercompetent&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;12.00&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.78&lt;/td&gt;&lt;td class=&#34;prose-col&#34;&gt;Human-coordinator-led 7-AI firms&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:9.4%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.39&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:11.6%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.48&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2.00 / 2&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Act III: Supercooperative&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1.69&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1.60&lt;/td&gt;&lt;td class=&#34;prose-col&#34;&gt;Single giant pure-AI monopoly&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:9.9%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.41&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:6.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.25&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.97 / 2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Act IV: ASI&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;12.00&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1.05&lt;/td&gt;&lt;td class=&#34;prose-col&#34;&gt;Single giant pure-AI monopoly&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:6.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.27&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:6.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.25&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.00 / 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class=&#34;data-note&#34;&gt;Data directly from Imas, Koh &amp;amp; Legg (2026), Table 2 and Section 2.2 (compute rental r = 1, human reservation wage w₀ = 0.25, 12 specialists and 2 coordinators).&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;stepping-outside-the-model-six-real-world-frictions-the-paper-leaves-out&#34;&gt;Stepping Outside the Model: Six Real-World Frictions the Paper Leaves Out&lt;/h2&gt;&#xA;&lt;p&gt;Embedding Coasean firm boundaries&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-coase1937-2&#34; href=&#34;#ref-coase1937&#34;&gt;[20]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-williamson1967-2&#34; href=&#34;#ref-williamson1967&#34;&gt;[22]&lt;/a&gt;&lt;/sup&gt; into a general equilibrium model of AGI gives &lt;em&gt;Organizing Intelligence&lt;/em&gt; far greater explanatory power than traditional task-automation frameworks&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-acemogluRestrepo2018-1&#34; href=&#34;#ref-acemogluRestrepo2018&#34;&gt;[30]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-aghionJonesJones2019-1&#34; href=&#34;#ref-aghionJonesJones2019&#34;&gt;[31]&lt;/a&gt;&lt;/sup&gt; (indeed, &lt;strong&gt;Theorem 3&lt;/strong&gt; in Section 7.1 proves that when returns to scale are forced to be constant, &lt;code&gt;$\gamma \equiv 1$&lt;/code&gt;, their model collapses exactly into the classic Acemoglu-Restrepo task model, rendering firm size and organizational boundaries irrelevant).&lt;/p&gt;&#xA;&lt;p&gt;Still, if we want to use this paper as a compass for the real world, we must see clearly where its mathematical axioms pare away reality for analytical tractability. Specifically, the model has six critical blind spots:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:316px;--hn:615px&#34;&gt;&lt;figcaption&gt;Theoretical Model vs. Real World: Six Institutional and Physical Frictions Simplified Away&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/organizing-intelligence/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Model assumptions are adopted to guarantee equilibrium existence and closed-form solutions; real-world frictions will bend, delay, or rewrite the four-act script above.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;1-flattening-pyramid-hierarchies-into-an-arithmetic-mean&#34;&gt;1. Flattening Pyramid Hierarchies into an &amp;quot;Arithmetic Mean&amp;quot;&lt;/h3&gt;&#xA;&lt;p&gt;The paper&#39;s &lt;strong&gt;Assumption 2 (First-moment Representation)&lt;/strong&gt; stipulates that a firm&#39;s scaling capacity depends solely on the &lt;strong&gt;arithmetic mean&lt;/strong&gt; of all members&#39; coordination abilities, &lt;code&gt;$\bar y_* = m^{-1} \int y_* \,\mathrm{d}\nu$&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Mathematically, this is wonderfully clean; organizationally, it is overly naive. Real firms are not flat circles where everyone&#39;s coordination score is averaged equally—they are &lt;strong&gt;knowledge and decision pyramids (Knowledge Hierarchies)&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-garicano2000-1&#34; href=&#34;#ref-garicano2000&#34;&gt;[32]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-garicanoRossiHansberg2006-1&#34; href=&#34;#ref-garicanoRossiHansberg2006&#34;&gt;[33]&lt;/a&gt;&lt;/sup&gt;. Under a flat arithmetic average, placing 1 brilliant human CEO atop 10,000 AI agents gives the human a weight of &lt;code&gt;$1/10,000$&lt;/code&gt;, diluting their coordination impact to nothing. In a real tree-structured hierarchy, however, top-level architects define interfaces, partition modular boundaries, and set reward functions, giving a single human at the apex &lt;code&gt;$O(1)$&lt;/code&gt; global leverage. By ignoring internal hierarchy, the model prematurely declares the extinction of top human architects in Act III.&lt;/p&gt;&#xA;&lt;h3 id=&#34;2-the-single-ai-model-assumption-overstates-the-shelf-life-of-human-mosaic-intelligence&#34;&gt;2. The &amp;quot;Single AI Model&amp;quot; Assumption Overstates the Shelf Life of Human Mosaic Intelligence&lt;/h3&gt;&#xA;&lt;p&gt;In Act I, human teams beat Minimal AGI via &amp;quot;Mosaic Intelligence&amp;quot; only because the model assumes &lt;strong&gt;the entire economy has access to just one homogeneous AI model &lt;code&gt;$\mathbf{y}^M$&lt;/code&gt;&lt;/strong&gt; (Section 3.1), so combining ten thousand AI instances leaves their strengths and blind spots completely identical.&lt;/p&gt;&#xA;&lt;p&gt;In practice, nothing restricts a company to calling a single checkpoint. Firms routinely combine a &lt;code&gt;Coding-Agent&lt;/code&gt; specialized in synthesis, a &lt;code&gt;Security-Agent&lt;/code&gt; tuned for auditing, and a &lt;code&gt;Doc-Agent&lt;/code&gt; trained for technical prose inside the same workflow. The moment &lt;strong&gt;heterogeneous AI models&lt;/strong&gt; are allowed to form their own convex hull, AI ensembles can construct &amp;quot;machine mosaic intelligence&amp;quot; on their own—meaning the moat of complementary human specialists in Act I will erode much faster than the paper predicts.&lt;/p&gt;&#xA;&lt;h3 id=&#34;3-infinite-cheap-compute-vs-physical-fab-and-power-walls&#34;&gt;3. Infinite Cheap Compute vs. Physical Fab and Power Walls&lt;/h3&gt;&#xA;&lt;p&gt;The model assumes machines are &lt;strong&gt;supplied with infinite elasticity&lt;/strong&gt; at a constant rental price &lt;code&gt;$r &amp;gt; 0$&lt;/code&gt;. That is what allows a single giant AI enterprise in Act III (&lt;code&gt;$\gamma^M &amp;gt; 1$&lt;/code&gt;) to spin up tens of millions of concurrent instances overnight and swallow the entire industry.&lt;/p&gt;&#xA;&lt;p&gt;In the physical world, TSMC&#39;s CoWoS packaging capacity, HBM memory supply, and power-grid interconnection queues are anything but infinitely elastic. When the entire economy tries to instantiate mega-swarms simultaneously, the compute rental rate &lt;code&gt;$r(Q^M)$&lt;/code&gt; will shoot up a steeply convex marginal cost curve. &lt;strong&gt;Nonlinear bottlenecks in compute supply will convert what used to be human &amp;quot;skill scarcity rents&amp;quot; into &amp;quot;physical infrastructure scarcity rents&amp;quot; for compute owners&lt;/strong&gt;, while forcing the expansion of supercooperative AI firms to pace itself to the physical build-out of fabs and power plants.&lt;/p&gt;&#xA;&lt;h3 id=&#34;4-the-utopia-of-the-zero-profit-leviathan-contestable-markets&#34;&gt;4. The Utopia of the &amp;quot;Zero-Profit Leviathan&amp;quot;: Contestable Markets&lt;/h3&gt;&#xA;&lt;p&gt;To resolve the equilibrium existence problem when atomistic small firms coexist with industry-monopolizing giants, the paper adopts an equilibrium concept based on a &lt;strong&gt;Replacement Game&lt;/strong&gt; and contestable market theory&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-demsetz1968-1&#34; href=&#34;#ref-demsetz1968&#34;&gt;[34]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-baumolPanzarWillig1982-1&#34; href=&#34;#ref-baumolPanzarWillig1982&#34;&gt;[35]&lt;/a&gt;&lt;/sup&gt; (Section 4.1 and Appendix B): even when a single giant pure-AI firm monopolizes 100% of an industry, the threat of potential entrants forces the monopolist to &lt;strong&gt;earn zero economic profit&lt;/strong&gt;, passing all technological gains to consumers via near-zero product prices (Theorem 1: equilibrium always maximizes aggregate social surplus).&lt;/p&gt;&#xA;&lt;p&gt;As the authors candidly acknowledge in Section 5.2, this is purely a theoretical benchmark. In reality, once a tech giant commanding a supercooperative AI cluster captures 100% market share, compute moats, data flywheels, and switching costs will rapidly lock out contestability. The zero-profit assumption will fail instantaneously—ushering in not a utopia of free goods, but unprecedented monopoly pricing and political-economic rent-seeking.&lt;/p&gt;&#xA;&lt;h3 id=&#34;5-ai-cannot-go-to-prison-legal-liability-as-an-institutional-moat&#34;&gt;5. AI Cannot Go to Prison: Legal Liability as an Institutional Moat&lt;/h3&gt;&#xA;&lt;p&gt;In the model&#39;s production functional &lt;code&gt;$F(\nu)$&lt;/code&gt;, whenever a machine configuration yields higher code and documentation output per dollar, firms replace humans with machines.&lt;/p&gt;&#xA;&lt;p&gt;In real commerce, however, vast categories of roles—certified public accountants, attending physicians, law firm partners, chief engineers, regulatory sign-off officers—exist not merely to generate cognitive output, but to serve as &lt;strong&gt;ultimate liability sinks&lt;/strong&gt;. An AI has no physical liberty, cannot be sent to prison, and carries no personal unlimited liability to be seized in court. As long as modern legal systems require a natural person who can face incarceration or bankruptcy to stand behind every critical signature, humans will remain in the production loop as compliance signatories and risk guarantors—collecting institutional rents even after AI achieves godlike scores in both &lt;code&gt;$\theta$&lt;/code&gt; and &lt;code&gt;$y_*$&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;6-the-severed-macroeconomic-loop-when-everyone-earns-reservation-wages-who-is-buying&#34;&gt;6. The Severed Macroeconomic Loop: When Everyone Earns Reservation Wages, Who Is Buying?&lt;/h3&gt;&#xA;&lt;p&gt;Finally, as an industrial-organization paper rooted in partial equilibrium, the model treats the demand curve &lt;code&gt;$P_N(Q)$&lt;/code&gt; as exogenously fixed.&lt;/p&gt;&#xA;&lt;p&gt;That is harmless in Acts I and II. By Acts III and IV, however, Coordinator wages are pinned at the reservation floor &lt;code&gt;$\underline w$&lt;/code&gt; and specialist wages have collapsed close to &lt;code&gt;$\underline w$&lt;/code&gt;, while firms earn zero profit. Without explicitly introducing a macroeconomic redistribution loop—such as Universal Basic Income (UBI) or broad citizen ownership of AI compute equity—that high, exogenous demand curve &lt;code&gt;$P_N(Q)$&lt;/code&gt; cannot possibly hold up in reality. &lt;strong&gt;If every human worker loses their wage premium, who has the purchasing power to buy the ocean of goods produced by giant AI swarms?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;epilogue-measuring-the-future-with-a-different-ruler&#34;&gt;Epilogue: Measuring the Future with a Different Ruler&lt;/h2&gt;&#xA;&lt;p&gt;Even with those six real-world frictions acting as buffers, Imas, Koh, and Legg&#39;s paper hands us an exceptionally sharp scalpel.&lt;/p&gt;&#xA;&lt;p&gt;For the past three years, every time a new model dropped, the tech world fixated on how many percentage points solo scores rose on MMLU, GPQA, or SWE-bench. This paper tells us to look elsewhere: &lt;strong&gt;gains in solo competence (&lt;code&gt;$L$&lt;/code&gt;) merely make existing firms leaner, goods cheaper, and human orchestrators who know how to frame problems and coordinate teams more valuable; they do not overturn the organizational structure of society overnight.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The needle that truly governs whether the economy undergoes a cliff-like phase transition is the &lt;strong&gt;multi-agent coordination exponent &lt;code&gt;$\gamma^M$&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;So long as &lt;code&gt;$\gamma^M &amp;lt; 1$&lt;/code&gt;, no matter how formidable an AI is on solo benchmarks, lopsided humans can still rely on heterogeneous &amp;quot;mosaic intelligence&amp;quot; and organizational coordination to carve out thriving niches across countless small and mid-sized mixed teams. The day we see hundreds or thousands of AI agents collaborate over weeks on a million-line codebase such that &lt;strong&gt;the larger the swarm grows, the higher the effective output per agent becomes (&lt;code&gt;$\gamma^M &amp;gt; 1$&lt;/code&gt;)&lt;/strong&gt;—that is the moment the Coasean ceiling truly shatters and the old economic order begins to collapse.&lt;/p&gt;&#xA;&lt;p&gt;Until that day arrives, rather than locking horns with raw compute on the solo test-taking track, our best bet is to cultivate the coordination skills that bind heterogeneous intelligences together. After all, in an age where compute can be replicated without limit, &lt;strong&gt;the only true scarcity is how intelligence is organized.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;&#xA;&lt;ol class=&#34;references&#34;&gt;&#xA;&lt;li id=&#34;ref-kokotajlo2025ai2027&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-kokotajlo2025ai2027-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Kokotajlo, D., Alexander, S., Larsen, T., Lifland, E., &amp;amp; Dean, R. (2025). &lt;a href=&#34;https://ai-2027.com/&#34;&gt;AI 2027&lt;/a&gt;. &lt;em&gt;AI Futures Project&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-patwardhan2025gdpval&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-patwardhan2025gdpval-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Patwardhan, T., et al. (2025). &lt;a href=&#34;https://openai.com/&#34;&gt;GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Tasks&lt;/a&gt;. &lt;em&gt;OpenAI Technical Report&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-wijk2024rebench&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-wijk2024rebench-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Wijk, H., et al. (2024). &lt;a href=&#34;https://arxiv.org/abs/2411.15114&#34;&gt;RE-Bench: Evaluating Frontier AI R&amp;amp;D Capabilities of Language Model Agents Against Human Experts&lt;/a&gt;. &lt;em&gt;arXiv:2411.15114&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-yotzov2026firmdata&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-yotzov2026firmdata-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Yotzov, I., et al. (2026). Firm-Level Adoption and Economic Impacts of Generative AI. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-humlum2025llm&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-humlum2025llm-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Humlum, A., &amp;amp; Vestergaard, E. (2025). The Labor Market Effects of Generative AI: Evidence from Administrative and Survey Data. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-imas2026organizing&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;↑&lt;/span&gt; &lt;a href=&#34;#cite-imas2026organizing-1&#34; aria-label=&#34;Back to citation 1&#34;&gt;1&lt;/a&gt; &lt;a href=&#34;#cite-imas2026organizing-2&#34; aria-label=&#34;Back to citation 2&#34;&gt;2&lt;/a&gt;&lt;/span&gt; Imas, A., Koh, A., &amp;amp; Legg, S. (2026). &lt;a href=&#34;https://arxiv.org/abs/2611.05417&#34;&gt;Organizing Intelligence&lt;/a&gt;. &lt;em&gt;arXiv:2611.05417&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-samuelson1948&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-samuelson1948-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Samuelson, P. A. (1948). &lt;em&gt;Economics: An Introductory Analysis&lt;/em&gt;. McGraw-Hill.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-leggHutter2007&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-leggHutter2007-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Legg, S., &amp;amp; Hutter, M. (2007). &lt;a href=&#34;https://doi.org/10.1007/s11023-007-9079-x&#34;&gt;Universal Intelligence: A Definition of Machine Intelligence&lt;/a&gt;. &lt;em&gt;Minds and Machines, 17&lt;/em&gt;(4), 391–444.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-hui2024shortterm&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-hui2024shortterm-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Hui, X., Reshef, O., &amp;amp; Zhou, L. (2024). &lt;a href=&#34;https://doi.org/10.1287/orsc.2023.18441&#34;&gt;The Short-Term Effects of Generative Artificial Intelligence on Employment: Evidence from an Online Labor Market&lt;/a&gt;. &lt;em&gt;Organization Science, 35&lt;/em&gt;(6), 1977–1989.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-demirci2025replacing&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-demirci2025replacing-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Demirci, O., Hannane, J., &amp;amp; Zhu, X. (2025). Who Is AI Replacing? The Impact of Generative AI on Online Freelancing Platforms. &lt;em&gt;Management Science&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-kremer1993&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-kremer1993-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Kremer, M. (1993). &lt;a href=&#34;https://doi.org/10.2307/2118400&#34;&gt;The O-Ring Theory of Economic Development&lt;/a&gt;. &lt;em&gt;Quarterly Journal of Economics, 108&lt;/em&gt;(3), 551–575.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-jones2011&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-jones2011-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Jones, C. I. (2011). &lt;a href=&#34;https://doi.org/10.1257/mac.3.2.1&#34;&gt;Intermediate Goods and Weak Links in the Theory of Economic Development&lt;/a&gt;. &lt;em&gt;American Economic Journal: Macroeconomics, 3&lt;/em&gt;(2), 1–28.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-hongPage2004&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-hongPage2004-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Hong, L., &amp;amp; Page, S. E. (2004). &lt;a href=&#34;https://doi.org/10.1073/pnas.0406726101&#34;&gt;Groups of Diverse Problem Solvers Can Outperform Groups of High-Ability Problem Solvers&lt;/a&gt;. &lt;em&gt;Proceedings of the National Academy of Sciences, 101&lt;/em&gt;(46), 16385–16389.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-page2007difference&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-page2007difference-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Page, S. E. (2007). &lt;em&gt;The Difference: How the Power of Diversity Creates Better Groups, Firms, Schools, and Societies&lt;/em&gt;. Princeton University Press.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-restrepo2025&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;↑&lt;/span&gt; &lt;a href=&#34;#cite-restrepo2025-1&#34; aria-label=&#34;Back to citation 1&#34;&gt;1&lt;/a&gt; &lt;a href=&#34;#cite-restrepo2025-2&#34; aria-label=&#34;Back to citation 2&#34;&gt;2&lt;/a&gt;&lt;/span&gt; Restrepo, P. (2025). Automation, Reproducible Intelligence, and Comparative Advantage. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-kim2025scalingagents&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-kim2025scalingagents-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Kim, J., et al. (2025). Scaling Laws and Error Amplification in Multi-Agent LLM Systems. &lt;em&gt;arXiv preprint&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-cemri2025mast&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-cemri2025mast-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Cemri, M., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2503.13657&#34;&gt;Why Do Multi-Agent LLM Systems Fail?&lt;/a&gt;. &lt;em&gt;arXiv:2503.13657&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-kimKoning2026&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-kimKoning2026-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Kim, S., &amp;amp; Koning, R. (2026). AI-Native Startups: Organizational Scaling and Hierarchy Flattening. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-ewensGiroud2025hierarchy&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-ewensGiroud2025hierarchy-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Ewens, M., &amp;amp; Giroud, X. (2025). Firm Hierarchy in the Age of Artificial Intelligence. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-coase1937&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;↑&lt;/span&gt; &lt;a href=&#34;#cite-coase1937-1&#34; aria-label=&#34;Back to citation 1&#34;&gt;1&lt;/a&gt; &lt;a href=&#34;#cite-coase1937-2&#34; aria-label=&#34;Back to citation 2&#34;&gt;2&lt;/a&gt;&lt;/span&gt; Coase, R. H. (1937). &lt;a href=&#34;https://doi.org/10.1111/j.1468-0335.1937.tb00002.x&#34;&gt;The Nature of the Firm&lt;/a&gt;. &lt;em&gt;Economica, 4&lt;/em&gt;(16), 386–405.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-simon1947&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-simon1947-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Simon, H. A. (1947). &lt;em&gt;Administrative Behavior: A Study of Decision-Making Processes in Administrative Organization&lt;/em&gt;. Macmillan.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-williamson1967&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;↑&lt;/span&gt; &lt;a href=&#34;#cite-williamson1967-1&#34; aria-label=&#34;Back to citation 1&#34;&gt;1&lt;/a&gt; &lt;a href=&#34;#cite-williamson1967-2&#34; aria-label=&#34;Back to citation 2&#34;&gt;2&lt;/a&gt;&lt;/span&gt; Williamson, O. E. (1967). &lt;a href=&#34;https://doi.org/10.1086/259258&#34;&gt;Hierarchical Control and Optimum Firm Size&lt;/a&gt;. &lt;em&gt;Journal of Political Economy, 75&lt;/em&gt;(2), 123–138.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-holmstrom1982&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;↑&lt;/span&gt; &lt;a href=&#34;#cite-holmstrom1982-1&#34; aria-label=&#34;Back to citation 1&#34;&gt;1&lt;/a&gt; &lt;a href=&#34;#cite-holmstrom1982-2&#34; aria-label=&#34;Back to citation 2&#34;&gt;2&lt;/a&gt;&lt;/span&gt; Holmström, B. (1982). &lt;a href=&#34;https://doi.org/10.2307/3003457&#34;&gt;Moral Hazard in Teams&lt;/a&gt;. &lt;em&gt;Bell Journal of Economics, 13&lt;/em&gt;(2), 324–340.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-brynjolfsson2026canaries&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-brynjolfsson2026canaries-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Brynjolfsson, E., Chandar, B., &amp;amp; Chen, R. (2026). Canaries in the Coal Mine: Six Facts about the Recent Employment Effects of Artificial Intelligence. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-hosseini2025seniority&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-hosseini2025seniority-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Hosseini, M., et al. (2025). Generative AI and the Seniority Bias in Knowledge Work. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-azar2026wage&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-azar2026wage-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Azar, J., et al. (2026). AI Exposure and Wage Compression Across the Career Lifecycle. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-simon1971&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-simon1971-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Simon, H. A. (1971). Designing Organizations for an Information-Rich World. In M. Greenberger (Ed.), &lt;em&gt;Computers, Communications, and the Public Interest&lt;/em&gt; (pp. 37–72). Johns Hopkins Press.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-polanyi1966&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-polanyi1966-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Polanyi, M. (1966). &lt;em&gt;The Tacit Dimension&lt;/em&gt;. Doubleday.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-graeberNoyRoth2026&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-graeberNoyRoth2026-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Graeber, T., Noy, S., &amp;amp; Roth, C. (2026). Lossy Communication and Tacit Knowledge in Organizations. &lt;em&gt;Working Paper&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-acemogluRestrepo2018&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-acemogluRestrepo2018-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Acemoglu, D., &amp;amp; Restrepo, P. (2018). &lt;a href=&#34;https://doi.org/10.1257/aer.20160696&#34;&gt;The Race between Man and Machine: Implications of Technology for Growth, Factor Shares, and Employment&lt;/a&gt;. &lt;em&gt;American Economic Review, 108&lt;/em&gt;(6), 1488–1542.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-aghionJonesJones2019&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-aghionJonesJones2019-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Aghion, P., Jones, B. F., &amp;amp; Jones, C. I. (2019). &lt;a href=&#34;https://doi.org/10.7208/chicago/9780226613475.003.0008&#34;&gt;Artificial Intelligence and Economic Growth&lt;/a&gt;. In &lt;em&gt;The Economics of Artificial Intelligence: An Agenda&lt;/em&gt; (pp. 237–282). University of Chicago Press.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-garicano2000&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-garicano2000-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Garicano, L. (2000). &lt;a href=&#34;https://doi.org/10.1086/262139&#34;&gt;Hierarchies and the Organization of Knowledge in Production&lt;/a&gt;. &lt;em&gt;Journal of Political Economy, 108&lt;/em&gt;(5), 874–904.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-garicanoRossiHansberg2006&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-garicanoRossiHansberg2006-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Garicano, L., &amp;amp; Rossi-Hansberg, E. (2006). &lt;a href=&#34;https://doi.org/10.1162/qjec.2006.121.4.1383&#34;&gt;Organization and Inequality in a Knowledge Economy&lt;/a&gt;. &lt;em&gt;Quarterly Journal of Economics, 121&lt;/em&gt;(4), 1383–1435.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-demsetz1968&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-demsetz1968-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Demsetz, H. (1968). &lt;a href=&#34;https://doi.org/10.1086/466643&#34;&gt;Why Regulate Utilities?&lt;/a&gt;. &lt;em&gt;Journal of Law and Economics, 11&lt;/em&gt;(1), 55–65.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-baumolPanzarWillig1982&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-baumolPanzarWillig1982-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Baumol, W. J., Panzar, J. C., &amp;amp; Willig, R. D. (1982). &lt;em&gt;Contestable Markets and the Theory of Industry Structure&lt;/em&gt;. Harcourt Brace Jovanovich.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;</description>
      <category>Thoughts</category>
      <pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://mizore.blog/en/posts/organizing-intelligence/</guid>
    </item>
    <item>
      <title>Glance: Eight Questions in One Forward Pass—and the Nerve to Say “Not There”</title>
      <link>https://mizore.blog/en/posts/glance-single-prefill-decision-model/</link>
      <description>&lt;figure class=&#34;widget&#34; data-src=&#34;https://mizore.blog/widgets/glance-7eb8c066b381/hero.js&#34; data-style=&#34;style.css&#34;&gt;&lt;figcaption&gt;One image, eight questions, one forward pass&lt;/figcaption&gt;&lt;div class=&#34;widget-stage&#34;&gt;&lt;picture&gt;&lt;source media=&#34;(max-width: 640px)&#34; srcset=&#34;https://mizore.blog/images/396eccd764385b59f9565d988e4c8b4baa9ab32635dba47fa216d6bc16a0efcc.webp&#34; sizes=&#34;calc(100vw - 32px)&#34; width=&#34;588&#34; height=&#34;1874&#34;&gt;&lt;img fetchpriority=&#34;low&#34; class=&#34;widget-still&#34; src=&#34;https://mizore.blog/images/ab1ac14cf94333b5f6f1b66a8cc5dd63ab094012b9fd67b69e4cbfc102bb7159.webp&#34; alt=&#34;Static image: Dinner under an umbrella. Glance boxes the rainbow umbrella and the woman standing on the left; “ketchup” is present (0.976), but the probability of an accurate box is only 0.386, marked “inaccurate box”; “a dog” and “birthday cake” are answered “not present” (0.001, 0.002); “is it raining” is 0.155; “where are they eating” picks garden (0.991)&#34; width=&#34;1056&#34; height=&#34;827&#34; srcset=&#34;https://mizore.blog/images/ad41d59915cfc3ea9dda0a1eba0aa04924ed2426799c25020b7913bf04b0efd3.webp 720w, https://mizore.blog/images/ab1ac14cf94333b5f6f1b66a8cc5dd63ab094012b9fd67b69e4cbfc102bb7159.webp 1056w&#34; decoding=&#34;async&#34; sizes=&#34;(max-width: 760px) calc(100vw - 64px), 704px&#34;&gt;&lt;/picture&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Real precomputed outputs from Glance-4B-preview; the page only filters them.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;When an agent looks at a screen or a video, it never asks just one question—it asks a batch: Is the save dialog open? Where is the “Export” button? Is clicking “Delete All” dangerous? Is that butterfly in this clip? More importantly, &lt;strong&gt;when something isn&#39;t there, the model needs the nerve to say it isn&#39;t there, and how sure it is about “not present” has to be trustworthy.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Glance is a “single-glance” model we trained on Qwen3.5-4B&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-qwen35-1&#34; href=&#34;#ref-qwen35&#34;&gt;[1]&lt;/a&gt;&lt;/sup&gt;. If you know TypeSafe&#39;s Jev&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-jev-1&#34; href=&#34;#ref-jev&#34;&gt;[2]&lt;/a&gt;&lt;/sup&gt;, you can think of Glance as a Jev built specifically for looking at images: its bounding boxes can say “not present,” and they can also say whether the box itself is accurate. It generates no text. It reads the image once and outputs a probability distribution for arbitrarily many questions: where the box is, yes or no, which option to pick, what score to give, and “it&#39;s not here.” Every number above is its real output. Two thresholds govern box queries: if P(present) falls below the first, it answers “not present”; if P(IoU ≥ 0.5) falls below the second, the box is flagged as “inaccurate.” Hover over the questions and drag the thresholds—several details are worth a closer look:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;“A dog” and “birthday cake” didn&#39;t just fail to produce a box; the model answered “not present” and gave a probability. Chinese and English queries land on the exact same box.&lt;/li&gt;&#xA;&lt;li&gt;“Ketchup” is present (0.976), yet the probability that the box is accurate is only 0.386: it knows there is ketchup on the table, but isn&#39;t sure which spot it is. Whether something is present and whether the box is accurate are two separate dials.&lt;/li&gt;&#xA;&lt;li&gt;For “how dangerous is clicking ‘Delete All’,” all four levels have nearly equal probability—that&#39;s the model saying “I don&#39;t know.” What a distribution gives you beyond a single answer is precisely this.&lt;/li&gt;&#xA;&lt;li&gt;On the animation tab, “a flying squirrel” (0.661) and “a bird” (0.347) both point to the red squirrel mid-air in the upper left: as you drag the threshold, uncertain answers appear first and vanish first.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;what-problem-it-solves-and-whats-new&#34;&gt;What Problem It Solves, and What&#39;s New&lt;/h2&gt;&#xA;&lt;p&gt;Today&#39;s agents use a generative vision-language model as their eyes. Those eyes have three flaws, each of which turns directly into agent accidents:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;One question at a time.&lt;/strong&gt; Asking 8 things about the same screen means decoding 8 times, leaving the agent waiting at every step.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Unreliable “not there.”&lt;/strong&gt; When a target isn&#39;t present, the model often draws a box anyway, and the agent clicks a button that doesn&#39;t exist. On GUI queries where the target is not on the screen, the same base model with standard prompting almost never refuses (under 4%), and across every prompt we tried it tops out just over 40%.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The dials are locked.&lt;/strong&gt; Whether it says “not present” is decided for it by the decoding rule, leaving the user no way to tune it per scenario; nor does it know whether its own box is accurate.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:330px;--hn:638px&#34;&gt;&lt;figcaption&gt;Asking the same three questions: generative decodes one by one, Glance reads once&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Schematic; P values are illustrative.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Glance answers these three flaws with three things:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;One forward pass to answer arbitrarily many typed questions.&lt;/strong&gt; The image is computed once; each question branches off the image state for its own readout, and the answer is directly a probability distribution. On hybrid linear-attention / full-attention models like Qwen3.5, standard attention-mask tricks let questions quietly leak into one another; our forward pass is mathematically equivalent to running each question alone. Asking 8 box questions on one image takes 45 ms, versus 134 ms for the strongest generative setup we could configure.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Turning “is it there?” and “is the box accurate?” into two calibrated dials.&lt;/strong&gt; For telling right boxes from wrong ones, Glance reaches an AUROC of 91.6, while generative approaches top out at 79.7. Pairing the two probabilities with a cost-based threshold rule lets you tune behavior at deployment time without retraining.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;A reusable finding: whether a generative model boxes nonexistent objects is a setting, not a property of the model.&lt;/strong&gt; Across four off-the-shelf VLMs, simply changing the prompt, coordinate format, and decoder shifts the rate of boxing absent targets from 17% to 92%—and by 50–60 percentage points within a single Qwen model. Controlled experiments show why: “not present” has only one spelling, whereas “present” has thousands, and who wins depends on how votes are tallied. In Glance, “not present” is a probability that can be dialed continuously and doesn&#39;t care how the prompt is phrased.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Along the way we also ran into two other surprises: what makes “not present” trustworthy is data rather than a larger base model (and our own data accidentally taught the model a shortcut); and when video agents get an answer wrong, it&#39;s usually because they misread what they saw, not because they reasoned poorly.&lt;/p&gt;&#xA;&lt;p&gt;What this means for agents in practice: a GUI agent gets an extra safety gate before clicking. At an operating point that falsely rejects 20% of present buttons, Glance blocks over 50% of targets that aren&#39;t on the screen at all, whereas the same base model across every prompt we tried blocks at most just over 40% (false rejection on GUIs is still higher than we&#39;d like, as we&#39;ll discuss below). When an agent asks follow-up questions about a screen it has already looked at, each batch takes just over ten milliseconds; and the same 4B model can switch from cautious to aggressive simply by changing a threshold—setting risk to match the task rather than accepting whichever single operating point the decoder picked for it.&lt;/p&gt;&#xA;&lt;p&gt;Compared with Jev, the difference lies in bounding boxes. Jev is a System One decision model: given a state and a list of questions, a single query returns the probability of every answer in parallel; starting in 1.14, it also experimentally supports images and a &lt;code&gt;box&lt;/code&gt; question type&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-jev114-1&#34; href=&#34;#ref-jev114&#34;&gt;[3]&lt;/a&gt;&lt;/sup&gt;. However, its box has no “not present” answer (the docs recommend asking a separate yes/no question alongside it), and carries only a single confidence score. Glance builds both directly into the box head. Later in the post we compare the two head-to-head on the exact same questions.&lt;/p&gt;&#xA;&lt;h2 id=&#34;one-forward-pass-arbitrarily-many-questions&#34;&gt;One Forward Pass, Arbitrarily Many Questions&lt;/h2&gt;&#xA;&lt;p&gt;An input consists of one image followed by many questions. The image portion is computed once; each question is a short span of tokens appended after it, and the hidden state at the question&#39;s final position is read out and routed to the corresponding output head:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Box&lt;/strong&gt;: a presence gate outputs P(present); a softmax over the image&#39;s visual tokens selects the patch containing the box center; each of the four sides is a 64-bin distribution; and an IoU head estimates the probability that the predicted box achieves IoU ≥ 0.5 with the ground truth.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Multiple choice, yes/no, graded scoring&lt;/strong&gt;: we directly read the logits of the corresponding label tokens (A…Z, Yes/No) from the base language model head, plus a zero-initialized residual correction. At initialization, their outputs are identical to the base model&#39;s next-token distribution, and training merely fine-tunes from there.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:330px;--hn:311px&#34;&gt;&lt;figcaption&gt;The box head: a single readout yields the box and two probabilities&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Each visual token corresponds to 32×32 pixels. The training target for the center patch is distributed proportionally to the area of each patch covered by the ground-truth box, following GUI-Actor&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-guiactor-1&#34; href=&#34;#ref-guiactor&#34;&gt;[4]&lt;/a&gt;&lt;/sup&gt;; modeling the four sides as distributions comes from GFL&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-gfl-1&#34; href=&#34;#ref-gfl&#34;&gt;[5]&lt;/a&gt;&lt;/sup&gt;, trained with Cramér distance (the sum of squared differences between the two CDFs), with the final box taken as the expected value of each side&#39;s distribution; using a presence score to judge whether a concept is in the image is also done in SAM 3&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-sam3-1&#34; href=&#34;#ref-sam3&#34;&gt;[6]&lt;/a&gt;&lt;/sup&gt;. None of the parts are new; what is new is putting them into a &lt;strong&gt;single forward pass&lt;/strong&gt; that simultaneously produces bounding boxes and calibrated “not present” probabilities for many questions on one image. The IoU head reads the features at the selected patch, and the box confidence is P(present) × P(IoU ≥ 0.5). When the target is absent, only the presence gate is trained. During training we freeze the vision tower and attach LoRA (r=64) to the linear layers of the language model. The temperature for each question type is fitted on a held-out calibration split from the training distribution, never touching any evaluation set.&lt;/p&gt;&#xA;&lt;h3 id=&#34;on-hybrid-models-attention-masks-dont-stop-cross-talk&#34;&gt;On Hybrid Models, Attention Masks Don&#39;t Stop Cross-Talk&lt;/h3&gt;&#xA;&lt;p&gt;To “compute the image once and append the questions after it,” the most straightforward implementation is to concatenate the image and 8 questions into a single sequence and apply a block mask in attention so each question only attends to the image and itself. On a standard Transformer, that suffices.&lt;/p&gt;&#xA;&lt;p&gt;But Qwen3.5 is a hybrid architecture: out of every 4 layers, 3 are Gated DeltaNet (GDN, a linear attention variant with recurrent state) and only 1 is full attention. GDN has no attention matrix to mask; its recurrent state is passed sequentially along the token stream, so whatever Question 1 writes into the state, Question 2 can still read. This cross-talk doesn&#39;t throw an error or tank benchmark scores—it just makes every answer quietly depend on the questions placed before it.&lt;/p&gt;&#xA;&lt;figure class=&#34;widget&#34; data-src=&#34;https://mizore.blog/widgets/glance-7eb8c066b381/leak.js&#34; data-style=&#34;style.css&#34;&gt;&lt;figcaption&gt;A block mask stops full attention, not GDN&amp;#39;s recurrent state&lt;/figcaption&gt;&lt;div class=&#34;widget-stage&#34;&gt;&lt;picture&gt;&lt;source media=&#34;(max-width: 640px)&#34; srcset=&#34;https://mizore.blog/images/ee910b978ddd16ee133fea7e70398361184dbbcf7944405d9ba342260c5d851d.webp&#34; sizes=&#34;calc(100vw - 32px)&#34; width=&#34;588&#34; height=&#34;1420&#34;&gt;&lt;img fetchpriority=&#34;low&#34; class=&#34;widget-still&#34; src=&#34;https://mizore.blog/images/79334c3eb5419db429be02d79da2f879bfa67614d815b775e40f9ae1862e655f.webp&#34; alt=&#34;Static image: Top shows concatenating the image and three questions with a block mask, where the GDN layer&amp;#39;s recurrent state passes from Question 1 all the way to Question 3; bottom shows Glance&amp;#39;s approach, where each question restarts from the prefix state&#34; width=&#34;1056&#34; height=&#34;690&#34; srcset=&#34;https://mizore.blog/images/c337018b8ad1a68aab4cd8a99a9506f00e0d6306e6dabcf3f5e0167958ba2442.webp 719w, https://mizore.blog/images/79334c3eb5419db429be02d79da2f879bfa67614d815b775e40f9ae1862e655f.webp 1056w&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34; sizes=&#34;(max-width: 760px) calc(100vw - 64px), 704px&#34;&gt;&lt;/picture&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Controlled test on 27B.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;We measured how much leaks on the 27B model: a 938-token prefix followed by 8 question blocks of 25 tokens each, checking how much the hidden state of Block 4 differs from running Block 4 alone (‖concatenated − isolated‖ / ‖isolated‖). With no mask it differs by 44.1%; with a causal block mask it still differs by 39.8%; with flex attention&#39;s BlockMask it still differs by 38.7%. All three are nearly equally broken.&lt;/p&gt;&#xA;&lt;p&gt;So we wrote our own forward pass: the prefix is computed once as usual, we snapshot the final recurrent state and last 3 conv inputs at every GDN layer, and each question block restarts from that saved state; in full-attention layers, each block attends only to the prefix and itself. Mathematically, this is identical to running every “prefix + question” pair separately, except the prefix is computed only once. Checked block-by-block against the reference implementation on a randomly initialized small Qwen3.5 config in fp32, the relative error is around 1e-7; with real 4B weights, cosine similarity is at least 0.99999.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:230px&#34;&gt;&lt;figcaption&gt;Deviation from isolated execution: all three masks leak ~40%, restarting from prefix state is ~1e-7&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;First three measured on 27B; last one measured on a small config in fp32. Log scale.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;how-fast-it-is-and-where-the-speed-comes-from&#34;&gt;How Fast It Is, and Where the Speed Comes From&lt;/h3&gt;&#xA;&lt;p&gt;Speed has to be measured against the strongest baseline. The fastest generative setup we could configure is Qwen3.5-4B on vLLM 0.34 with prefix caching, CUDA graphs, MTP speculative decoding enabled, and FP8 weights. On the same RTX PRO 6000 and the same RefCOCO photos (up to 640 visual tokens), asking 1, 8, or 32 box questions on a single image takes 43, 45, and 61 ms with Glance versus 99, 134, and 229 ms with vLLM—making Glance 2.3×, 3.0×, and 3.8× faster; against bf16 vLLM under the same settings, it is 2.7×, 3.6×, and 4.6× faster. Both sides are timed from the resized image to receiving all answers, image preprocessing included. Glance runs in bf16 here, and agrees with the fp32 reference forward pass on presence decisions 99.78% of the time.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:330px&#34;&gt;&lt;figcaption&gt;Latency per call when asking N box questions on one image&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;RTX PRO 6000, median of 50 calls.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Where does the speedup come from? When we modified vLLM to read only a single token per question without decoding (which can only answer “present or not,” without producing a box), its latency for a single question also dropped to 39 ms—the same as Glance. So the advantage comes from not decoding, not from a faster engine; what Glance achieves is producing bounding boxes without decoding. As the number of questions grows, vLLM&#39;s curve still climbs faster because each question is a separate request in vLLM.&lt;/p&gt;&#xA;&lt;p&gt;The most common pattern for an agent is asking follow-up questions about a screen it has already viewed. With the image state already cached, asking 1, 8, or 32 more questions takes just 11, 14, and 28 ms, versus 78, 113, and 212 ms for the strongest baseline—a 7–8× speedup. On a cheaper L4 GPU the gap widens further: 2.6×, 3.2×, and 5.4× faster for 1, 8, and 32 questions on a fresh image, and 10–12× faster for follow-up questions.&lt;/p&gt;&#xA;&lt;p&gt;There are also cases where Glance is not faster. When a call is dominated by prefill, the time saved by skipping decoding isn&#39;t enough: asking just 1 question on a large 4,096-visual-token screenshot, or 1 question per frame across 32–64 video frames, leaves Glance tied or slower (0.5–1.0×). It loses there because our research engine is slower than vLLM at prefilling long sequences and multi-image batches, not because of the readout mechanism.&lt;/p&gt;&#xA;&lt;figure class=&#34;data&#34;&gt;&lt;figcaption&gt;Latency across workloads (ms): Glance vs. strongest generative config&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Workload&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Speedup&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Glance&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;vLLM&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;8 boxes&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:36.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;3.0×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;45&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;134&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;32 boxes&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:45.8%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;3.8×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;61&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;229&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key&#34;&gt;Follow-up 8&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;8.3×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;14&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;113&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;L4, 32 box&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:65.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;5.4×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;354&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1,909&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;4 types × 8&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:27.7%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;2.3×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;54&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;122&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;2K UI × 32&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:32.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;2.7×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;155&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;419&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;4K UI × 1&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:10.6%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.88×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;299&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;262&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;64 frames&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:6.3%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.52×&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1,161&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;609&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class=&#34;data-note&#34;&gt;vLLM: Qwen3.5-4B FP8 with prefix cache, CUDA graphs, and MTP. 2K/4K UI: screenshot queries; 64 frames: 1 query per frame.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;h2 id=&#34;surprise-1-whether-it-hallucinates-absent-boxes-is-a-setting&#34;&gt;Surprise 1: Whether It Hallucinates Absent Boxes Is a Setting&lt;/h2&gt;&#xA;&lt;p&gt;What we originally set out to prove was that autoregressively generating coordinates is inherently bad at saying “not there,” and that an explicit presence gate is better. That turned out to be wrong. A generative model actually knows whether an object is present; whether it says so depends on the rule you use to turn its probabilities into a single answer. Below we first explain the mechanism, then show what it looks like on off-the-shelf models: on the exact same model, changing the prompt, coordinate format, and decoder shifts the rate of boxing absent objects by 50 to 60 percentage points.&lt;/p&gt;&#xA;&lt;h3 id=&#34;one-independent-candidate-vs-a-vote-splitting-party&#34;&gt;One Independent Candidate vs. a Vote-Splitting Party&lt;/h3&gt;&#xA;&lt;p&gt;When a generative model answers “box X,” it writes a string of text: either &lt;code&gt;none&lt;/code&gt;, or four coordinates like &lt;code&gt;412,088,601,733&lt;/code&gt;. “Not present” has only one spelling. “Present,” however, has thousands: &lt;code&gt;412,088,601,733&lt;/code&gt; and &lt;code&gt;413,088,601,733&lt;/code&gt; are practically the same box, yet to the model they are two distinct answer strings, each taking a tiny slice of probability mass.&lt;/p&gt;&#xA;&lt;p&gt;To put numbers on it: suppose the model assigns 30% to &lt;code&gt;none&lt;/code&gt; and 70% to “present,” with that 70% spread evenly across 100 nearly identical coordinate strings at 0.7% each.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Rule A: Pick the single complete answer with the highest probability.&lt;/strong&gt; This is maximum a posteriori (MAP), which beam search tries to approximate. &lt;code&gt;none&lt;/code&gt; at 30% beats every individual 0.7% coordinate string, so the model answers “not present.”&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Rule B: Look at the total probability of “present” first.&lt;/strong&gt; P(none) is only 30%, which is below 0.5, so the model answers “present” and then picks a box.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The exact same probability distribution yields two opposite answers. It&#39;s just like an election: an independent candidate gets 30% of the vote, and a political party gets 70%, but the party&#39;s vote is split among 100 candidates on the ballot. If you count votes per candidate, the independent wins; if you count total votes for the party, the party wins. Greedy decoding sits in between: at the very first step it compares &lt;code&gt;none&lt;/code&gt; against “the first digit is 4,” which already pools together every box starting with 4, making it behave much closer to Rule B.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:400px;--hn:438px&#34;&gt;&lt;figcaption&gt;Same probabilities, two vote-counting rules, two opposite answers&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Schematic; numbers are illustrative.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;This explanation yields a testable prediction: the more finely a coordinate representation splits the vote, the more often Rule A will say “not present,” while Rule B remains unaffected.&lt;/p&gt;&#xA;&lt;h3 id=&#34;controlled-experiment-changing-only-the-output-head&#34;&gt;Controlled Experiment: Changing Only the Output Head&lt;/h3&gt;&#xA;&lt;p&gt;To test this, we ran a controlled experiment: &lt;strong&gt;same 4B base model, same LoRA configuration, same training data and data order, same 3,058 steps—changing only the output head&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Gated&lt;/strong&gt;: our box head above, where P(present) is a single scalar.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Digits&lt;/strong&gt;: generates &lt;code&gt;x1,y1,x2,y2&lt;/code&gt; in 0–1000, one digit per token; generates &lt;code&gt;none&lt;/code&gt; when absent.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Hierarchical&lt;/strong&gt;: two new tokens per coordinate, coarse then fine, giving 32×32 = 1,024 levels&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-song2025-1&#34; href=&#34;#ref-song2025&#34;&gt;[7]&lt;/a&gt;&lt;/sup&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Atomic 100 / Atomic 1000&lt;/strong&gt;: one new token per coordinate value, quantized to 100 or 1,000 levels.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In the chart below, the x-axis is the false rejection rate—how often the target is present yet the model says “not present” (RefCOCO val, 10,834 expressions)—and the y-axis is the true rejection rate when the target is genuinely absent (gRefCOCO val no-target expressions, 8,905 expressions). Each curve sweeps all thresholds over a head&#39;s own “not present” probability: 1 − P(present) for the gated head, and P(none) for the generative heads. The dots on the curves show where specific decoding rules land. Pick a head and a rule to see what happens:&lt;/p&gt;&#xA;&lt;figure class=&#34;widget&#34; data-src=&#34;https://mizore.blog/widgets/glance-7eb8c066b381/dial.js&#34; data-style=&#34;style.css&#34;&gt;&lt;figcaption&gt;Same digits head, different decoding rule: false rejection jumps from 0.4% to ~40%&lt;/figcaption&gt;&lt;div class=&#34;widget-stage&#34;&gt;&lt;picture&gt;&lt;source media=&#34;(max-width: 640px)&#34; srcset=&#34;https://mizore.blog/images/516f5bcebcded1fbb4362b4e4d5392bd809d32a4cdc9355d874d44f5541ecebf.webp&#34; sizes=&#34;calc(100vw - 32px)&#34; width=&#34;588&#34; height=&#34;1796&#34;&gt;&lt;img fetchpriority=&#34;low&#34; class=&#34;widget-still&#34; src=&#34;https://mizore.blog/images/642fb150953b0408b0158ddafadfce85ff4b02d30f60223aaed8a8c0f22ce9ee.webp&#34; alt=&#34;Static image: The curves of the five output heads almost completely overlap; on the same digits head, thresholding at 0.5 falsely rejects 0.4% of present targets, while picking the highest-probability full sequence rejects ~40%&#34; width=&#34;1056&#34; height=&#34;818&#34; srcset=&#34;https://mizore.blog/images/2280959fc337506e59d779cf68072ef3dbac16baeeefa31e2d676785733fa18b.webp 720w, https://mizore.blog/images/642fb150953b0408b0158ddafadfce85ff4b02d30f60223aaed8a8c0f22ce9ee.webp 1056w&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34; sizes=&#34;(max-width: 760px) calc(100vw - 64px), 704px&#34;&gt;&lt;/picture&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Single seed.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;Generative heads actually know whether the object is there.&lt;/strong&gt; All five curves lie almost on top of one another: when the threshold is set to falsely reject exactly 1% of present targets, all four coordinate-string heads reject 81–82% of no-target expressions, compared with 81.3% for the gated head; AUROCs all sit between 96.2 and 96.7. The presence gate does not win on knowing whether something is absent.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Whether the model says so is decided by how votes are counted.&lt;/strong&gt; Across 21,586 present targets in RefCOCO, thresholding the digits head at P(none) ≥ 0.5 calls only 0.47% “not present,” and greedy decoding calls 0.60% “not present.” Rule A in the widget above uses an approximation: comparing the full-sequence probability of the greedily decoded coordinate string against &lt;code&gt;none&lt;/code&gt;. To confirm this wasn&#39;t an artifact of the approximation, we ran exact best-first search on a sampled subset of targets to find the highest-probability complete sequence; the digits head landed at 34–41% (an interval because some queries did not terminate within the search budget), matching the approximation. Lining up all four representations side by side:&lt;/p&gt;&#xA;&lt;figure class=&#34;data wide&#34;&gt;&lt;figcaption&gt;Share of present targets called “not present” (%)&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Head&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Exact MAP&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Beam&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Grdy&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Thr&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key&#34;&gt;Digits&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;34–41&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;39.2&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.6&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;Hier.&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:67.6%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;23–25&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;22.6&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.7&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;Atom 1K&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:36.2%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;12.3&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;10.4&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1.9&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;Atom 100&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:13.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;4.6&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;3.9&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.8&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.4&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class=&#34;data-note&#34;&gt;Sampled subset; Hier. = Hierarchical, Atom = Atomic; Beam: width 4, keeping none as a candidate; Grdy = Greedy; Thr = P(none) ≥ 0.5 threshold.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Thresholding and greedy decoding barely change across representations (all under 2%); Rule A climbs from 4.6% on Atomic 100 all the way to 34–41% on Digits, tracking how much probability mass the single most likely coordinate string can hold onto: the more tokens a box takes to write and the more uncertain each step is, the smaller any single string&#39;s probability becomes, and the easier it is for &lt;code&gt;none&lt;/code&gt; to win. On the present targets that Rule A calls “not present,” the model actually knows where the object is most of the time: the box greedily decoded by the digits head is correct 88% of the time.&lt;/p&gt;&#xA;&lt;p&gt;You don&#39;t even need to change the vocabulary—changing the beam search implementation is enough. The first time we ran a standard width-4 beam search on a batch of 191 targets, only 4.7% were called “not present.” We then realized &lt;code&gt;none&lt;/code&gt; wasn&#39;t making the top-4 on the very first token and was being pruned immediately (at width 4, &lt;code&gt;none&lt;/code&gt; falls outside the first-step beam on 72% of present targets). Once we kept &lt;code&gt;none&lt;/code&gt; alive as a complete candidate that can terminate immediately, beam widths from 4 to 16 all returned to 38–39%, matching exact search; turning on Hugging Face&#39;s default length normalization (averaging log probability per token) pushed it right back down to 1–3%. All three are called “beam search,” yet their answers differ by 40×. This is surface form competition&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-holtzman2021-1&#34; href=&#34;#ref-holtzman2021&#34;&gt;[8]&lt;/a&gt;&lt;/sup&gt;—except here it decides whether an agent treats a visible button on the screen as nonexistent.&lt;/p&gt;&#xA;&lt;p&gt;Atomic 1000 exhibits an even subtler version: surface form competition also happens &lt;strong&gt;inside the box&lt;/strong&gt;. Because a single coordinate is spread across 1,000 adjacent bin tokens, on the first token of a present target the most likely non-&lt;code&gt;none&lt;/code&gt; token gets an average probability of only 0.19 (versus 0.78 for the digits head). As a result, under unconstrained greedy decoding, 24.2% of outputs aren&#39;t even well-formed coordinates, dropping RefCOCO accuracy to 73.1; adding a grammar constraint that restricts each step to valid coordinate tokens brings the exact same model right back to 93.8.&lt;/p&gt;&#xA;&lt;h3 id=&#34;splitting-coordinates-without-retraining&#34;&gt;Splitting Coordinates Without Retraining&lt;/h3&gt;&#xA;&lt;p&gt;The cleanest test doesn&#39;t touch the model at all. Take the trained Atomic 100 head and split every coordinate token into &lt;code&gt;$k$&lt;/code&gt; equivalent “synonym” tokens, each receiving &lt;code&gt;$1/k$&lt;/code&gt; of the original probability. The total probability the model assigns to “present” versus “not present” hasn&#39;t changed by a single bit—all that changed is how many ways the vote is split.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:280px&#34;&gt;&lt;figcaption&gt;Same model, splitting each coordinate into k synonyms: MAP refusal climbs from 4.6% to 29.4%, threshold stays flat&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Atomic 100 head, 1,362 sampled present targets from RefCOCO val, exact MAP.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;As &lt;code&gt;$k$&lt;/code&gt; goes from 1 to 10, Rule A&#39;s false rejection climbs 6× from 4.6% to 29.4%, while the threshold rule stays at 0.7%. At the same time, true rejection on no-target expressions also climbs from 85.4% to 96.6%: Rule A isn&#39;t getting “smarter”—its operating point is simply sliding wholesale toward “not present.”&lt;/p&gt;&#xA;&lt;h3 id=&#34;on-off-the-shelf-models-hallucination-is-a-setting&#34;&gt;On Off-the-Shelf Models: Hallucination Is a Setting&lt;/h3&gt;&#xA;&lt;p&gt;Our controlled experiments isolated the mechanism using four coordinate heads we trained ourselves. What does this look like on off-the-shelf VLMs? We took four widely used open-weights models (Qwen3.5-4B, Qwen3-VL-4B, Qwen2.5-VL-7B, and InternVL3.5-8B) and ran them across 1,993 queries (1,000 present targets from RefCOCO val and 993 no-target expressions from gRefCOCO val) while varying their settings: three prompts that all explicitly allow saying “not there” (answer &lt;code&gt;none&lt;/code&gt; if absent; put &lt;code&gt;null&lt;/code&gt; in JSON; output &lt;code&gt;[-1, -1]&lt;/code&gt; for point coordinates), three coordinate formats (0–1000 integers, 0–1 decimals, pixels), and six decoding methods: greedy (both vLLM and Hugging Face, which differ by at most 1.3 points), sampling, beam search, length-normalized beam search, and thinking mode (Qwen2.5-VL-7B and InternVL3.5-8B were run with greedy and sampling only). Because 0–1 decimals and pixel coordinates (outside Qwen2.5-VL-7B) mostly produced malformed outputs, we omitted them. The chart below plots the remaining 49 well-formed configurations, one dot per setting:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:420px&#34;&gt;&lt;figcaption&gt;Same 1,993 queries, 49 settings: the rate of boxing absent objects ranges from 17% to 92%&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Each dot is a model × prompt × coordinate format × decoder configuration (0% false rejection is plotted at 0.1%); the Glance curve sweeps all thresholds on the same queries. Glance saw gRefCOCO train no-target expressions during training; the other models did not.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;The dots for the three Qwen models spread almost vertically: present targets are almost never rejected (all under 5%, with InternVL as the exception), so nearly all the variation is in how often absent objects get boxed. Across the 49 settings, that rate spans from 16.9% to 92.2%, varying by 50–60 percentage points within a single Qwen model. Two examples: under greedy decoding on Qwen3-VL-4B, prompting “say none if absent” boxes 58.0% of absent targets, switching to point coordinates boxes 85.1%, and switching to JSON boxes 86.5%; on Qwen3.5-4B with the JSON prompt, greedy decoding boxes 84.1%, whereas beam-4 drops it to 30.1% (at the cost of false rejections on present targets rising from 0% to 4.7%).&lt;/p&gt;&#xA;&lt;p&gt;The decoder half of this spread is the election above: beam search looks for the highest-probability full sequence, compressing Qwen3.5-4B&#39;s false-box rate from 84% down to 30%. The prompt half is a different phenomenon: it changes how much probability mass the model puts on “not present” at the decision token. When Qwen3.5-4B and Qwen2.5-VL-7B are given the JSON prompt, the probability at that step barely distinguishes present from absent anymore (see next paragraph); Qwen3-VL-4B still separates them (AUROC 0.89–0.91), but the overall probability assigned to “not present” is so low that greedy decoding still draws a box 86.5% of the time. Neither effect has anything to do with whether the model “saw” the object. Whether a model “hallucinates” here is not an intrinsic property of the model—it is the operating point you picked.&lt;/p&gt;&#xA;&lt;p&gt;To be fair, generative models do have a decent continuous dial of their own, provided two conditions hold: you have access to token probabilities at the decision step, and the prompt hasn&#39;t scrambled them. Reading the refusal token&#39;s probability at that step as a score gives the three Qwen models an AUROC of 0.93–0.95 under the “say none” prompt. Switch to the JSON prompt, however, and that score drops to 0.62–0.69 on Qwen3.5-4B and Qwen2.5-VL-7B. Glance achieves 0.985 on the same set (having seen such negative examples during training): at 1% false rejection of present targets, it boxes only 18% of absent targets, compared with 34% for the best generative dial. So Glance&#39;s advantage isn&#39;t just a better probability—it&#39;s also three practical things: immunity to prompt formatting, no need to extract logprobs, and getting both the box and the probability in the same single forward pass.&lt;/p&gt;&#xA;&lt;h3 id=&#34;why-this-matters&#34;&gt;Why This Matters&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;For agents:&lt;/strong&gt; When you use a generative model as an agent&#39;s eyes, whether it clicks a nonexistent button is a property of your configuration: how the prompt is worded, what coordinate format you ask for, how wide the beam is, and whether length normalization is on. Changing a prompt template—or a serving library&#39;s default decoding arguments—can swing the hallucination rate by 50–60 percentage points without changing a single model weight. And when logprobs aren&#39;t exposed, you can only jump between discrete settings; Glance gives you a continuous probability dial that doesn&#39;t depend on prompt wording.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;For benchmarks:&lt;/strong&gt; Comparing two models on hallucination or refusal rates over absent-target queries without fixing the prompt, coordinate format, and decoding rule is really comparing configurations. You can see the same effect in third-party benchmarks: on RefBench-PRO&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-refbenchpro-1&#34; href=&#34;#ref-refbenchpro&#34;&gt;[9]&lt;/a&gt;&lt;/sup&gt;, generative models refuse only 3–25% of attribute-mismatched descriptions, yet rephrasing the exact same queries as yes/no questions raises refusal to roughly 47–64%.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;For Glance:&lt;/strong&gt; The presence gate outputs a single scalar, leaving the threshold up to the user. The next section explains how to set it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;two-dials-one-decision-rule&#34;&gt;Two Dials, One Decision Rule&lt;/h2&gt;&#xA;&lt;p&gt;In our controlled experiments, a generative head trained on the same base model and data was just as accurate as the presence gate on “is it there?”, so the gate&#39;s value does not lie in “seeing presence better.” Its value lies in handing you two calibrated probabilities: &lt;strong&gt;whether the target is present&lt;/strong&gt;, and &lt;strong&gt;whether the box is accurate&lt;/strong&gt;. With those two numbers, you can compute whether to answer from explicit costs.&lt;/p&gt;&#xA;&lt;p&gt;First, look at the second dial. The box head also outputs P(IoU ≥ 0.5), which separates accurate boxes from inaccurate ones on present targets with an AUROC of 91.6; generative heads, no matter which confidence score you use (full-sequence probability, length-normalized probability, or the margin between the best box and &lt;code&gt;none&lt;/code&gt;), top out at 79.7. A generative model can be very sure an object is present, yet unable to tell whether the box it drew is right.&lt;/p&gt;&#xA;&lt;p&gt;Now look at the decision rule. Suppose falsely rejecting a present target costs 1, hallucinating a box when the target is absent also costs 1, and answering with a wrong box on a present target costs &lt;code&gt;$c_W$&lt;/code&gt;. The expected-cost-minimizing rule is:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$\text{Answer} \iff P(\text{present}) \cdot \big[\, 2 - c_W \, (1 - P(\text{IoU} \ge 0.5)) \,\big] &amp;gt; 1$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;The larger &lt;code&gt;$c_W$&lt;/code&gt; is, the stricter the requirement on box accuracy. When &lt;code&gt;$c_W = 5$&lt;/code&gt;, if P(IoU ≥ 0.5) is below 0.8, you should refuse to answer no matter how certain you are that the object is present; a rule that only checks presence (the horizontal dashed line below) cannot do this.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:330px;--hn:476px&#34;&gt;&lt;figcaption&gt;Two probabilities, one rule: the costlier a wrong box, the more box accuracy is required&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Shaded region shows where the model should answer when c_W = 5.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;On the controlled-experiment models (gRefCOCO val plus RefCOCO val, where 45% of expressions are absent), we calibrated Glance and the digits head the exact same way and plugged both into the same decision rule, without tuning any threshold on the evaluation set:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:300px&#34;&gt;&lt;figcaption&gt;Expected cost per query: the costlier a wrong box, the more the second dial saves&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Cost ×100, with false rejection and hallucination both costing 1; gated model and digits head from the controlled experiment, identically calibrated.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;When a wrong box is free (&lt;code&gt;$c_W = 0$&lt;/code&gt;), all three tie, with the generative head slightly ahead (6.95 vs. 7.06, confidence interval includes 0). The higher the cost of a wrong box, the more the second dial saves: at &lt;code&gt;$c_W = 5$&lt;/code&gt;, Glance&#39;s expected cost per query is 14.06 versus 18.38 for using presence alone—a 24% reduction; against the identically calibrated two-score generative head at 18.74, it saves 25%. The generative head&#39;s second score barely helps at all (18.74 vs. 19.51 with a single score), because its box-accuracy signal can&#39;t tell right boxes from wrong ones in the first place. In a scenario closer to the training prior (25% absent queries), with thresholds tuned on a calibration split from the training distribution, using two dials reduces expected cost relative to presence-only by 4%, 13%, and 33% at &lt;code&gt;$c_W = 1, 2, 5$&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;making-probabilities-tell-the-truth-a-training-free-fix&#34;&gt;Making Probabilities Tell the Truth: A Training-Free Fix&lt;/h3&gt;&#xA;&lt;p&gt;For two dials to be used directly as thresholds, their probabilities have to be well calibrated. Out of the box, v1&#39;s box confidence had an ECE of 1.8–5.0% across the 8 RefCOCO splits. One reason is prior shift: during training, nearly 30% of natural-image queries were absent, whereas in RefCOCO 0% are absent, causing the model to systematically overestimate the probability of “not present.”&lt;/p&gt;&#xA;&lt;p&gt;Fixing this requires no retraining. First we fit Platt scaling on held-out data from the training distribution; then we run EM on unlabeled model outputs at deployment time to estimate the fraction of present queries (on RefCOCO it estimates 0.999) and shift the logits accordingly. Across all 8 splits, ECE drops to 0.6–1.6%. Because gRefCOCO val already has over a third absent expressions—close to the training prior—the gain there is smaller (3.8% → 3.2%).&lt;/p&gt;&#xA;&lt;h3 id=&#34;turning-probabilities-into-guarantees&#34;&gt;Turning Probabilities into Guarantees&lt;/h3&gt;&#xA;&lt;p&gt;A calibrated score can be turned into a switch with a statistical guarantee: set the threshold on one half of the images to guarantee that on the other half, the error rate among answered queries does not exceed 5% (at 90% confidence). The fraction of queries the model is allowed to answer is its coverage. Here an error counts boxing an absent object, drawing an inaccurate box, or clicking the wrong spot. Comparing P(present) alone against P(present) × P(accurate box):&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:250px&#34;&gt;&lt;figcaption&gt;How many queries can be answered while keeping the error rate ≤ 5%&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;v1; threshold calibrated on half the images and evaluated on the other half, averaged over multiple splits; nominal confidence 90%.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;On gRefCOCO and ScreenSpot-v2, relying on presence alone certifies almost zero queries you can safely answer: P(present) is blind to localization errors where the target is present but the box lands in the wrong place. Adding the second dial certifies 40–50% coverage at the same 5% error cap (though on the harder gRefCOCO testB split, neither certifies nonzero coverage). On difficult GUI benchmarks like VenusBench, neither score certifies any coverage yet—our “not present” signal on GUIs is still not sharp enough, as we discuss below.&lt;/p&gt;&#xA;&lt;h2 id=&#34;surprise-2-what-makes-not-there-trustworthy-is-data-not-scale&#34;&gt;Surprise 2: What Makes “Not There” Trustworthy Is Data, Not Scale&lt;/h2&gt;&#xA;&lt;p&gt;The controlled experiments above also yielded a corollary: &lt;strong&gt;hallucination is governed primarily by the fraction of negative examples in the training data, largely independent of the output head.&lt;/strong&gt; Cutting absent queries during training from 25% down to 5% raises the false-box rate on no-target expressions by about 11 percentage points across all three readouts, the presence gate included.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:280px&#34;&gt;&lt;figcaption&gt;Cutting negative examples from 25% to 5% adds ~11 points of hallucination across all three readouts&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Hollow dots: the 5%-negatives model after shifting logits back to the 25% training prior.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;When the prior changes, you can correct for it after the fact by shifting the logits (the hollow dots in the chart): the gated head drops from 35.7% back to 27.3%, and applying the exact same shift to the digits head&#39;s P(none) threshold drops it to 24.6%—so the gate has no edge here either, while greedy decoding has no threshold to shift. That pushed our focus squarely back onto the data.&lt;/p&gt;&#xA;&lt;p&gt;Our first version (v0) was trained exclusively on the COCO family: RefCOCO, RefCOCO+, RefCOCOg, the no-target expressions from gRefCOCO&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-grefcoco-1&#34; href=&#34;#ref-grefcoco&#34;&gt;[10]&lt;/a&gt;&lt;/sup&gt;, plus expressions borrowed from other images as easy negatives—24,462 images and 355,385 queries in total. Its boxes were sharp, averaging 92.8 &lt;a href=&#34;mailto:Acc@0.5&#34;&gt;Acc@0.5&lt;/a&gt; across the 8 RefCOCO evaluation splits. Yet it was overconfident on genuinely hard negatives: gRefCOCO&#39;s no-target expressions look like “there is a dog in the image, just not ‘the white dog on the left,’” and v0 correctly said “not present” on only 77.0% of them.&lt;/p&gt;&#xA;&lt;p&gt;Retraining on the exact same data with a much larger Qwen3.8-27B base model made the boxes even sharper (averaging 94.1), while “not present” barely budged. What made it move was the data recipe in v1: adding GUI screenshots, PixMo pointing and counting data, and deliberately constructing &lt;strong&gt;hard negatives&lt;/strong&gt;—things that exist in the same image or domain but fail to match the description (for GUIs, button names from the same class of software that don&#39;t appear on the current screen).&lt;/p&gt;&#xA;&lt;figure class=&#34;data&#34;&gt;&lt;figcaption&gt;Adding hard negatives is what made “not present” trustworthy&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Model&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;N-acc&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;AUROC&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;ECE&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;v0 4B&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:88.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;77.0&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.964&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.075&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key&#34;&gt;v0 27B&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:88.7%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;77.5&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.968&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.074&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key&#34;&gt;v1 4B&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;87.4&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.979&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.024&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;&#xA;&lt;p&gt;N-acc is the percentage of gRefCOCO val no-target expressions correctly called “not present”; AUROC and ECE evaluate the presence gate across gRefCOCO val plus RefCOCO val (25,063 expressions total). Note that the 27B run used Qwen3.8-27B, so model scale and base model version changed together.&lt;/p&gt;&#xA;&lt;p&gt;The exact same story played out on GUIs. After training v0 on COCO, evaluating it on ScreenSpot-v2&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-screenspotv2-1&#34; href=&#34;#ref-screenspotv2&#34;&gt;[11]&lt;/a&gt;&lt;/sup&gt; gave just 28.6, compared with 93.4 for the generative base model. At first we blamed resolution: v0 used at most 640 visual tokens. Yet raising v0&#39;s visual token budget to 4,000 on ScreenSpot-Pro&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-screenspotpro-1&#34; href=&#34;#ref-screenspotpro&#34;&gt;[12]&lt;/a&gt;&lt;/sup&gt; only moved it from 0.9% to 1.8%. The newly added box head had only ever seen natural-image objects; resolution wasn&#39;t the culprit. Once v1 added GUI screenshots to the training mix, ScreenSpot-v2 jumped right back to 89.4.&lt;/p&gt;&#xA;&lt;h3 id=&#34;we-accidentally-taught-it-a-shortcut&#34;&gt;We Accidentally Taught It a Shortcut&lt;/h3&gt;&#xA;&lt;p&gt;v1 looked great on standard benchmarks—until a human phrased the question differently. For each target in a validation subset, we wrote several phrasings: the original expression, a Chinese translation, a paraphrase, a function-only description (“something that holds a hot drink”), and a hypernym-only description (“that appliance”), pairing every phrasing with a verified “not present” counterpart. Original, Chinese, and paraphrased queries worked fine; on function-only and hypernym-only queries, however, v1 called 19% of present targets “not present,” compared with just 3–8% for the generative base model. On a separate independently written set, vague relational descriptions (“the one next to the table”) were falsely rejected even more often, reaching 40%.&lt;/p&gt;&#xA;&lt;p&gt;The culprit was inside v1&#39;s negative examples. Our “easy negatives” were descriptions borrowed from other images on the condition that their object category didn&#39;t appear in the current image; our hard negatives were mostly the same category with a swapped color word. Both types of negative examples hinged on a single mismatched word: a category noun or a color adjective. So the model learned a shortcut: if any keyword in the prompt has no match in the image, say “not present.” And to a model looking for a category noun, a sentence that doesn&#39;t mention a category noun at all looks like it has a missing noun.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:266px;--hn:406px&#34;&gt;&lt;figcaption&gt;The negatives we gave the model could be spotted by a single mismatched word&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Examples drawn from the two negative types in v1.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;A corroborating piece of evidence: on verified “not present” function-only descriptions, that same v1 model got 99.2% right. It wasn&#39;t judging whether the object was there—it was judging whether the sentence contained a concrete noun it recognized.&lt;/p&gt;&#xA;&lt;p&gt;The fix is to block the shortcut: add function-only and hypernym-only descriptions to training, &lt;strong&gt;each paired with a verified “not present” counterpart&lt;/strong&gt;, so the absence of a concrete noun no longer leaks the answer; and add a consistency loss pulling together the presence gates and boxes across different phrasings of the same target.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:340px&#34;&gt;&lt;figcaption&gt;Accuracy on present targets when described only by function or hypernym&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Acc@0.5, requiring P(present) ≥ 0.5; “novel” counts only phrasings never seen in training.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;On function-only queries, box accuracy jumps from 59.2% to 83.3% while false rejection drops from 19.2% to 3.0%; on hypernym-only queries, accuracy jumps from 43.5% to 69.8% while false rejection drops from 19.0% to 2.2%. The share of targets where the model gets every single phrasing right climbs from 24.3% to 63.0%, surpassing the generative base model. That gain isn&#39;t completely free: true rejection on absent queries dips by 2–4 points (gRefCOCO N-acc goes from 87.3 to 85.2), though on absent function-only descriptions it still gets 98.7% right, whereas the generative base model gets only 63.5% of absent descriptions right. On novel sentences never seen during training, the improvement is nearly as large. Scores on RefCOCO, GUI benchmarks, and OpenDecisions stay level with the control. Training only the output head while freezing LoRA recovers only a fraction of the gap (65.0% on function-only queries)—the shortcut lives in the backbone&#39;s representations, not just in the head.&lt;/p&gt;&#xA;&lt;h3 id=&#34;a-183-million-question-checkup&#34;&gt;A 1.83-Million-Question Checkup&lt;/h3&gt;&#xA;&lt;p&gt;Once you patch one shortcut, the natural next question is how many more are hiding. Teammates in our group built a much larger dataset, Glance-Data: 24,406 COCO images and 1.83 million questions. Every ground-truth answer is computed programmatically from annotations (boxes, counts, and presence are exact), while an LLM is only responsible for phrasing the questions naturally; in a manual audit of 112 items, 101 were completely error-free. It comes with a 300-image, 23,578-question diagnostic suite—half Chinese, half English—which gave us a comprehensive checkup of v1:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:400px&#34;&gt;&lt;figcaption&gt;v1 on the Glance-Data diagnostic suite, by question type&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;English subset; “Unique object + spatial” is our supplemental set (382 queries each in EN and ZH). Present queries report Acc@0.5 (requiring P(present) ≥ 0.5); “Absent · …” rows report true rejection rate.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Everyday descriptions—short, long, or colloquial—all sit at 78–82%. Three weak spots stand out: function-only descriptions (44.9%, the shortcut from the previous section); relation-mismatched absent queries, where true rejection is only 40.7% (30.1% in Chinese); and weirdest of all, &lt;strong&gt;a unique object paired with a spatial term&lt;/strong&gt;, at just 24.6%.&lt;/p&gt;&#xA;&lt;p&gt;We verified that last failure mode separately on COCO images: when there is only a single cat in the image and you ask for “the leftmost cat,” v1 calls it “not present” 86.5% of the time—even though its predicted box lands right on the cat. Even a spatially true phrase like “the cat on the left” is falsely rejected 64% of the time. Again, the cause is in the data: in RefCOCO, spatial qualifiers only appear when there are same-category distractors to disambiguate against, so the model learned that “saying ‘leftmost’ implies there&#39;s more than one.” Glance-Data was missing this case too. We programmatically generated 63,190 positive examples of “unique object + spatial term,” balanced 1:1 with 63,198 “wrong spatial side” negatives so that the mere presence of a spatial word no longer biases the answer either way.&lt;/p&gt;&#xA;&lt;h2 id=&#34;head-to-head-with-jev-114&#34;&gt;Head-to-Head with Jev 1.14&lt;/h2&gt;&#xA;&lt;p&gt;Because Jev has no published bounding-box benchmarks, we ran a head-to-head evaluation ourselves: calling Jev 1.14 via OpenRouter on the exact same questions as Glance, and pairing every box query with a parallel yes/no presence question in the same request as recommended by Jev&#39;s documentation. Roughly 22,000 requests completed with zero failures for $11.&lt;/p&gt;&#xA;&lt;div class=&#34;table-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&#xA;&lt;thead&gt;&#xA;&lt;tr&gt;&#xA;&lt;th&gt;Same evaluation set&lt;/th&gt;&#xA;&lt;th&gt;Jev 1.14&lt;/th&gt;&#xA;&lt;th&gt;Glance v1&lt;/th&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/thead&gt;&#xA;&lt;tbody&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Box accuracy: average &lt;a href=&#34;mailto:Acc@0.5&#34;&gt;Acc@0.5&lt;/a&gt; across 8 RefCOCO splits&lt;/td&gt;&#xA;&lt;td&gt;73.0&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;90.8&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Saying “not present” when target is absent (gRefCOCO, 8,905 queries)&lt;/td&gt;&#xA;&lt;td&gt;87.4&lt;/td&gt;&#xA;&lt;td&gt;87.4&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;True rejection of absent targets at 1% false rejection of present targets&lt;/td&gt;&#xA;&lt;td&gt;72.5&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;84.5&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Calibration of presence probability (ECE, lower is better)&lt;/td&gt;&#xA;&lt;td&gt;15.5&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;2.4&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Knowing when its own box is wrong (AUROC, RefCOCO val)&lt;/td&gt;&#xA;&lt;td&gt;75.7&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;90.1&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Separating present from absent on GUIs (VenusBench AUROC)&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;90.2&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td&gt;73.8&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;False acceptance when the count in the description is wrong&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;1.3%&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td&gt;14.1%&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Calling “the leftmost X” absent when only one X is in the image&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;38%&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td&gt;86%&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;GUI clicking: ScreenSpot-v2&lt;/td&gt;&#xA;&lt;td&gt;89.7&lt;/td&gt;&#xA;&lt;td&gt;89.4&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Text decision-making: OpenDecisions capability&lt;/td&gt;&#xA;&lt;td&gt;&lt;strong&gt;80.9&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td&gt;67.7&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td&gt;Latency: 1 / 8 / 32 questions on one image&lt;/td&gt;&#xA;&lt;td&gt;180 / 212 / 380 ms&lt;/td&gt;&#xA;&lt;td&gt;43 / 45 / 61 ms&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/tbody&gt;&#xA;&lt;/table&gt;&lt;/div&gt;&#xA;&lt;p&gt;On natural images, raw rejection accuracy at the default threshold is identical, but the trade-off curve tells the real story: if you require the model to falsely reject only 1% of present objects, Jev catches 72.5% of absent targets while Glance catches 84.5%; Jev&#39;s raw probabilities also have a larger calibration gap (ECE 15.5), meaning you need to calibrate them yourself before using them to set thresholds. Glance&#39;s boxes are 18 points more accurate, and Glance knows when its own box is wrong. Conversely, Jev is clearly stronger in three places: presence separation on GUI screenshots, descriptions with mismatched counts, and spatial terms applied to a unique object—the latter two being the exact gaps uncovered by our Glance-Data checkup that v1.2 is addressing—while text decision-making is Jev&#39;s home turf. Jev slows down as you ask more questions per image whereas Glance stays nearly flat; note that Jev&#39;s latency was measured over the public OpenRouter API (including network overhead, where a nearly empty request takes 127 ms) while Glance was timed locally on a GPU, so only the scaling trend across 1 / 8 / 32 questions is directly comparable.&lt;/p&gt;&#xA;&lt;h2 id=&#34;under-official-protocols-grec-and-venusbench&#34;&gt;Under Official Protocols: GREC and VenusBench&lt;/h2&gt;&#xA;&lt;p&gt;Most of the numbers above come from our own evaluation harness. For two benchmarks that have official scoring scripts and specifically test “not present,” we re-ran everything strictly under their official protocols.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;GREC&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-grec-1&#34; href=&#34;#ref-grec&#34;&gt;[13]&lt;/a&gt;&lt;/sup&gt; is the detection counterpart to gRefCOCO. Its rule is strict: the model outputs all boxes with confidence ≥ 0.7, and a query is scored correct only if those boxes match every ground-truth target with F1 = 1 (Pr@F1=1); on no-target queries, not a single box may remain (N-acc). v1 achieves an N-acc of 91.4, 85.4, and 81.9 on val, testA, and testB. On val, this beats every published result we could find; on testA and testB it trails only CRS (87.3, 84.0), whose Pr@F1=1 is far lower than Glance&#39;s (56.3 vs. 71.6 on val).&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:340px&#34;&gt;&lt;figcaption&gt;GREC val: getting both “not present” and whole-query detection right&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Numbers outside Glance are taken from the GREC technical report and the RC-GRPO paper.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Glance&#39;s Pr@F1=1 (71.6) trails the top multi-box models by a few points for a simple reason: its head outputs at most one box per query. On single-target queries it gets 90.4% right, whereas on multi-target queries it gets 0% right because a single box can never achieve F1 = 1 against multiple ground-truth boxes. That is what our upcoming multi-box head is built to solve.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;VenusBench-GD&lt;/strong&gt;&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-venusbench-1&#34; href=&#34;#ref-venusbench&#34;&gt;[14]&lt;/a&gt;&lt;/sup&gt; is a cross-platform GUI grounding benchmark spanning mobile, web, and desktop, including 899 queries where the target is not on the screen at all. Scored faithfully with the official script (where saying “not present” forfeits any click coordinate), v1 gets 81.8% on refusal queries—higher than every model in the paper&#39;s table, though below our measurement of Jev (87.5%)—yet its overall score is only 40.1:&lt;/p&gt;&#xA;&lt;figure class=&#34;data compact&#34;&gt;&lt;figcaption&gt;VenusBench-GD, official evaluation script&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Model&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Basic&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Refusal&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Overall&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Glance v1&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;42.4&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;81.8&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;40.1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Glance v1.1&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;40.7&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;83.8&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;40.7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Qwen3-VL-4B&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;72.5&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;31.6&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;56.2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Qwen3-VL-8B&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;77.0&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;63.8&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;62.3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;UI-Venus-Ground-7B&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;68.7&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.0&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;49.0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;UI-Venus-1.5-2B&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;81.4&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;76.3&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;67.3&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Nearly the entire gap is on present-target (Basic) queries, and a large chunk of it is self-inflicted by the presence gate: if we don&#39;t gate out clicks when P(present) &amp;lt; 0.5, v1&#39;s basic score is 60.4, which the gate cuts down to 42.4. In other words, on GUIs Glance is far too quick to call a present button “not present.” Its presence AUROC on GUIs is 73.8, versus 97.9 on natural images. This is currently its biggest weakness on GUIs, and as before, the cause lies in the data: v1&#39;s GUI negatives were simply “other button names from the same software domain that don&#39;t appear on this screen,” which were too easy. For comparison, reading the decision-token refusal probability from the same base model on GUIs (with the “say none” prompt) gives an AUROC of 0.73–0.78, no worse than Glance&#39;s 0.75; Glance&#39;s remaining edge on GUIs right now is not depending on prompt wording or logprob access.&lt;/p&gt;&#xA;&lt;h3 id=&#34;v11&#34;&gt;v1.1&lt;/h3&gt;&#xA;&lt;p&gt;v1.1 uses the same architecture on an expanded 810K-query training set with heavier GUI coverage:&lt;/p&gt;&#xA;&lt;figure class=&#34;data compact&#34;&gt;&lt;figcaption&gt;From v1 to v1.1&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Benchmark&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;v1&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;v1.1&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;RefCOCO 8-split average&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;90.8&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;92.8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;gRefCOCO val N-acc&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;87.4&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;86.0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;ScreenSpot-v2&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;89.4&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;89.2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;ScreenSpot-Pro single pass&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;29.3&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;46.8&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;ScreenSpot-Pro zoom-in&lt;/td&gt;&lt;td class=&#34;num null&#34;&gt;—&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;59.9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;VenusBench present click (our eval)&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;47.3&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;55.2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;VenusBench refusal (our eval)&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;81.5&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;82.2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;VenusBench overall (official)&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;40.1&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;40.7&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Boxes got sharper across the board, and high-resolution professional software screenshots improved substantially. Note that the two ScreenSpot-Pro numbers aren&#39;t a pure apples-to-apples comparison: v1 read screenshots with at most 2,048 visual tokens while v1.1 uses up to 4,096; “zoom-in” runs a first pass to get a coarse box, then crops a 40% window around it for a second pass. Even so, VenusBench&#39;s official overall score barely moved: clicks on present targets got more accurate, but the presence gate still blocks too many present buttons. Our Glance-Data checkup also caught a regression in v1.1 on wrong-count queries (where true rejection dropped from 69.0% to 49.1%).&lt;/p&gt;&#xA;&lt;h3 id=&#34;what-v12-is-doing&#34;&gt;What v1.2 Is Doing&lt;/h3&gt;&#xA;&lt;p&gt;v1.2 is built specifically to fix the gaps exposed by the checkup and benchmarks above. It switches to the converted Glance-Data mix (1.89 million queries, providing every target&#39;s box on multi-target queries) plus our supplemental unique-object spatial positives, paired with a multi-box output head. The targets we&#39;ve set for it: cut false rejection on unique-object + spatial queries from 64% to under 10% while keeping false acceptance on genuinely wrong spatial sides below 5%; hold steady on functional and relational phrasings; and reliably say “not present” when counts don&#39;t match.&lt;/p&gt;&#xA;&lt;h2 id=&#34;taking-it-to-video&#34;&gt;Taking It to Video&lt;/h2&gt;&#xA;&lt;p&gt;A bounding box that knows how to say “not present” turns a video into a time series: sample a frame every few seconds, ask “is the rabbit there?” or “is there a butterfly?”, and the intervals where &lt;code&gt;$P(t)$&lt;/code&gt; crosses the threshold tell you when it appears, while the number of connected intervals tells you how many times. Below are the first 8 minutes of &lt;em&gt;Big Buck Bunny&lt;/em&gt; (0–476 s), sampled every 4 seconds for 120 frames in total. On every frame, a single forward pass asks 5 questions at once—4 box queries and 1 yes/no query—with the 4 box queries plotted below. “Flying squirrel” refers specifically to Frank the flying squirrel, excluding his two rodent sidekicks. The gray bars beneath each curve show our manual frame-by-frame ground-truth labels. Drag across the timeline to inspect any frame:&lt;/p&gt;&#xA;&lt;figure class=&#34;widget&#34; data-src=&#34;https://mizore.blog/widgets/glance-7eb8c066b381/video.js&#34; data-style=&#34;style.css&#34;&gt;&lt;figcaption&gt;Presence over time becomes a curve&lt;/figcaption&gt;&lt;div class=&#34;widget-stage&#34;&gt;&lt;picture&gt;&lt;source media=&#34;(max-width: 640px)&#34; srcset=&#34;https://mizore.blog/images/a8a9b391bf51e7d37421301f23a51d60ccfe74908fc605879b36ecf99d2948fe.webp&#34; sizes=&#34;calc(100vw - 32px)&#34; width=&#34;588&#34; height=&#34;1500&#34;&gt;&lt;img fetchpriority=&#34;low&#34; class=&#34;widget-still&#34; src=&#34;https://mizore.blog/images/f3a00b1b20c00258219b005e48dfbe643b5634866e76be2c96fa1d1d0f2d693a.webp&#34; alt=&#34;Static image: At the 2:16 frame, Glance boxes the rabbit (0.996), the butterfly (0.992), and the red squirrel in the upper left (flying squirrel 0.661); below are the four P(t) curves and manual ground-truth bars&#34; width=&#34;1056&#34; height=&#34;1206&#34; srcset=&#34;https://mizore.blog/images/0621226076aa3d15e9cd78ecb54719d71510161dc6c1ce911a65c71cf4f75893.webp 720w, https://mizore.blog/images/f3a00b1b20c00258219b005e48dfbe643b5634866e76be2c96fa1d1d0f2d693a.webp 1056w&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34; sizes=&#34;(max-width: 760px) calc(100vw - 64px), 704px&#34;&gt;&lt;/picture&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Video © 2008 Blender Foundation, www.bigbuckbunny.org, CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/), frames downscaled.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;At a 0.5 threshold, agreement with our manual labels is 111/113 for the rabbit, 111/115 for the flying squirrel, and 115/118 for the butterfly, while “a red car” is never called present across all 120 frames. Ambiguous frames were excluded from the denominator; and because the annotator could see the model&#39;s predictions while labeling, these agreement numbers lean optimistic. Still, some apparent “false positives” turned out to be things we missed: on the opening title frame at 0:28, the model said there was a butterfly (0.99)—and zooming in revealed one actually perched on the title lettering.&lt;/p&gt;&#xA;&lt;p&gt;Frame-by-frame scanning is a “many images, a few questions per image” workload—the prefill-dominated regime mentioned earlier where Glance has no latency edge over vLLM; what it contributes here is a calibrated presence probability on every frame. Even so, this is still an object detector answering frame by frame, and what actually trips up video agents is harder than that.&lt;/p&gt;&#xA;&lt;h2 id=&#34;surprise-3-video-agents-lose-at-seeing&#34;&gt;Surprise 3: Video Agents Lose at Seeing&lt;/h2&gt;&#xA;&lt;p&gt;To figure out what Glance should provide as a tool for video agents, we first read the public execution traces of 21 agents across the 144 questions of Video-Index&lt;sup class=&#34;cite&#34;&gt;&lt;a id=&#34;cite-videoindex-1&#34; href=&#34;#ref-videoindex&#34;&gt;[15]&lt;/a&gt;&lt;/sup&gt; v1.1. From the wrong or unanswered runs of the top four agents (Opus 5.5, Opus 5, Gemini 4 Argon, and GPT-6-Astra), we drew a stratified sample across agent × capability group—3 traces per cell, 48 traces in total—and labeled each trace against a pre-registered rubric. Perceptual failures (the first three rows) account for 27 of the 48 failures, or 56% (95% CI: 42%–69%; single annotator, so intervals are slightly optimistic).&lt;/p&gt;&#xA;&lt;figure class=&#34;data&#34;&gt;&lt;figcaption&gt;Across 48 failed runs, more than half failed at seeing&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Failure type&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Share&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Count&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Misread frame&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;43.8%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;21&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Missed frame&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:23.7%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;10.4%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Wrong time window&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:4.8%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;2.1%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Reasoning or knowledge&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:38.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;16.7%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Timeout or harness error&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:33.3%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;14.6%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;7&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Questionable ground truth&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:5ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:28.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;12.5%&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;6&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Pure reasoning errors accounted for only 8 failures. By far the largest category was &lt;strong&gt;misreading the frame&lt;/strong&gt;: the agent found the right scene, then misidentified a color, miscounted repetitions, or read a direction backward. In the two examples below, the answers come directly from each agent&#39;s trace, and the notes are our annotations from reading the logs. Because Video-Index videos are licensed strictly for benchmark evaluation, no video frames are shown here.&lt;/p&gt;&#xA;&lt;figure class=&#34;cases&#34;&gt;&lt;figcaption&gt;Found the right scene and misread it; or scanned 1,100 thumbnails and missed it&lt;/figcaption&gt;&lt;div class=&#34;case-list&#34;&gt;&lt;article class=&#34;case&#34;&gt;&lt;div class=&#34;case-body&#34;&gt;&lt;p class=&#34;case-head&#34;&gt;&lt;span class=&#34;key&#34;&gt;ALLVB_2121&lt;/span&gt;&lt;span&gt;Movie · 87 min · Perception&lt;/span&gt;&lt;em class=&#34;case-tag&#34;&gt;Misread frame&lt;/em&gt;&lt;/p&gt;&lt;p class=&#34;case-q&#34;&gt;… a woman is seen tending to a wounded person and later crawling through the muddy terrain while holding a gun. … What is the color of the woman&amp;#39;s shirt in the scene?&lt;/p&gt;&lt;dl class=&#34;case-rows&#34;&gt;&lt;div class=&#34;ok&#34;&gt;&lt;dt&gt;Answer&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;✓&lt;/i&gt;(E) Purple&lt;/dd&gt;&lt;/div&gt;&lt;div class=&#34;bad&#34;&gt;&lt;dt&gt;Claude Opus 5.5&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;✗&lt;/i&gt;(B) Red&lt;/dd&gt;&lt;/div&gt;&lt;div class=&#34;note&#34;&gt;&lt;dt&gt;Note&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;·&lt;/i&gt;Found the exact right scene, but called the maroon shirt red; 9 of 21 agents picked Red&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;/div&gt;&lt;/article&gt;&lt;article class=&#34;case&#34;&gt;&lt;div class=&#34;case-body&#34;&gt;&lt;p class=&#34;case-head&#34;&gt;&lt;span class=&#34;key&#34;&gt;ALLVB_429&lt;/span&gt;&lt;span&gt;Movie · 132 min · Spatial&lt;/span&gt;&lt;em class=&#34;case-tag&#34;&gt;Missed frame&lt;/em&gt;&lt;/p&gt;&lt;p class=&#34;case-q&#34;&gt;What is the movement path of the prescription Elizabeth receives from her doctor?&lt;/p&gt;&lt;dl class=&#34;case-rows&#34;&gt;&lt;div class=&#34;ok&#34;&gt;&lt;dt&gt;Answer&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;✓&lt;/i&gt;(C) From the doctor&amp;#39;s hand to the trash can outside the office&lt;/dd&gt;&lt;/div&gt;&lt;div class=&#34;bad&#34;&gt;&lt;dt&gt;Claude Opus 5&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;✗&lt;/i&gt;(B) From the doctor&amp;#39;s hand to Elizabeth&amp;#39;s purse&lt;/dd&gt;&lt;/div&gt;&lt;div class=&#34;note&#34;&gt;&lt;dt&gt;Note&lt;/dt&gt;&lt;dd&gt;&lt;i&gt;·&lt;/i&gt;Scanned 1,100 shot thumbnails, missed the moment the prescription was thrown away, and concluded the doctor never appeared on screen&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;/div&gt;&lt;/article&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Public traces from Video-Index v1.1.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Telling “missed the frame” apart from “saw the frame and misread it” requires plotting exactly which timestamps the agent inspected. The counting question below comes from a 319-second first-person video asking “How many times did I point at the Lego box?” The ground-truth answer is 5, and only 4 of the 21 agents got it right. Gemini 4 Argon counted 3.&lt;/p&gt;&#xA;&lt;p&gt;The dataset doesn&#39;t provide per-instance timestamps, so the 5 numbered markers in the diagram below come from GPT-6-Astra&#39;s correct trace, which explicitly reported “around 129, 132, 134, 232, and 249 seconds”; the dark outlines mark the 3 pointing intervals Argon wrote down. The colored bars plot the time span and frame rate of every frame-extraction command in each agent&#39;s trace (Codex traces don&#39;t log image-viewing events separately, so Astra&#39;s row reflects extracted frames rather than confirmed views). When you overlay them, both of the pointing events Argon missed fall squarely inside windows that Argon inspected at 6 frames per second: it looked right at them, and still miscounted. That is precisely the kind of question a per-clip &lt;code&gt;$P(t)$&lt;/code&gt; curve asking “is the hand pointing right now?” can answer directly.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:412px;--hn:577px&#34;&gt;&lt;figcaption&gt;Argon inspected both missed pointing events at high frame rate—it just didn&amp;#39;t count them&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;S-EMBER_7291. Plotted from trace timestamps only; contains no video frames.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;We previously built a frame-by-frame version for agents to call, and it exposed the exact limit of single-frame perception: for an &lt;strong&gt;action&lt;/strong&gt; like “a hand pulling a wet wipe from a box,” a single-frame detector says “present” on every frame where the hand and the box appear together, causing it to count 64 occurrences on a question whose answer was 5. So what Glance should provide as a video tool is the perceptual primitives where agents most often stumble: counting occurrences accurately, verifying whether something is present in a segment, and localizing where it is—while actions have to be judged over short video clips rather than isolated frames.&lt;/p&gt;&#xA;&lt;h3 id=&#34;frame-by-frame-scoring-runs-backward-on-this-benchmark&#34;&gt;Frame-by-Frame Scoring Runs Backward on This Benchmark&lt;/h3&gt;&#xA;&lt;p&gt;We also tried something even more direct: skipping the agent altogether and having Glance answer the multiple-choice questions on its own. We uniformly sampled 32 frames, had each frame independently answer the multiple-choice question, averaged the option probabilities across the 32 frames, and picked the highest-scoring option. Across the 144 questions of Video-Index v1.1, it got only 2.1% right—versus 24.8% for random guessing. Picking the &lt;strong&gt;lowest&lt;/strong&gt;-probability option instead got 66.7% right.&lt;/p&gt;&#xA;&lt;p&gt;That isn&#39;t a bug in our code. We verified the entire pipeline on synthetic videos (getting 63/63 right) and reversed the option ordering, confirming that the model&#39;s preference follows the option text rather than option letters or positions. The explanation lies in how the benchmark was constructed: candidate questions in Video-Index pass through an adversarial filter that discards any question a frame-level model can answer with high confidence (whether from 1 frame, 32 frames, 32 shuffled frames, or text alone); the surviving questions are then sorted and released in order of how low a probability the frame-level model assigns to the ground-truth answer. By construction, whichever option a frame-level model favors is almost guaranteed to be a distractor.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:270px&#34;&gt;&lt;figcaption&gt;Frame-by-frame scoring: picking the most likely option almost always fails; picking the least likely usually wins&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Glance v1, 32 uniformly sampled frames scored independently. v1.0 is a random 155-question sample.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;v1.0 is the unranked pool released right after filtering, and the phenomenon is identical: across 155 random questions, picking the highest probability gets 3.2%, picking the lowest gets 69.0%, and random guessing gets 30.0%. Running Qwen3.5-4B directly on the full video is inverted in the exact same way (picking the highest gets only 3–5/144 right, while picking the lowest gets 53–59%), showing that this isn&#39;t an artifact of looking at single frames—it&#39;s that the shared priors of this model family were filtered out. That is a natural property of an adversarially filtered benchmark, not a flaw: it specifically retains the questions where frame-level priors are misled. You just need to know it&#39;s happening before using the benchmark to evaluate a frame-scoring tool, and pair it with an unfiltered control set.&lt;/p&gt;&#xA;&lt;p&gt;While reading those traces we also noticed two benchmark quirks unrelated to vision: 41.0% of the questions in v1.1 have the last option as the ground-truth answer, so a dummy policy that “always picks the last option” would rank 5th on the 21-agent leaderboard; and in 51 of Codex&#39;s 52 &lt;code&gt;technical_error&lt;/code&gt; runs, the agent had already written its final answer in the last message—24 of them correct—which would lift GPT-6-Astra from 35.4 to 41.0 if counted. Both are worth correcting for when comparing results on v1.1.&lt;/p&gt;&#xA;&lt;h2 id=&#34;where-it-still-fails&#34;&gt;Where It Still Fails&lt;/h2&gt;&#xA;&lt;p&gt;Glance still makes mistakes, and its mistakes follow clear patterns. For every category below, we know the cause and have a corresponding fix in flight.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Rephrasing a query can flip the answer.&lt;/strong&gt; On a clean image, almost any phrasing works; on the cluttered dinner table under the umbrella, “ketchup” scores 0.976, “the ketchup bottle” drops to 0.362, and “something to drink” in front of a table full of cups and bottles says “not present” (0.135). Most consequential are software UIs: “the Export button” is boxed cleanly, yet rephrasing it as “the button that saves the picture as a PNG” flips to “not present” (0.11); and asking for “the button that keeps my edits” confidently (0.93) boxes “Don&#39;t Save.” In the widget below, all phrasings for each image are asked together in a single forward pass; the vertical line marks the 0.5 threshold, and phrasings that fall below it are drawn with dashed boxes labeled “says not present.”&lt;/p&gt;&#xA;&lt;figure class=&#34;widget&#34; data-src=&#34;https://mizore.blog/widgets/glance-7eb8c066b381/phrasing.js&#34; data-style=&#34;style.css&#34;&gt;&lt;figcaption&gt;Same target, different phrasing&lt;/figcaption&gt;&lt;div class=&#34;widget-stage&#34;&gt;&lt;picture&gt;&lt;source media=&#34;(max-width: 640px)&#34; srcset=&#34;https://mizore.blog/images/4cee50ebb1cb8fea145cdbafc8dfa68ae2513f2b516f2cc88711d4c69615bf80.webp&#34; sizes=&#34;calc(100vw - 32px)&#34; width=&#34;588&#34; height=&#34;1646&#34;&gt;&lt;img fetchpriority=&#34;low&#34; class=&#34;widget-still&#34; src=&#34;https://mizore.blog/images/c00e9596b0222ba72638ea712ca404bf4c7f694bbe26819b6ebd0b02527bb9ea.webp&#34; alt=&#34;Static image: On the iced coffee and cake photo, dessert, 甜点, something sweet, and 甜的东西 all score above 0.98; on the dinner under the umbrella photo, ketchup scores 0.976, 番茄酱 0.851, and the ketchup bottle 0.362; on the software UI, the button that saves the picture as a PNG scores only 0.11&#34; width=&#34;1056&#34; height=&#34;743&#34; srcset=&#34;https://mizore.blog/images/01ede68c1fbc4ce98cd06d2d69fd4b7d02126a18504d36b6525f8a9a2e42c875.webp 720w, https://mizore.blog/images/c00e9596b0222ba72638ea712ca404bf4c7f694bbe26819b6ebd0b02527bb9ea.webp 1056w&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34; sizes=&#34;(max-width: 760px) calc(100vw - 64px), 704px&#34;&gt;&lt;/picture&gt;&lt;/div&gt;&lt;p class=&#34;figure-note&#34;&gt;Photos: Walter Lim, “Ice capuccino and durian durian cake for #tea”; Peter Moons, “Dinner under the umbrella.”, both CC BY 2.0 (COCO val2017). UI: examples/gui_mock.html from the Glance repository, Apache-2.0.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Chinese versus English—“甜点” versus “dessert”—works fine on these images; what breaks is describing a target by its function, which happens to be how users often instruct agents (“save the picture” rather than “click Export”). That is the exact noun shortcut analyzed earlier, and its fix is the one described above.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Relational “not present.”&lt;/strong&gt; “The cup next to the laptop” when the cup is actually across the table: on relation-mismatched negatives like this, v1 gets only 41% right (30% in Chinese). It spots the cup, and fails to verify “next to.”&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Multiple targets, single box.&lt;/strong&gt; Ask for “two people in red” and Glance will box one of them (hitting at least one target on 73.6% of gRefCOCO multi-target queries), but its box covers all targets on only 41.3%. That is the ceiling of a single-box head, and the reason it scores 0% on multi-target queries in GREC.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Too quick to say “not present” on GUIs.&lt;/strong&gt; On VenusBench, the presence gate blocks 18 percentage points of valid clicks on present targets, and its GUI presence AUROC is only 73.8.&lt;/p&gt;&#xA;&lt;p&gt;There is also an explicit trade-off on the table: v1 traded a bit of raw box precision on single-domain benchmarks for GUI capability and trustworthy refusal—RefCOCO val dipped from 95.0 to 93.2, and false rejection on multi-target expressions rose from 1.2% to 5.1%—before v1.1 recovered that box precision.&lt;/p&gt;&#xA;&lt;h2 id=&#34;whats-next&#34;&gt;What&#39;s Next&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;v1.2.&lt;/strong&gt; Retraining on Glance-Data to patch spatial qualifiers on unique objects, counts, and relational negatives.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Multi-box head.&lt;/strong&gt; Alongside the center-patch softmax, we are adding a per-patch “an object center is here” head: the number of peaks gives the count, and each peak reuses the existing four-side distribution readout. Asking “does this description refer to more than one object?” in the same forward pass already reaches 0.89 AUROC zero-shot, giving a third dial: is it there, is the box accurate, and is there only one.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Glance-Video.&lt;/strong&gt; Instead of asking about objects frame by frame, answering “did this action happen?” over short multi-second clips and counting state transitions. That counting query where single-frame detection counted 64 wet-wipe pulls instead of 5 is its first test.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;One query across N clips.&lt;/strong&gt; What a video agent needs most is a tool that scans an entire video with a single question in one pass—telling it “at 3:12,” or telling it with calibrated confidence, “not once in these two hours.”&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:276px;--hn:408px&#34;&gt;&lt;figcaption&gt;A scanning tool for video agents: one query, N clips, one forward pass&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/glance-single-prefill-decision-model/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Schematic; curve is illustrative.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;The hard part isn&#39;t the forward pass—it&#39;s making the statement “absent throughout the entire video” trustworthy. Even if the per-clip false positive rate is just 1%, across 64 independent clips the probability of at least one false alarm is roughly 47%, and across 256 clips it reaches 92%. As soon as a single clip fires a false alarm, you can no longer say “absent throughout.” Calibration therefore has to happen at the level of the entire set of clips: setting a threshold on the maximum probability across all clips so that the family-wise probability of saying “present” when the event never occurred is bounded by &lt;code&gt;$\alpha$&lt;/code&gt;. That way, when an event truly isn&#39;t in the video, the model can say “absent throughout” with &lt;code&gt;$1 - \alpha$&lt;/code&gt; confidence without being derailed by a stray per-clip false positive. Our target is a single forward pass under 100 ms that returns both a &lt;code&gt;$P(t)$&lt;/code&gt; curve and a set-level calibrated “absent throughout.”&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Open release.&lt;/strong&gt; The code is available at &lt;a href=&#34;https://github.com/Vision-Decision/Glance&#34;&gt;Vision-Decision/Glance&lt;/a&gt; (Apache-2.0), and the 4B preview weights (v1 in this post) are on Hugging Face at &lt;a href=&#34;https://huggingface.co/Vision-Decision/Glance-4B-preview&#34;&gt;Vision-Decision/Glance-4B-preview&lt;/a&gt; (CC BY-NC 4.0, as gRefCOCO in the training mix is non-commercial). A single &lt;code&gt;pip install&lt;/code&gt; runs it on CUDA, Apple Silicon, or CPU.&lt;/p&gt;&#xA;&lt;p&gt;Looking back, the most valuable takeaways weren&#39;t any particular benchmark score, but the three times reality contradicted our expectations: generative models aren&#39;t bad at knowing when something is absent—whether they hallucinate is an operating point chosen for them by the prompt and decoder; a larger, newer base model didn&#39;t learn to say “not present,” whereas hard negatives did, and our own negatives quietly taught the model a noun shortcut; and video agents lose at seeing, not at thinking. Every single time, the lesson pushed us away from “swap the model or architecture” and back toward “data and interfaces.”&lt;/p&gt;&#xA;&lt;h2 id=&#34;where-the-numbers-come-from&#34;&gt;Where the Numbers Come From&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Latencies were all measured on a single RTX PRO 6000 (with an additional set on an L4), running one warmup pass followed by the median of 50 calls (20 on L4); both sides are timed from the resized image to receiving all answers, including image preprocessing and excluding JPEG decoding. Jev latencies were measured over OpenRouter and include network transit.&lt;/li&gt;&#xA;&lt;li&gt;All interactive widgets on this page display real precomputed outputs from Glance-4B-preview; the browser only filters and interpolates between them.&lt;/li&gt;&#xA;&lt;li&gt;Numbers marked “official” use the benchmark authors&#39; scoring scripts; the rest use our evaluation harness. All thresholds and temperatures are fitted on held-out splits from the training distribution, without touching any evaluation set.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;&#xA;&lt;ol class=&#34;references&#34;&gt;&#xA;&lt;li id=&#34;ref-qwen35&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-qwen35-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Qwen Team (2026). &lt;a href=&#34;https://qwen.ai/blog?id=qwen3.5&#34;&gt;Qwen3.5: Towards Native Multimodal Agents&lt;/a&gt;. &lt;em&gt;Qwen blog&lt;/em&gt;, February 2026.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-jev&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-jev-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Almeida, D. (2026). &lt;a href=&#34;https://typesafe.ai/blog/introducing-system-one-models-and-jev&#34;&gt;Introducing System One Models &amp;amp; Jev&lt;/a&gt;. &lt;em&gt;TypeSafe AI blog&lt;/em&gt;, September 2026.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-jev114&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-jev114-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; TypeSafe AI (2026). &lt;a href=&#34;https://typesafe.ai/blog/jev-1-14&#34;&gt;Jev 1.14&lt;/a&gt;. &lt;em&gt;TypeSafe AI blog&lt;/em&gt;, October 2026. For details on the &lt;code&gt;box&lt;/code&gt; question type, see the &lt;a href=&#34;https://docs.typesafe.ai/primitives/box.md&#34;&gt;TypeSafe documentation&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-guiactor&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-guiactor-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Wu, Q., Cheng, K., Yang, R., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2506.03143&#34;&gt;GUI-Actor: Coordinate-Free Visual Grounding for GUI Agents&lt;/a&gt;. &lt;em&gt;Advances in Neural Information Processing Systems 38 (NeurIPS 2025)&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-gfl&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-gfl-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Li, X., Wang, W., Wu, L., et al. (2020). &lt;a href=&#34;https://arxiv.org/abs/2006.04388&#34;&gt;Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection&lt;/a&gt;. &lt;em&gt;Advances in Neural Information Processing Systems 33 (NeurIPS 2020)&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-sam3&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-sam3-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Carion, N., Gustafson, L., Hu, Y.-T., et al. (2026). &lt;a href=&#34;https://arxiv.org/abs/2511.16719&#34;&gt;SAM 3: Segment Anything with Concepts&lt;/a&gt;. &lt;em&gt;International Conference on Learning Representations (ICLR 2026)&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-song2025&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-song2025-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Song, X., &amp;amp; Bahri, D. (2025). &lt;a href=&#34;https://arxiv.org/abs/2501.19383&#34;&gt;Decoding-based Regression&lt;/a&gt;. &lt;em&gt;Transactions on Machine Learning Research&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-holtzman2021&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-holtzman2021-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Holtzman, A., West, P., Shwartz, V., Choi, Y., &amp;amp; Zettlemoyer, L. (2021). &lt;a href=&#34;https://doi.org/10.18653/v1/2021.emnlp-main.564&#34;&gt;Surface Form Competition: Why the Highest Probability Answer Isn&#39;t Always Right&lt;/a&gt;. &lt;em&gt;Proceedings of EMNLP 2021&lt;/em&gt;, 7038–7051.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-refbenchpro&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-refbenchpro-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Gao, T., Li, H., Fang, H., Wei, X., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2512.06276&#34;&gt;RefBench-PRO: Perceptual and Reasoning Oriented Benchmark for Referring Expression Comprehension&lt;/a&gt;. &lt;em&gt;arXiv preprint arXiv:2512.06276&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-grefcoco&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-grefcoco-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Liu, C., Ding, H., &amp;amp; Jiang, X. (2023). &lt;a href=&#34;https://arxiv.org/abs/2306.00968&#34;&gt;GRES: Generalized Referring Expression Segmentation&lt;/a&gt;. &lt;em&gt;IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR 2023)&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-screenspotv2&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-screenspotv2-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Wu, Z., Wu, Z., Xu, F., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2410.23218&#34;&gt;OS-ATLAS: A Foundation Action Model for Generalist GUI Agents&lt;/a&gt;. &lt;em&gt;International Conference on Learning Representations (ICLR 2025)&lt;/em&gt;. ScreenSpot-v2 is the revised benchmark introduced in this paper.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-screenspotpro&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-screenspotpro-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Li, K., Meng, Z., Lin, H., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2504.07981&#34;&gt;ScreenSpot-Pro: GUI Grounding for Professional High-Resolution Computer Use&lt;/a&gt;. &lt;em&gt;Proceedings of the 33rd ACM International Conference on Multimedia (MM &#39;25)&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-grec&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-grec-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; He, S., Ding, H., Liu, C., &amp;amp; Jiang, X. (2023). &lt;a href=&#34;https://arxiv.org/abs/2308.16182&#34;&gt;GREC: Generalized Referring Expression Comprehension&lt;/a&gt;. &lt;em&gt;arXiv preprint arXiv:2308.16182&lt;/em&gt;. MLLM results on GREC are taken from Yang, X., Ling, J., Huang, T., et al. (2026). &lt;a href=&#34;https://arxiv.org/abs/2608.04698&#34;&gt;Teaching MLLMs to Say No: Generalized Referring Expression Comprehension via Refusal Calibrated GRPO&lt;/a&gt;. &lt;em&gt;arXiv preprint arXiv:2608.04698&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-venusbench&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-venusbench-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Zhou, B., Huang, Z., Guo, Y., et al. (2025). &lt;a href=&#34;https://arxiv.org/abs/2512.16501&#34;&gt;VenusBench-GD: A Comprehensive Multi-Platform GUI Benchmark for Diverse Grounding Tasks&lt;/a&gt;. &lt;em&gt;arXiv preprint arXiv:2512.16501&lt;/em&gt;. UI-Venus-1.5 results are taken from its technical report &lt;a href=&#34;https://arxiv.org/abs/2602.09082&#34;&gt;arXiv:2602.09082&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;li id=&#34;ref-videoindex&#34;&gt;&lt;span class=&#34;ref-back&#34;&gt;&lt;a href=&#34;#cite-videoindex-1&#34; aria-label=&#34;Back to citation&#34;&gt;↑&lt;/a&gt;&lt;/span&gt; Song, E., Xu, Y., Yang, S., Chai, W., &amp;amp; Gu, J. (2026). &lt;a href=&#34;https://arxiv.org/abs/2610.00960&#34;&gt;Video-Index: A Curated Meta-Benchmark for Video Understanding&lt;/a&gt;. &lt;em&gt;arXiv preprint arXiv:2610.00960&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;</description>
      <category>Tech</category>
      <pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://mizore.blog/en/posts/glance-single-prefill-decision-model/</guid>
    </item>
    <item>
      <title>Save a Little, Then Save a Little More</title>
      <link>https://mizore.blog/en/posts/save-a-little-more/</link>
      <description>&lt;p&gt;Two bots live in our Telegram group.&lt;/p&gt;&#xA;&lt;p&gt;One is &lt;a href=&#34;https://github.com/mizorewww/pi-extension-telegram-agent&#34;&gt;Pi Telegram Agent&lt;/a&gt;, written by me; the other is &lt;a href=&#34;https://github.com/tuuject/surowan&#34;&gt;Surowan&lt;/a&gt; (&amp;quot;Plastic Bowl&amp;quot;), written by our group member tcdw. The two projects share not a single line of code. Their architectural philosophies, tech stacks, and even conversational personalities are polar opposites. Yet over months of real-world group chat collisions, their evolutionary trajectories converged on the exact same commandment: &lt;strong&gt;save a little, then save a little more.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Many people think &amp;quot;saving&amp;quot; is a compromise on resources—a stingy exercise in engineering self-flagellation. Quite the opposite. Over the past three months and more than 74,000 production model calls, I have become increasingly convinced: &lt;strong&gt;in LLM-driven systems, frugality is the highest form of design aesthetics.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;When you peel back the flashy scaffolding of an agent system layer by layer, you discover that code, context, and cloud bills are physically projections of the exact same entity—&lt;strong&gt;Tokens&lt;/strong&gt;—across different dimensions. Elaborate mechanisms almost always breed high entropy and fragility, whereas every act of restraint derived from strict first-principles reasoning ultimately pays off in remarkable lightness, speed, and capability.&lt;/p&gt;&#xA;&lt;p&gt;This post is both an honest ledger postmortem from a high-frequency production environment and an exercise in stripping away appearances to reach the core.&lt;/p&gt;&#xA;&lt;h2 id=&#34;tldr&#34;&gt;TL;DR&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;The Unified Currency Hypothesis:&lt;/strong&gt; Your cloud bill is tokens, your context window is tokens, and to a coding agent, your codebase is tokens too. They are not separate management targets, but projections of a single conservation law across different dimensions.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Dissecting the Lion&#39;s Share of the Bill:&lt;/strong&gt; 74,644 model calls reveal a brutal reality—&lt;strong&gt;input is 374× larger than output&lt;/strong&gt;. Nearly 90% of a group chat bot&#39;s token ledger is chat history, while tool schemas account for just 1.1%. The survival of the system hangs entirely on context length and cache hit rate.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Decoupling Perception from Reasoning (Controlling Call Volume &lt;code&gt;$N$&lt;/code&gt;):&lt;/strong&gt; Replying when explicitly mentioned is deterministic logic that requires zero intelligence. Deciding whether to chime in on ambient chatter is offloaded to a dedicated small classifier model that reads only a 6-line slice (~1,650 tokens, $0.000033 per call), never polluting the main model&#39;s context. And once a message is sent, a local primitive terminates the turn immediately—pinning non-essential round-trips down to an average of 1.13 calls per turn.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Byte-Level Paranoia (Guarding Cache Hit Rate &lt;code&gt;$h$&lt;/code&gt;):&lt;/strong&gt; The prefix must grow monotonically and never be mutated. Dynamic stickers and asynchronous media updates are projected via read-only metadata and &lt;code&gt;beforeRequest&lt;/code&gt; into &lt;code&gt;[System Note]&lt;/code&gt; blocks that never enter persistent session history. Backed by 55 versions of Golden Hash regression tests, this pins our measured DeepSeek cache hit rate at 98.7%, slashing input costs to 1/30th of uncached pricing.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Verbatim Words Over Hallucinated Summaries (Compressing Context Depth &lt;code&gt;$T$&lt;/code&gt;):&lt;/strong&gt; We abandoned all fancy multi-tier memory extraction and graph databases. Both frontier research and production scars confirm that processed summaries are not only expensive to maintain, they actively self-poison. We fixed our context window at 128K, left raw history sleeping in SQLite, and gave the bot a clean workbench to look things up on demand: literal substring search when it remembers the exact words, semantic search when it only remembers the gist—and what comes back is always the verbatim transcript.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Cashing Restraint In for Freedom:&lt;/strong&gt; The resources we saved don&#39;t just sit in a bank account; they buy extraordinary user experience. &lt;code&gt;codemode&lt;/code&gt; lets the bot &amp;quot;speak while acting&amp;quot; with parallel retrieval, and a single rootless Linux container lets the model orchestrate native Unix tools better than a hundred hand-written plugins ever could.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Decluttering the Codebase Itself:&lt;/strong&gt; Not a single line of code outside &amp;quot;Telegram group chat semantics&amp;quot; is homegrown. By leaning on the underlying Pi engine, we distilled &lt;code&gt;src/&lt;/code&gt; from 17,500 lines down to 8,100 lines—achieving far greater resilience through negative code.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Two Philosophies of Generality:&lt;/strong&gt; Surowan builds a &lt;em&gt;general product with a restrained agent&lt;/em&gt;; I chose a &lt;em&gt;specialized deployment with a general agent&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;gazing-into-the-ledger-where-the-real-money-flows&#34;&gt;Gazing into the Ledger: Where the Real Money Flows&lt;/h2&gt;&#xA;&lt;p&gt;All design aesthetics must rest on an unflinching gaze at physical reality.&lt;/p&gt;&#xA;&lt;p&gt;From its launch on August 7 to the architectural overhaul on November 4, my bot recorded comprehensive telemetry for every single production model call: input size, cached tokens read, output volume, and the exact byte breakdown of each segment inside every request. After three months, the overall ledger looks like this:&lt;/p&gt;&#xA;&lt;figure class=&#34;stats&#34;&gt;&lt;figcaption&gt;&lt;span&gt;Three-Month Ledger&lt;/span&gt;&lt;span class=&#34;key&#34;&gt;2026-08-07 — 2026-11-04 · Two bots · One group&lt;/span&gt;&lt;/figcaption&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Scale&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:3&#34;&gt;&lt;div&gt;&lt;dt&gt;Group messages&lt;/dt&gt;&lt;dd&gt;144,148&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Human messages after router logging began&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Model calls&lt;/dt&gt;&lt;dd&gt;74,644&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Including 11,544 compaction calls&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Public replies&lt;/dt&gt;&lt;dd&gt;39,615&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Total send invocations&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Tokens&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:3&#34;&gt;&lt;div&gt;&lt;dt&gt;Input&lt;/dt&gt;&lt;dd&gt;5.34B&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Including 3.50B cache reads&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Output&lt;/dt&gt;&lt;dd&gt;14.3M&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Input is 374× output&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Calls per turn&lt;/dt&gt;&lt;dd&gt;1.13&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Non-compaction calls ÷ started turns&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;data-note&#34;&gt;Input tokens include cache hits.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;Input is 374 times output.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is the first reality check that hits anyone building an LLM group chat system. Our intuition from human-computer interaction tells us that &amp;quot;conversation&amp;quot; is a symmetric game of throwing out a sentence and getting one back. In a high-frequency multi-person group chat, the truth is ruthlessly asymmetric: a group member posts a casual &amp;quot;haha true,&amp;quot; and the model must chew through a heavy system prompt, tool definitions, and a massive stretch of chat history—only to think through several layers and reply with two words, or choose to stay silent.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Physically, a group chat system&#39;s bill consists almost entirely of &lt;em&gt;reading&lt;/em&gt;.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Over these three months, we rotated through three primary models: first DeepSeek V4 Flash, then Gemini Flash in late August, and finally SWE-2 in late September. Every number below was recorded across all three in production:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:320px&#34;&gt;&lt;figcaption&gt;Weekly Model Calls by Primary Model&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Excludes compaction calls. Grouped by calendar week (UTC+8), starting from the Aug 7 launch; data comes from a local snapshot taken on Nov 1 (three days shorter than the ledger above, leaving the final week partial). Another 521 trial calls to GLM, GPT mini, etc. are omitted.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;So what exactly are those billions of tokens reading? We sampled and dissected over 40,000 real request payloads, placing them side by side with a single request captured before my earlier optimization of &lt;a href=&#34;https://mizore.blog/en/posts/making-memoh-cheaper-on-telegram/&#34;&gt;Memoh&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:336px;--hn:530px&#34;&gt;&lt;figcaption&gt;What Goes Inside a Single Request&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;This project: average across 40,593 requests (93,067 tokens per call). Memoh before optimization: a single captured request, measured by byte share. Dashed boxes represent total input per request, scaled proportionally.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;This diagram pours cold water on a lot of self-important &amp;quot;architectural optimizations&amp;quot;:&#xA;People love obsessing over prompt wording, trimming two sentences from the system prompt, or shortening tool names by a few characters—yet even when you optimize tool schemas to the bone, they account for a mere 1.1% of real requests.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;The total cost of the entire system is governed by a minimalist mathematical model:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;$$C = N \times T \times \left[(1-h) + h \times r\right]$$&lt;/code&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;$N$&lt;/code&gt;: how many times the model is woken up (call volume);&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$T$&lt;/code&gt;: how much context depth it must swallow each time it wakes up (input tokens);&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$h$&lt;/code&gt;: the fraction of context that hits the Prompt Cache (cache hit rate);&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;$r$&lt;/code&gt;: the ratio of cached token pricing to full price (an astonishing 1/50 on DeepSeek, 1/10 on Claude).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This equation is our immovable foundation. In engineering terms, there are only three degrees of freedom where you can apply leverage:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Wake it up less often (shrink &lt;code&gt;$N$&lt;/code&gt;)&lt;/strong&gt;;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Lock down every byte already read (maximize &lt;code&gt;$h$&lt;/code&gt;)&lt;/strong&gt;;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Strip away everything non-essential from each read (compress &lt;code&gt;$T$&lt;/code&gt;)&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;Below, we will peel back our architectural choices around restraint and freedom along these three variables, one layer at a time.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;layer-1-controlling-call-volume-n--never-pay-full-price-for-silence-and-waiting&#34;&gt;Layer 1: Controlling Call Volume &lt;code&gt;$N$&lt;/code&gt; — Never Pay Full Price for Silence and Waiting&lt;/h2&gt;&#xA;&lt;p&gt;The cheapest model call is &lt;strong&gt;the one that never happens&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The most fundamental difference between a group chat and a 1-on-1 DM is that a group chat is a public, ever-flowing torrent of information—the vast majority of which has nothing to do with the bot. And that torrent almost never stops: only between 4 a.m. and 6 a.m. does the chat go quiet, peaking in activity after 10 p.m.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:300px&#34;&gt;&lt;figcaption&gt;When Group Members Talk&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Human message count by day of week and 2-hour slot (UTC+8), totaling 141,717 messages. Taken from the local database snapshot at noon on Nov 1 (three days shorter than the Nov 4 ledger above). More orange means more messages.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Now look at the ruthless funnel from incoming messages to actual public replies over those three months:&lt;/p&gt;&#xA;&lt;figure class=&#34;data pair&#34;&gt;&lt;figcaption&gt;From Group Messages to Model Calls&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Stage&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;Count&lt;/span&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Group messages&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;144,148&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Bot busy, merged into next turn&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:35.1%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;50,532&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Turns started&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:38.7%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;55,776&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Model calls&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:43.8%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;63,100&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Public replies&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:7ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:27.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;39,615&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class=&#34;data-note&#34;&gt;Turns started = messages marked as started by routing; model calls exclude compaction.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;At the bottom of the funnel sits a stark fact: out of 144,000 group chat messages, the bot spoke publicly fewer than 40,000 times. Even among the 55,776 turns where it woke up to think, in more than 16,000 of them the model read the entire context and politely chose silence.&lt;/p&gt;&#xA;&lt;p&gt;This brings us to our first sharp contradiction:&#xA;&lt;strong&gt;How does the bot know whether to chime in? And once it decides to speak, how do we end the turn as quickly as possible?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;first-principles-social-tact-doesnt-require-a-90000-token-panoramic-memory&#34;&gt;First Principles: Social Tact Doesn&#39;t Require a 90,000-Token Panoramic Memory&lt;/h3&gt;&#xA;&lt;p&gt;&amp;quot;Should I chime in?&amp;quot; looks like an esoteric social judgment, but when you break it down, it splits into two completely distinct scenarios:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Deterministic scenarios:&lt;/strong&gt; A human explicitly @mentions the bot, replies to its message, or calls it by name. There is zero ambiguity here—a single line of deterministic code or regex routing can make the call. &lt;strong&gt;Not a single millisecond of model inference should ever be wasted here.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Ambient scenarios:&lt;/strong&gt; For the remaining sea of casual chatter, what the bot needs is &lt;em&gt;social tact&lt;/em&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;What does social tact look like in a group chat? Watch a real human group member:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Someone tosses a tricky technical question to the group, and it hangs unanswered for three minutes;&lt;/li&gt;&#xA;&lt;li&gt;Someone follows up directly on what the bot just said a moment ago;&lt;/li&gt;&#xA;&lt;li&gt;Two people are closely planning dinner together in a private, self-contained exchange;&lt;/li&gt;&#xA;&lt;li&gt;Another bot has already given a spot-on answer;&lt;/li&gt;&#xA;&lt;li&gt;Several bots are caught in a loop repeating each other.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Examine these scenarios and you reach a striking conclusion: making this call doesn&#39;t require the bot to know who it is, what happened in the group three months ago, or what tools it carries in its heavy toolbox. It depends solely on the conversational flow of the last five to ten lines.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Common off-the-shelf approaches crumble against this deduction:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Approach A: Let the primary model decide everything.&lt;/strong&gt; Waking the primary model once means hauling 93,000 tokens of baggage out of bed. If the primary model thinks for two seconds and concludes &amp;quot;I shouldn&#39;t interrupt,&amp;quot; you just paid full price on nearly 100,000 tokens for that silence. Multiply that across 140,000 casual messages and your bill explodes.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Approach B: Rely on rules and random probability gates.&lt;/strong&gt; Rolling a die or matching keywords is free, but it has zero comprehension. It plays deaf when someone genuinely needs technical help, yet leaps out on a 10% roll to crack a bad joke while group members are having a serious discussion or venting frustration.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The right solution must live at the intersection of the two: &lt;strong&gt;it must have semantic comprehension, but it may only read a tiny slice; it only needs to output a probability, not generate a reply.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Follow those constraints and the answer becomes obvious: &lt;strong&gt;introduce a dedicated small classifier model.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:224px;--hn:339px&#34;&gt;&lt;figcaption&gt;How an Incoming Group Message Decides Whether to Wake the Primary Model&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Direct mentions take a deterministic route without touching any model; all other messages send only the last few lines to the decider model, leaving the primary model&amp;#39;s context and cache untouched.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;I chose &lt;code&gt;pplx-decider-v1.2&lt;/code&gt;, a specialized small classifier model on OpenRouter (driven via Pi 1.5&#39;s native &lt;code&gt;classify&lt;/code&gt; abstraction). It is dirt cheap along three irreplaceable dimensions:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Fed only a slice:&lt;/strong&gt; It receives only the newly arrived messages plus the preceding 6 lines as background—stripping away the entire system prompt, long-range history, and tool declarations.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Prefix isolation:&lt;/strong&gt; Its invocation is a completely independent short request. Not a single byte of the primary model&#39;s core context is touched, so &lt;strong&gt;the primary model&#39;s Prompt Cache remains 100% intact&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Negligible cost:&lt;/strong&gt; A single decision consumes ~1,650 tokens (mostly fixed few-shot examples), costs ~$0.000033, and finishes in a few hundred milliseconds. Even if we ran every single one of the 144,000 group messages through it, the total bill would be just $4.70.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:200px&#34;&gt;&lt;figcaption&gt;Tokens Read to Decide &amp;#39;Should I Chime In?&amp;#39;&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Primary model shows the average request from our ledger; decider model shows the measured payload including all few-shot examples. Cost per 1,000 decisions: $0.033 for the decider model vs. ~$0.26 to $1.50+ for the primary model depending on provider.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;The decider model only went live on November 5. For the three months prior, ambient messages were gated by a probabilistic dice roll—and the ledger recorded the price of that design in plain sight: nearly every single turn was let in by the dice, forcing the primary model to read over 90,000 tokens from scratch each time.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:300px&#34;&gt;&lt;figcaption&gt;What Woke the Bot Before the Decider Model Launched&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Messages marked as started in routing logs by trigger reason, totaling 54,457 turns from the same Nov 1 local snapshot (three days shorter than the funnel table above). Over the same period, 50,362 messages arrived while the bot was busy and merged into the next turn, and 4,849 were skipped during cooldown.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;How do we give a small model without deep world knowledge good social judgment? &lt;strong&gt;Pack it with high-density few-shot examples.&lt;/strong&gt;&#xA;In &lt;code&gt;src/agent/decider.ts&lt;/code&gt;, we distilled 14 universal examples covering typical group chat micro-dynamics, lifting classifier recall straight from 0.53 to 0.71.&lt;/p&gt;&#xA;&lt;p&gt;An even more interesting aesthetic insight came from tuning the &lt;strong&gt;threshold&lt;/strong&gt;:&#xA;When we tried rewriting the prompt to sound more enthusiastic—nudging the model to &amp;quot;want to talk more&amp;quot;—we found that the entire probability curve merely shifted within the noise band while burning 20% more tokens. This validated a classic principle of cybernetics: &lt;strong&gt;the classifier model is responsible for relative ranking; the threshold is responsible for projecting personality.&lt;/strong&gt;&#xA;Want a cool, laconic geek bot? Raise the threshold to 0.45. Want a warm, lively regular who cheers everyone on? Drop it to 0.15. The prompt never needs to be torn down and rewritten, preserving the purity of the code.&lt;/p&gt;&#xA;&lt;h3 id=&#34;send-and-leave-eliminating-the-general-agents-monologue&#34;&gt;Send and Leave: Eliminating the General Agent&#39;s Monologue&lt;/h3&gt;&#xA;&lt;p&gt;Once the primary model is woken up, another massive source of waste lurks in the action execution chain.&lt;/p&gt;&#xA;&lt;p&gt;General-purpose agent frameworks suffer from a severe case of &lt;strong&gt;compulsive reporting&lt;/strong&gt;:&#xA;After the model calls &lt;code&gt;send()&lt;/code&gt;, the framework hands the Telegram delivery confirmation JSON back to the model as a tool result. The model then reloads all 93,000 tokens of context just to smugly report to the human: &lt;em&gt;&amp;quot;I have sent the message!&amp;quot;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;In a personal terminal assistant, that might pass for thoroughness. In a high-frequency Telegram group chat, it is an unmitigated disaster. Not only does it burn an entire extra full-context call, worse still, a group chat must never be polluted by the model&#39;s internal monologue or meta-commentary.&lt;/p&gt;&#xA;&lt;p&gt;We laid down two iron rules:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Private reasoning, explicit speech:&lt;/strong&gt; The model&#39;s raw Assistant text stays strictly inside the console logs; &lt;strong&gt;a message only crosses into the group chat when the model explicitly calls the &lt;code&gt;send&lt;/code&gt; tool&lt;/strong&gt;. If the model reads the context and decides not to call &lt;code&gt;send&lt;/code&gt;, the turn ends silently.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Terminal Send (&lt;code&gt;terminate&lt;/code&gt; primitive):&lt;/strong&gt; The moment a single &lt;code&gt;send&lt;/code&gt; call succeeds, the runtime invokes Pi&#39;s native &lt;code&gt;terminate&lt;/code&gt; mechanism—&lt;strong&gt;forcibly cutting off the loop and refusing to return control to the model&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:404px;--hn:785px&#34;&gt;&lt;figcaption&gt;Send and Terminate: Never Come Back Just to Report&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;A general agent loop feeds the delivery result back to the model, forcing it to re-read the entire context just to say &amp;#39;Sent!&amp;#39;. In our project, a successful send immediately ends the turn via Pi&amp;#39;s terminate primitive; if the model doesn&amp;#39;t call send, its text stays in the console.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;It is precisely this decisive cutoff that locked our three-month average at &lt;strong&gt;1.13 calls per turn&lt;/strong&gt;. The extra 0.13 calls exist solely for a single self-correction pass when the bot was explicitly mentioned by a user but forgot to invoke &lt;code&gt;send&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;When faced with an ambiguous network timeout, many engineers reflexively retry. On Telegram, however, sending a message is an irreversible, non-idempotent action. If the message was already created on Telegram&#39;s servers before the local connection timed out, retrying produces an embarrassing duplicate message in the group.&#xA;Our engineering rule is uncompromising: &lt;strong&gt;retries are permitted only on deterministic 4xx errors where no payload was committed; every timeout or ambiguous network state is marked &lt;code&gt;no_retry&lt;/code&gt; and halts immediately.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:216px;--hn:335px&#34;&gt;&lt;figcaption&gt;When Sending Fails, Only One Case May Retry&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Only deterministic 4xx errors before payload delivery are retried; everything else halts immediately.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;layer-2-maximizing-cache-hit-rate-h&#34;&gt;Layer 2: Maximizing Cache Hit Rate &lt;code&gt;$h$&lt;/code&gt;&lt;/h2&gt;&#xA;&lt;p&gt;If cutting call volume is our first line of defense, Prompt Caching is the core lever that determines life or death.&lt;/p&gt;&#xA;&lt;p&gt;At their core, the caching mechanisms of all modern frontier models (DeepSeek, Anthropic, OpenAI) work via &lt;strong&gt;Prefix Matching&lt;/strong&gt;:&#xA;As long as the prefix of your request is byte-for-byte identical to the previous turn, the price of the matched portion drops off a cliff. On DeepSeek V4 Flash, a cache hit costs a mere &lt;strong&gt;1/50th&lt;/strong&gt; of a cache miss.&lt;/p&gt;&#xA;&lt;p&gt;Let&#39;s run the numbers on the 5.34 billion input tokens we actually processed over three months:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:220px&#34;&gt;&lt;figcaption&gt;5.34B Input Tokens Priced at DeepSeek V4 Flash Rates&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Input tokens only; 14.3M output tokens excluded. 98.7% is our measured hit rate on DeepSeek; 0% is re-reading at full price every call. Hypothetical comparison across the full 3-month volume, not my literal invoice.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Going from 85% to 98.7% looks like a modest 14-percentage-point bump on paper, yet it cuts the bill by &lt;strong&gt;5×&lt;/strong&gt;; compared against running uncached, the difference is a staggering &lt;strong&gt;30×&lt;/strong&gt;!&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:240px&#34;&gt;&lt;figcaption&gt;Cache Hit Rate Across Providers Using the Exact Same Prefix Discipline&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Hit rate = cached read tokens ÷ total input tokens, excluding compaction calls, from the Nov 1 local snapshot. DeepSeek Official API: 3,415 calls (Aug 7–10); SWE-2 on Devin: 19,494 calls; Gemini Flash on Antigravity: 22,274 calls. DeepSeek calls routed via ollama-cloud (15,668 calls) did not report cache read metrics and are omitted.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;That is why we inscribed the single most important physical constraint of the entire project into &lt;code&gt;AGENTS.md&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Cache invariant: Never mutate an existing provider prefix; dynamic content may only be appended as a new suffix. Every request must be a strict prefix of the next request.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h3 id=&#34;first-principles-derivation-of-where-dynamic-information-belongs&#34;&gt;First-Principles Derivation of Where Dynamic Information Belongs&lt;/h3&gt;&#xA;&lt;p&gt;&amp;quot;Keep the prefix immutable&amp;quot; sounds like an easy slogan, until it collides head-on with the messy reality of a live Telegram group chat.&lt;/p&gt;&#xA;&lt;p&gt;The most classic contradiction is &lt;strong&gt;Stickers&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The bot has its own fixed catalog of favorite stickers, but group members constantly post all kinds of wild third-party stickers in daily conversation. When someone drops a particularly expressive sticker, we want to tell the bot: &lt;em&gt;&amp;quot;A group member just posted this sticker; if it fits the mood, you can use it this turn too.&amp;quot;&lt;/em&gt;&#xA;Clearly, this is &lt;strong&gt;unpredictable, dynamic candidate data that changes every single turn&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Where in the request payload should this dynamic list live? If we trace the engineering constraints step by step, every &amp;quot;convenient&amp;quot; shortcut gets eliminated one by one:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Failed Attempt 1: Stuff it into the System Prompt.&lt;/strong&gt;&#xA;Intuitively the cleanest place—except the System Prompt sits at the very beginning of the context window. Change a single character there, and &lt;strong&gt;all 90,000+ tokens of cache behind it shatter instantly&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Failed Attempt 2: Hang it at the very end of the request, then swap it out next turn.&lt;/strong&gt;&#xA;Since it represents &amp;quot;currently available stickers,&amp;quot; many engineers tack it onto the tail of the current request, then snip off the old tail and attach a new one on the next turn.&#xA;This tiny bit of laziness exacted a brutal toll in production: the tail of request &lt;code&gt;$n$&lt;/code&gt; vanished in request &lt;code&gt;$n+1$&lt;/code&gt;, breaking prefix continuity right at the seam. Our measurements showed that trying to save a few dozen tokens of sticker listings caused the very next turn to miss &lt;strong&gt;13,600 tokens&lt;/strong&gt; of cold cache right at turn entry!&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Failed Attempt 3: Splice it directly into the chat transcript.&lt;/strong&gt;&#xA;If we can only append monotonically, what if we disguise the sticker metadata as message text inside the user&#39;s chat line?&#xA;Disaster struck immediately: upon reading it, the model earnestly concluded that &lt;em&gt;&amp;quot;a group member just leaked my internal sticker catalog,&amp;quot;&lt;/em&gt; and proceeded to accuse group members of spying on its backend. Worse still, when the session hit its context limit and triggered compaction, the summarizer distilled this absurd suspicion—&lt;em&gt;&amp;quot;group members leaked the bot&#39;s sticker catalog&amp;quot;&lt;/em&gt;—into an established fact, baking it permanently into the long-term summary and causing irreversible cognitive poisoning.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:328px;--hn:463px&#34;&gt;&lt;figcaption&gt;Only One Place Can Hold Dynamic Information&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Each row shows a request after inserting a dynamic sticker list; the terracotta vertical line marks where prefix continuity breaks and the cache invalidates.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Through those three collisions with reality, the fate of dynamic information was locked by physical law into a single narrow slot:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;It must be strictly append-only;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Once written, it must freeze forever at that relative position, inherited verbatim by subsequent turns without ever being edited or deleted mid-stream;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;It must never be mistaken for human speech, requiring a dedicated system marker;&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;It must never enter the persistent session database main line, lest it pollute future compaction summaries.&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;This strict derivation gave birth to our final request projection structure:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:334px;--hn:339px&#34;&gt;&lt;figcaption&gt;Append-Only Prefixes Keep the Cache Connected&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Top: proper projection where request n+1 strictly contains request n. Bottom: hanging a dynamic list at the end and swapping it next turn breaks prefix continuity at the seam.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Inside an actual request payload, it unfolds with a clean, disciplined rhythm:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:388px;--hn:701px&#34;&gt;&lt;figcaption&gt;Anatomy of a Real Request&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Excerpt with usernames and sticker intensity descriptions removed. The dashed box is the full input of one request, read top to bottom by the model; the annotations for each block explain why it sits where it does.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Even asynchronous vision analysis strictly obeys this aesthetic:&#xA;When a user first posts an image, the message line carries only a lightweight placeholder &lt;code&gt;[Photo]&lt;/code&gt;. A few seconds later, when the async vision model finishes describing the image, the system &lt;strong&gt;never goes back to edit the old message&lt;/strong&gt;. Instead, it appends an immutable incremental event to the latest input stream: &lt;code&gt;[media_update #id] [Photo: a calico cat lying on a mechanical keyboard]&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;layer-3-compressing-context-depth-t--why-verbatim-speech-outranks-processed-memory&#34;&gt;Layer 3: Compressing Context Depth &lt;code&gt;$T$&lt;/code&gt; — Why Verbatim Speech Outranks Processed Memory&lt;/h2&gt;&#xA;&lt;p&gt;Now we turn our gaze to the third variable, &lt;code&gt;$T$&lt;/code&gt; (the context depth swallowed on every call).&#xA;Even with a 98.7% cache hit rate, remember that the remaining 1.3% of uncached traffic still pays full price—and even at cached rates, hauling 90,000 tokens on every turn generates continuous friction costs.&lt;/p&gt;&#xA;&lt;p&gt;More importantly: &lt;strong&gt;a context window is not an infinitely expanding landfill.&lt;/strong&gt; Where do old memories go? How should long-horizon conversations settle?&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-window-size-game-do-your-own-math-not-the-providers&#34;&gt;The Window Size Game: Do Your Own Math, Not the Provider&#39;s&lt;/h3&gt;&#xA;&lt;p&gt;A recent NVIDIA paper, &lt;em&gt;You don&#39;t need long context&lt;/em&gt; (arXiv:2611.05306), highlighted an underlying hardware reality: under server-side Attention mechanisms, the compute cost of generating each token scales linearly with context depth. Their benchmarks on vLLM + H100 showed that a 256K window increases per-token generation cost by up to 7× compared to 16K.&lt;/p&gt;&#xA;&lt;p&gt;Their recommendation: aggressively cap context between 16K and 48K, relying on frequent context compaction and state resets, which achieves virtually no accuracy drop on long-horizon tasks.&lt;/p&gt;&#xA;&lt;p&gt;That is a beautiful result—but if you copy it blindly into your own application, you will walk straight into a trap. That paper models &lt;strong&gt;the inference provider&#39;s cost structure&lt;/strong&gt;. For application developers calling cloud APIs, &lt;strong&gt;cloud billing is linear per token&lt;/strong&gt;. Token #100,000 costs the exact same price as Token #1; the provider&#39;s internal quadratic prefill penalty does not appear on your monthly invoice.&lt;/p&gt;&#xA;&lt;p&gt;On the application side, choosing a window size is a very different optimization game:&#xA;&lt;strong&gt;Which is more expensive: reading slightly more on each call, or triggering compaction far more frequently?&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you set a tiny window (say, 32K), avoiding overflow forces you to wake the model frequently to run Summarization (compaction).&#xA;Every compaction call exacts a heavy toll: it must read the entire old context and generate a structured summary. Worse still, &lt;strong&gt;the instant compaction finishes, your old deterministic prefix is dead—meaning the very next turn suffers a 100% cold-start full-price bill&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;First, let&#39;s look at how many tokens each request actually read over our three-month run. The distribution is bimodal, with one peak around 40K–50K tokens and another around 110K; after we raised the window limit in late September, a long tail stretched out to the right:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:280px&#34;&gt;&lt;figcaption&gt;Tokens Read per Request&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Input token distribution across 54,847 non-compaction calls in 10K-token bins (40K means 40K–50K); the last bin is ≥240K (including 3 calls over 250K). Local snapshot as of Nov 1. The context cap was 131K initially and raised to 256K in late September.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;During earlier iterations, my bot lived through both extremes of this pendulum swing:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:400px&#34;&gt;&lt;figcaption&gt;Weekly Average Input Length vs. Share of Compaction Calls&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Average input excludes compaction calls themselves. September used a homegrown compactor; in late September the window was raised from 131K to 256K.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Look at that glaring spike in late September: because our character-based token estimator mistakenly counted images as zero tokens, the system trapped itself in a nightmare loop—thinking compaction hadn&#39;t shrunk the context enough and re-triggering compaction non-stop—until &lt;strong&gt;nearly 45% of all model calls were just compacting&lt;/strong&gt;! Then, when we mindlessly cranked the window up to 256K at the end of September, compaction calls dropped near zero, but the baseline payload of every single request ballooned to 130,000 tokens.&lt;/p&gt;&#xA;&lt;p&gt;Our current architecture rests at a battle-tested equilibrium:&#xA;&lt;strong&gt;The window is fixed at 128K&lt;/strong&gt;, triggering Pi&#39;s native structured compaction once context reaches 110K tokens and reliably preserving the most recent ~20K tokens verbatim. Heavy tasks (multi-step search, deep research, code debugging) are offloaded via &lt;code&gt;task&lt;/code&gt; into isolated sub-sessions, bringing only the distilled answer back to the group chat. The primary session stays crystal clean—recording only &lt;em&gt;&amp;quot;what everyone is talking about&amp;quot;&lt;/em&gt; and &lt;em&gt;&amp;quot;what I did,&amp;quot;&lt;/em&gt; never degenerating into a bloated debugging log.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:268px;--hn:406px&#34;&gt;&lt;figcaption&gt;How Big Should the Context Window Be?&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;The color band is conceptual, not a plotted cost curve. Because cloud APIs bill linearly per token, too small a window lets compaction and cold-cache penalties outweigh smaller reads; too large a window forces every casual &amp;#39;haha true&amp;#39; to haul a massive context. Numbers in the three cards come from the ledger above.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;h3 id=&#34;bursting-the-bubble-why-we-completely-abandoned-memory-systems&#34;&gt;Bursting the Bubble: Why We Completely Abandoned Memory Systems&lt;/h3&gt;&#xA;&lt;p&gt;Whenever people talk about long-term agent evolution, they obsess over building elaborate &amp;quot;memory systems&amp;quot;: entity extraction, knowledge graph triples, update/forgetting mechanisms, vector semantic pipelines...&lt;/p&gt;&#xA;&lt;p&gt;Yet another incisive empirical study, &lt;em&gt;Is Complex Agentic Memory Always Needed?&lt;/em&gt; (arXiv:2610.30755), popped that bubble hard. The authors benchmarked over a dozen complex agent memory frameworks against a dead-simple &lt;strong&gt;Raw-RAG&lt;/strong&gt; baseline (no entity extraction, no graphs, no memory mutation—just chunking raw dialogue and retrieving it structurally). Across seven rigorous benchmarks, Raw-RAG took first place on six.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:200px&#34;&gt;&lt;figcaption&gt;Overall Score Drop When Replacing Raw Dialogue with Processed Memory&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Score delta relative to retrieving raw dialogue directly. Source: Bao et al., Is Complex Agentic Memory Always Needed? (arXiv:2610.30755).&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;And across individual metrics, the side with &lt;em&gt;one fewer layer of processing&lt;/em&gt; consistently scored higher:&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:260px&#34;&gt;&lt;figcaption&gt;On the Same Metric, One Less Layer of Processing Scores Higher&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Test-Time Learning: 47.68% with raw dialogue vs. 15.37% after extracting atomic facts. Full Memory Access: 57.5% on processed memory store vs. 61.6% with raw dialogue directly. Mem0 accuracy: 69.42% after removing UPDATE / DELETE vs. 67.36% with them enabled. Source: ibid.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Even more suffocating is the maintenance cost: keeping those delicate memory graphs alive on MemoryAgentBench routinely burned tens of millions of tokens and hours of compute, whereas raw retrieval finished in a dozen minutes.&lt;/p&gt;&#xA;&lt;p&gt;This echoes our own production incidents with uncanny precision. Remember the sticker leak hallucination earlier?&#xA;&lt;strong&gt;Once processed memory is subjectively distorted by a model, the next compaction pass solidifies that distortion into objective fact—inheriting and propagating it like a virus forever.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Our architectural response is an act of radical decluttering:&#xA;&lt;strong&gt;We threw out all memory middleware completely. We maintain zero fact graphs and run zero periodic reflection jobs.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Every single message posted in our group over the past year rests untouched in a local SQLite database backed by a high-performance Trigram inverted index. When the model notices group members referencing &lt;em&gt;&amp;quot;that thing someone mentioned last time&amp;quot;&lt;/em&gt; or encounters an inside joke it doesn&#39;t recognize, it wields a structured query tool called &lt;code&gt;tg_messages&lt;/code&gt;. It can query &lt;strong&gt;unadulterated verbatim transcripts&lt;/strong&gt; by nickname history, username change trails, speaker ID, reply trees, and time ranges.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:404px;--hn:785px&#34;&gt;&lt;figcaption&gt;No Memory Layer—Only Verbatim Transcripts&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Typical memory systems extract, build graphs, mutate, and summarize on every turn. Our project skips all processing: raw transcripts sit in SQLite and are queried on demand via tg_messages across nickname history, renames, speaker ID, reply trees, and time ranges.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;Leave raw context intact to time, and reserve the power of interpretation and verification for the exact moment it is needed.&lt;/strong&gt;&#xA;The former silently drains your compute on every single turn; the latter sparks an elegant retrieval only in the exact second a group member asks a follow-up question.&lt;/p&gt;&#xA;&lt;h3 id=&#34;remembering-the-gist-forgetting-the-exact-words-adding-a-semantic-path-to-verbatim-transcripts&#34;&gt;Remembering the Gist, Forgetting the Exact Words: Adding a Semantic Path to Verbatim Transcripts&lt;/h3&gt;&#xA;&lt;p&gt;The most frequently used parameter in &lt;code&gt;tg_messages&lt;/code&gt; is &lt;code&gt;text_contains&lt;/code&gt;. Backed by SQLite FTS5&#39;s trigram index, it is fundamentally an &lt;strong&gt;exact substring match&lt;/strong&gt;: you have to name the exact characters that appeared in the original message for it to hit.&lt;/p&gt;&#xA;&lt;p&gt;Human memory never works like that. When a group member asks about &lt;em&gt;&amp;quot;that person who recommended a keyboard last time,&amp;quot;&lt;/em&gt; the original conversation might not contain the word &amp;quot;keyboard&amp;quot; at all; someone might query a Chinese discussion in English; an inside joke circulating for three months has mutated through half a dozen spellings. Exact substring search isn&#39;t just &amp;quot;less accurate&amp;quot; here—it has &lt;strong&gt;nowhere to grab hold&lt;/strong&gt;: the model is forced to guess synonyms one by one, and every wrong guess costs another retrieval round-trip.&lt;/p&gt;&#xA;&lt;p&gt;Notice that &amp;quot;vector semantic retrieval&amp;quot; was on our list of standard memory-system ingredients at the start of this section. But looking back at that paper, what got falsified was never &lt;em&gt;vectors&lt;/em&gt;—it was &lt;em&gt;lossy processing&lt;/em&gt;: the Raw-RAG baseline that won six out of seven benchmarks works precisely by chunking raw dialogue and retrieving chunks semantically. So when we added a semantic path, we enforced three strict boundaries:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Zero processing:&lt;/strong&gt; No extraction, no summarization. Vectors are purely an index over raw transcripts; what comes back is always verbatim dialogue.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Zero extra LLM calls:&lt;/strong&gt; Windowing is deterministic code, and each dialogue window pays for embedding exactly once.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Zero new infrastructure:&lt;/strong&gt; No vector database, no native SQLite extensions, and no new tool definitions.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Windowing: Deterministic chunking without a model.&lt;/strong&gt; Individual group chat messages are too short—computing a separate vector for &lt;em&gt;&amp;quot;lmao&amp;quot;&lt;/em&gt;, &lt;em&gt;&amp;quot;+1&amp;quot;&lt;/em&gt;, or &lt;em&gt;&amp;quot;true&amp;quot;&lt;/em&gt; carries almost zero semantic signal. Instead, we slice consecutive messages into dialogue windows: a window closes once it reaches 800 characters (~20 messages), accumulates 40 messages, or encounters more than 30 minutes of silence between adjacent messages. Each line is formatted as &lt;code&gt;Nickname: text&lt;/code&gt;, with photos and stickers carrying their already-cached visual descriptions—reusing the recognition results we already paid for in &lt;code&gt;media_update&lt;/code&gt; without looking at the media again. Only &lt;strong&gt;closed&lt;/strong&gt; windows (after 30 minutes of trailing silence) enter the index; the currently open window is the live conversation already sitting in the bot&#39;s context window.&lt;/p&gt;&#xA;&lt;p&gt;That 800-character threshold wasn&#39;t plucked out of thin air; the experiments below moved it there from our initial 1,500-character design.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Vectors: One dialogue window, one embedding.&lt;/strong&gt; We use Gemini&#39;s &lt;code&gt;gemini-embedding-2&lt;/code&gt;, truncated to 768 dimensions and L2-normalized. Task type is specified via input prefix rather than a separate API flag: &lt;code&gt;title: none | text: …&lt;/code&gt; at indexing time, and &lt;code&gt;task: search result | query: …&lt;/code&gt; at query time. Pricing is $0.20 per million tokens. Backfilling our entire group archive with the initial 1,500-character windowing produced this ledger:&lt;/p&gt;&#xA;&lt;figure class=&#34;stats&#34;&gt;&lt;figcaption&gt;&lt;span&gt;One-Time Backfill&lt;/span&gt;&lt;span class=&#34;key&#34;&gt;2026-07-29 — 2026-11-10 · One group&lt;/span&gt;&lt;/figcaption&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Archive&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:2&#34;&gt;&lt;div&gt;&lt;dt&gt;Messages&lt;/dt&gt;&lt;dd&gt;273,526&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;~2,600 per day&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Body text&lt;/dt&gt;&lt;dd&gt;7.1M&lt;span class=&#34;kpi-u&#34;&gt; chars&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Excluding nicknames&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Backfill&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:4&#34;&gt;&lt;div&gt;&lt;dt&gt;Windows&lt;/dt&gt;&lt;dd&gt;8,875&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Median 1,436 chars, 32 lines&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Input&lt;/dt&gt;&lt;dd&gt;7.2M&lt;span class=&#34;kpi-u&#34;&gt; tokens&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;11.56M chars incl. nickname prefixes&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Cost&lt;/dt&gt;&lt;dd&gt;$1.43 | Pre−run estimate was $1.00–$1.50&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Remaining windows&lt;/dt&gt;&lt;dd&gt;319&lt;span class=&#34;kpi-u&#34;&gt; s&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;7,725 windows, four 429s&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;data-note&#34;&gt;Run against a read-only snapshot of the production archive DB using the initial 1,500-char windowing code. Token count converted at the measured ~0.62 tokens/char from countTokens. The v1 indexer backfilled ~1,150 windows in 37s before hitting rate limits, then retried using the API&amp;#39;s retryDelay hints to finish the remaining 7,725 windows in 319s.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;The window size distribution reveals an important fact: the character cap, not silence, determines almost every boundary. The median window was 1,436 characters and the 75th percentile was already 1,478 characters—nearly every window pressed right up against the 1,500-character ceiling, with only 139 short windows under 200 characters. A busy group chat rarely stays silent for 30 minutes.&lt;/p&gt;&#xA;&lt;p&gt;Strictly speaking, our earlier claim that &lt;em&gt;&amp;quot;zero tokens are spent on memory during normal chat&amp;quot;&lt;/em&gt; now needs a footnote: every 5 minutes, a background job embeds newly closed windows. Averaged across our archive&#39;s velocity, that comes to under 70,000 tokens per day—roughly &lt;strong&gt;1.4 cents&lt;/strong&gt;. It never enters the main context, never wakes an LLM, and never mutates a single previously written byte.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Rate limiting: Indexing and querying share the same quota.&lt;/strong&gt; Backfilling exposed our first real operational issue. Gemini allows at most 100 texts per batch (101 returns HTTP 400), and Tier 1 quota caps embedding throughput at 1,000,000 tokens per minute. Our first indexer sent batches of 50 and aborted until the next 5-minute tick on any error; it hit HTTP 429 after 23 requests, which would have dragged a full backfill out to ~40 minutes while firing eight alert notifications. Worse yet, a live semantic query during the backfill also hit a 429: background indexing and foreground queries draw from the exact same quota pool.&lt;/p&gt;&#xA;&lt;p&gt;The fix remained pure deterministic code—no queues, no extra services: batch size 100, honor the response&#39;s &lt;code&gt;retryDelay&lt;/code&gt; (30–41s) on 429, and self-throttle the background indexer to 800,000 characters per minute—roughly half our quota, leaving the other half for live queries from the group.&lt;/p&gt;&#xA;&lt;p&gt;When v1.1.8 shipped with 800-character windows, we re-ran the full backfill on the production database at this pace: 15,596 windows (averaging ~17.5 messages per window) at ~1,100 windows per minute, finishing in 14.5 minutes with &lt;strong&gt;zero 429s&lt;/strong&gt;. Total character volume stayed the same (~7.2M tokens, ~$1.40). End-to-end queries on the packaged release took 545–1,064 ms; with &lt;code&gt;limit&lt;/code&gt; set to 40, &lt;code&gt;rows&lt;/code&gt; returns one to two complete conversation windows while the remaining top-ranked windows are listed in &lt;code&gt;matches&lt;/code&gt; with &lt;code&gt;in_rows=false&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Right after the backfill finished, we hit a small plot twist: the indexer cursor suddenly jumped to ~1.787 billion. Back in August, an e2e test had inserted 21 synthetic messages into the production archive with fake senders and timestamp-sized &lt;code&gt;message_id&lt;/code&gt; values. Real Telegram supergroup message IDs increase monotonically, which the indexer relies on to advance its cursor. Rather than adding defensive code for an &amp;quot;impossible branch,&amp;quot; we backed up the database and deleted those 21 synthetic messages along with the 4 windows they had polluted, returning the cursor to its true position. Defensive code should guard against branches that can genuinely happen in reality; when an impossible branch appears from dirty data, make it impossible again.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Storage and retrieval: No vector database.&lt;/strong&gt; Vectors are stored as &lt;code&gt;float32&lt;/code&gt; BLOBs in a single new table, &lt;code&gt;message_chunks&lt;/code&gt;, where each row holds only the chat ID, the first and last message IDs of the window, the model name, and those 768 floats—the sole schema change in this feature. At query time, we embed the query into a vector and run an in-memory brute-force cosine scan across all windows in JavaScript: 768 dimensions × 8,875 windows is ~6.8 million multiply-adds, finishing in &lt;strong&gt;14 milliseconds&lt;/strong&gt; including sorting. Nearly all of a query&#39;s 470–700 ms latency is spent on the single network round-trip to the embedding API. Keeping all vectors resident in memory takes 27 MB (or ~48 MB for 15,596 windows after switching to 800-character windows—still trivial). At this scale, approximate nearest-neighbor indexes like HNSW or IVF solve a problem we simply do not have. And if we ever switch embedding models, old vectors aren&#39;t comparable anyway—we just drop and rebuild.&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:256px;--hn:526px&#34;&gt;&lt;figcaption&gt;Verbatim Dialogue Sliced into Windows, One Vector per Window&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Top: every 5 minutes the background job embeds newly closed windows (split at 800 chars, 40 messages, or &amp;gt;30 min silence; the active tail stays unindexed). Bottom: a query costs just one embedding call, ranks windows via in-memory cosine similarity, and returns full verbatim dialogue windows. Counts shown are illustrative.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;Interface: No new tool, just one new parameter.&lt;/strong&gt; Rather than registering a separate tool, we added a &lt;code&gt;semantic&lt;/code&gt; parameter to &lt;code&gt;tg_messages&lt;/code&gt;: pass a natural-language description of what you&#39;re looking for, and it returns the most relevant &lt;strong&gt;complete conversation windows&lt;/strong&gt;; &lt;code&gt;matches&lt;/code&gt; lists up to the top 10 windows with their &lt;code&gt;first_id&lt;/code&gt;, &lt;code&gt;last_id&lt;/code&gt;, similarity score, and an &lt;code&gt;in_rows&lt;/code&gt; flag indicating whether that window fit into &lt;code&gt;rows&lt;/code&gt;. It composes seamlessly with existing filters (&lt;code&gt;sender&lt;/code&gt;, &lt;code&gt;since&lt;/code&gt;, &lt;code&gt;until&lt;/code&gt;, &lt;code&gt;text_contains&lt;/code&gt;), keeping only windows that contain at least one matching message; once the model reads a window and wants to trace what led up to it or how it resolved, it uses the existing &lt;code&gt;before_id&lt;/code&gt; / &lt;code&gt;after_id&lt;/code&gt; cursors to page backward or forward.&lt;/p&gt;&#xA;&lt;p&gt;This continues our earlier principle of declaring all tools upfront: adding a parameter expands the tool schema by ~1,200 characters (~700–800 tokens, well under 1% of an average request), sitting inside the frozen prefix where it is re-read at cached rates; adding a separate tool would force the model to learn and coordinate another tool contract. Because tool schemas are part of the cache-visible protocol, changing them follows strict discipline: &lt;code&gt;CACHE_SCHEMA_VERSION&lt;/code&gt; bumped from 55 to 56 alongside an updated golden hash. The cache took a single cold start at deploy time, and remained byte-for-byte immutable thereafter.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Verification: Test on the real archive before writing the tool description.&lt;/strong&gt; After writing the code, we didn&#39;t ship straight to production. Instead, we had a sub-agent run four experiments on the production server against a read-only snapshot of the archive database—without starting the daemon or touching the live service (having learned our lesson from two processes fighting over the same bot token). Once the experiments finished, both the snapshot and the temporary API key were deleted. All four experiments combined cost about $3:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Full backfill:&lt;/strong&gt; Backfill the entire archive snapshot to measure throughput, rate limiting, window statistics, token volume, event-loop blockage, and RSS memory growth;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Query latency:&lt;/strong&gt; Measure end-to-end semantic query latency and where the time goes;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Retrieval quality:&lt;/strong&gt; Test 25 real topics discussed in the group &lt;strong&gt;without using any original wording&lt;/strong&gt;—paraphrasing, querying Chinese discussions in English, combining &lt;em&gt;&amp;quot;person + topic&amp;quot;&lt;/em&gt; with &lt;code&gt;sender&lt;/code&gt; filters, and constraining date ranges—plus 5 negative queries for events that never happened to see where false-positive scores land;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Parameter sensitivity:&lt;/strong&gt; Compare silence thresholds, window sizes, keeping vs. dropping the bot&#39;s own messages, and index prefixes on the most recent 30-day subset.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;figure class=&#34;stats&#34;&gt;&lt;figcaption&gt;&lt;span&gt;Semantic Retrieval Benchmark&lt;/span&gt;&lt;span class=&#34;key&#34;&gt;Read-only production archive snapshot · 1,500-char windows&lt;/span&gt;&lt;/figcaption&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Speed&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:3&#34;&gt;&lt;div&gt;&lt;dt&gt;Semantic query&lt;/dt&gt;&lt;dd&gt;470–700&lt;span class=&#34;kpi-u&#34;&gt; ms&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Almost entirely the single embedding call&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Cosine scan&lt;/dt&gt;&lt;dd&gt;14&lt;span class=&#34;kpi-u&#34;&gt; ms&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Brute-force across all windows&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Literal search&lt;/dt&gt;&lt;dd&gt;50–140&lt;span class=&#34;kpi-u&#34;&gt; ms&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;text_contains baseline&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;During Backfill&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:2&#34;&gt;&lt;div&gt;&lt;dt&gt;Event-loop lag&lt;/dt&gt;&lt;dd&gt;11&lt;span class=&#34;kpi-u&#34;&gt; ms&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;p99, max 49 ms&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Vectors in RAM&lt;/dt&gt;&lt;dd&gt;27&lt;span class=&#34;kpi-u&#34;&gt; MB&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Process RSS ~160 MB&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;stats-group&#34;&gt;&lt;b&gt;Quality&lt;/b&gt;&lt;/p&gt;&lt;dl class=&#34;kpi&#34; style=&#34;--k:2&#34;&gt;&lt;div&gt;&lt;dt&gt;Paraphrased hits&lt;/dt&gt;&lt;dd&gt;20&lt;span class=&#34;kpi-u&#34;&gt; / 25&lt;/span&gt;&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Top-1 window was the exact target&lt;/dd&gt;&lt;/div&gt;&lt;div&gt;&lt;dt&gt;Negative queries&lt;/dt&gt;&lt;dd&gt;0.627–0.701&lt;/dd&gt;&lt;dd class=&#34;s&#34;&gt;Top-1 score, higher than many true hits&lt;/dd&gt;&lt;/div&gt;&lt;/dl&gt;&lt;p class=&#34;data-note&#34;&gt;Query latency is end-to-end from query dispatch to verbatim rows returned; cosine scan includes sorting across all 8,875 windows. Event loop and memory measured during full backfill. Negative queries: top-1 score across 5 events that never happened.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;First, speed: semantic queries are several times slower than literal trigram search, but the latency lives almost entirely in the single network round-trip to the embedding API, not local compute; during the full backfill, event-loop lag peaked at just 49 ms, completely imperceptible for receiving and sending group messages.&lt;/p&gt;&#xA;&lt;p&gt;Next, quality: out of 25 paraphrased queries, 20 returned the exact target conversation as the #1 result—covering blockchain storage, router bridging and IPTV, replacing Windows fonts, a rainy beach trip, taking a leave of absence from college, exporting an eSIM, a Minecraft iron farm, weight loss, and GPUs. Querying Chinese chat logs in English worked just as well. For niche topics (only 3–7 relevant windows in the entire archive), the #1 result was spot-on while ranks #2–#5 were mostly filler.&lt;/p&gt;&#xA;&lt;p&gt;The queries that missed drew a crisp boundary around what semantic search cannot do:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Asking what a meme or slang term means:&lt;/strong&gt; 0 / 10. Group members use slang rather than defining it in chat; for that, pass the literal slang term to &lt;code&gt;text_contains&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Proper nouns and brand names:&lt;/strong&gt; A paid vocabulary app or a specific quant firm is much better served by exact substring search.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Figurative usage drowning out literal meaning:&lt;/strong&gt; True discussions about typhoons were rare, whereas &amp;quot;typhoon&amp;quot; used as a metaphor appeared everywhere.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Key facts scattered across multiple windows:&lt;/strong&gt; A platform rug-pull or &lt;em&gt;&amp;quot;the police said it&#39;s a civil dispute&amp;quot;&lt;/em&gt; where each window only touched a fragment.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Query phrasing matters too: a complete descriptive sentence outperforms two or three bare keywords by a wide margin. Searching just &lt;code&gt;&amp;quot;headphones&amp;quot;&lt;/code&gt; returned 2 relevant windows in the top 5; writing &lt;code&gt;&amp;quot;comparing noise cancellation and prices of several wireless earbuds&amp;quot;&lt;/code&gt; returned 4.&lt;/p&gt;&#xA;&lt;p&gt;The biggest surprise was similarity scores. We originally wanted to give the model a cutoff threshold below which it should treat results as &amp;quot;not found.&amp;quot; The experiment proved &lt;strong&gt;no such cutoff exists&lt;/strong&gt;: relevant windows had a median score of 0.669 while irrelevant ones had a median of 0.658, with nearly complete overlap. Across 5 negative queries for events that never happened, the #1 score ranged from 0.627 to 0.701—a fabricated query about &lt;em&gt;&amp;quot;wedding photos&amp;quot;&lt;/em&gt; scored 0.701, beating many genuine hits. Whenever the gap between #1 and #5 exceeded 0.05, the top result was always right, yet many genuine hits differed by only 0.01–0.03, indistinguishable from negative queries. So we wrote this rule directly into the tool description: similarity scores are only for relative ranking within a single query; the model must read &lt;code&gt;rows&lt;/code&gt; to verify relevance, rephrase or fall back to &lt;code&gt;text_contains&lt;/code&gt; if they don&#39;t match, and never assert &lt;em&gt;&amp;quot;the group has never discussed this&amp;quot;&lt;/em&gt; based on scores alone.&lt;/p&gt;&#xA;&lt;p&gt;The experiment also caught a result-shaping bug: when &lt;code&gt;limit&lt;/code&gt; was set to 30–40, queries always returned only a single window—because the first window had nearly 40 messages, the second window didn&#39;t fit, and the loop broke early. Now windows that don&#39;t fit the remaining row budget are skipped rather than halting the loop, ensuring the top window is always returned while other high-ranking windows are flagged via &lt;code&gt;in_rows&lt;/code&gt; in &lt;code&gt;matches&lt;/code&gt; so the model can fetch them by ID if needed.&lt;/p&gt;&#xA;&lt;p&gt;We tuned our windowing parameters on the 30-day subset:&lt;/p&gt;&#xA;&lt;figure class=&#34;data wide&#34;&gt;&lt;figcaption&gt;Choosing Windowing Parameters&lt;/figcaption&gt;&lt;div class=&#34;data-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Config&lt;/th&gt;&lt;th class=&#34;num bar-head&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-head-in&#34;&gt;P@1&lt;/span&gt;&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;P@5&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;MRR&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Msg Prec.&lt;/th&gt;&lt;th class=&#34;num&#34;&gt;Windows&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Baseline&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:93.8%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.76&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.47&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.83&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.73&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2,241&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;10-min silence&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:93.8%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.76&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.48&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.83&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.74&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2,562&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&#34;mark&#34;&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;800 chars (shipped)&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:100.0%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.81&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.57&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.84&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.78&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;3,720&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;3,000 chars / 80 msgs&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:76.5%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.62&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.46&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.74&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.62&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1,145&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Drop bot messages&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:59.3%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.48&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.39&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.62&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.48&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;1,948&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&#34;row-key prose-col&#34;&gt;Drop index prefix&lt;/td&gt;&lt;td class=&#34;num bar&#34; style=&#34;--vw:4ch&#34;&gt;&lt;span class=&#34;bar-cell&#34;&gt;&lt;span class=&#34;bar-track&#34; aria-hidden=&#34;true&#34;&gt;&lt;i class=&#34;bar-fill&#34; style=&#34;left:0.0%;width:87.7%&#34;&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&#34;bar-val&#34;&gt;0.71&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.47&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.77&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;0.68&lt;/td&gt;&lt;td class=&#34;num&#34;&gt;2,238&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p class=&#34;data-note&#34;&gt;30-day subset, 21 queries plus 3 negative queries for events that never happened. Baseline is 30-min silence, 1,500 chars, 40 messages. P@1, P@5: fraction of relevant windows in top 1 and top 5; MRR: mean reciprocal rank of the first relevant window; Msg Prec. (message precision): fraction of the 40-message budget landing inside relevant windows. Raising the character limit alone to 3,000 hit the 40-message cap first and changed nothing, so that row also raised the cap to 80 messages.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Three takeaways jumped out. First, smaller windows are more accurate: 800 characters won on every single metric while keeping total character count—and therefore embedding token cost—completely unchanged. Second, a 10-minute vs. 30-minute silence threshold made almost no difference, confirming again that window boundaries are driven primarily by character length. Most surprising of all were the bot&#39;s own messages: they accounted for 75% of total character volume and looked like noise we should strip out, yet the bot&#39;s explanations carried the exact topical vocabulary that anchored retrieval—dropping bot messages tanked P@1 from 0.76 down to 0.48.&lt;/p&gt;&#xA;&lt;p&gt;Finally, the examples in the tool description grew directly out of these experiments: &lt;em&gt;&amp;quot;someone explained how to make a custom sticker pack,&amp;quot;&lt;/em&gt; &lt;em&gt;&amp;quot;comparing noise cancellation and prices of several wireless earbuds,&amp;quot;&lt;/em&gt; the English query &lt;em&gt;&amp;quot;someone got liquidated on a high-leverage position,&amp;quot;&lt;/em&gt; combining &lt;code&gt;sender&lt;/code&gt; with &lt;em&gt;&amp;quot;plans for taking a gap year from school,&amp;quot;&lt;/em&gt; pairing with &lt;code&gt;text_contains&lt;/code&gt; to lock down a keyword, and using &lt;code&gt;after_id&lt;/code&gt; / &lt;code&gt;before_id&lt;/code&gt; to expand surrounding context. Every single example in the prompt is a query that actually succeeded in our benchmark, and the failure modes were documented verbatim under &lt;em&gt;&amp;quot;When not to use.&amp;quot;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;In total, the feature added 552 lines and deleted 25 lines in &lt;code&gt;src/&lt;/code&gt; (339 of which live in the new &lt;code&gt;semantic.ts&lt;/code&gt;): one table, one parameter. It adds zero &amp;quot;memory layers&amp;quot; to the bot: when nobody asks about the past, not a single extra character enters the primary model&#39;s context; when someone does ask, what comes back is still the verbatim transcript from that day.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;cashing-restraint-in-for-freedom-speed-and-capability-are-born-from-frugality&#34;&gt;Cashing Restraint In for Freedom: Speed and Capability Are Born from Frugality&lt;/h2&gt;&#xA;&lt;p&gt;Reading this far, someone might form a misconception: if this project counts every penny and every token with such ruthless discipline, doesn&#39;t the bot feel rigid, impoverished, and sluggish?&lt;/p&gt;&#xA;&lt;p&gt;The reality is the exact opposite.&#xA;&lt;strong&gt;All our restraint and weight-shedding was never about hoarding money in a ledger—it was about converting massive compute overhead into unprecedented agility and versatility when it actually counts.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;highlight-1-the-breathing-room-of-codemode--speaking-while-acting&#34;&gt;Highlight 1: The Breathing Room of Codemode — Speaking While Acting&lt;/h3&gt;&#xA;&lt;p&gt;The strongest immediate impression group members report is: &lt;em&gt;&amp;quot;Why does your bot respond so ridiculously fast?&amp;quot;&lt;/em&gt;&#xA;It isn&#39;t because we swapped in some ultra-low-latency model; the secret lies entirely in the interaction aesthetics of &lt;code&gt;codemode&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Consider how a mainstream agent framework mechanically grinds through a multi-step request like &lt;em&gt;&amp;quot;Look up the origin of this tech meme and summarize what our group has said about it&amp;quot;&lt;/em&gt;:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The model reads 90,000 tokens and decides to call &lt;code&gt;search&lt;/code&gt;;&lt;/li&gt;&#xA;&lt;li&gt;Long wait while the network returns search results;&lt;/li&gt;&#xA;&lt;li&gt;The model &lt;strong&gt;re-reads all 90,000 tokens plus pages of raw HTML snippets&lt;/strong&gt;, then decides to call a second tool;&lt;/li&gt;&#xA;&lt;li&gt;Another wait, another full re-read of the entire context to fetch a web page;&lt;/li&gt;&#xA;&lt;li&gt;After four or five heavy, full-price round-trips, users have been staring at a dead &lt;em&gt;&amp;quot;typing...&amp;quot;&lt;/em&gt; indicator for half a minute;&lt;/li&gt;&#xA;&lt;li&gt;Finally, several pages of unfiltered web text get welded permanently into the chat history for all subsequent turns.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;In our architecture, the model uses Pi&#39;s isolated sandbox to write a short, native JavaScript program in a single turn:&lt;/p&gt;&#xA;&lt;figure class=&#34;code&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;c1&#34;&gt;// 1. Speak first to break the dead silence of waiting&lt;/span&gt;&#xA;&lt;span class=&#34;kr&#34;&gt;await&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;tools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;send&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;({&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;text&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;Let me check the group archive and look up that meme—one sec!&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;});&lt;/span&gt;&#xA;&#xA;&lt;span class=&#34;c1&#34;&gt;// 2. Dispatch in parallel and aggregate inside the sandbox&lt;/span&gt;&#xA;&lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;[&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;searchRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;historyRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;]&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;kr&#34;&gt;await&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Promise&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;allSettled&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;([&lt;/span&gt;&#xA;  &lt;span class=&#34;nx&#34;&gt;tools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;search&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;({&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;query&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;open source project architecture overhaul&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;}),&lt;/span&gt;&#xA;  &lt;span class=&#34;nx&#34;&gt;tools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;tg_messages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;({&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;text_contains&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;architecture overhaul&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;limit&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;10&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;}),&lt;/span&gt;&#xA;&lt;span class=&#34;p&#34;&gt;]);&lt;/span&gt;&#xA;&#xA;&lt;span class=&#34;c1&#34;&gt;// 3. Slice and filter in sandbox RAM so raw junk never enters the main context&lt;/span&gt;&#xA;&lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;web&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;searchRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;status&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;fulfilled&amp;#34;&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;?&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;searchRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;value&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;kc&#34;&gt;null&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;chat&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;historyRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;status&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;fulfilled&amp;#34;&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;?&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;historyRes&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;value&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;kc&#34;&gt;null&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&#xA;&lt;span class=&#34;nx&#34;&gt;text&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;({&lt;/span&gt;&#xA;  &lt;span class=&#34;nx&#34;&gt;summary&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;web&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;?&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;slice&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;1000&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;),&lt;/span&gt;&#xA;  &lt;span class=&#34;nx&#34;&gt;discussions&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;chat&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;?&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;rows&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;map&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(({&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;sender&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;text&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;})&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&#34;sb&#34;&gt;`&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;${&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;sender&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;sb&#34;&gt;: &lt;/span&gt;&lt;span class=&#34;si&#34;&gt;${&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;text&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;sb&#34;&gt;`&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;),&lt;/span&gt;&#xA;&lt;span class=&#34;p&#34;&gt;});&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;span class=&#34;code-tools&#34;&gt;&lt;span class=&#34;lang&#34;&gt;js&lt;/span&gt;&lt;button class=&#34;copy&#34; type=&#34;button&#34;&gt;copy&lt;/button&gt;&lt;/span&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Laying the two execution models side by side makes the difference clear—look at how many times the primary model wakes up and what it has to read each time:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:452px;--hn:877px&#34;&gt;&lt;figcaption&gt;The Same Task, Run Two Ways&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;In a traditional agent loop, every tool result returns to the primary model for another full-context re-read; the diagram shows two tool calls, though real tasks often take four or five. In codemode, a sandboxed script sends an immediate heads-up, runs searches in parallel, and slices the output—waking the primary model only twice.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;Savor the aesthetic power packed into that short script:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Speak first (thoughtful pacing):&lt;/strong&gt; Executing &lt;code&gt;send&lt;/code&gt; on line 1 delivers an immediate acknowledgment to the user&#39;s client within a few hundred milliseconds. The psychological friction of &amp;quot;dead waiting&amp;quot; turns instantly into &lt;em&gt;&amp;quot;it&#39;s already on it.&amp;quot;&lt;/em&gt; Calling &lt;code&gt;send&lt;/code&gt; inside the &lt;code&gt;codemode&lt;/code&gt; sandbox does not trigger turn termination, allowing the pipeline to keep flowing in the background.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;True parallel execution:&lt;/strong&gt; Network requests should naturally run concurrently. &lt;code&gt;Promise.allSettled&lt;/code&gt; collapses multiple serial round-trips into one.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;A context firewall:&lt;/strong&gt; Tens of kilobytes of raw web text and redundant metadata are distilled in place inside sandbox RAM; &lt;strong&gt;only a few hundred tightly sliced characters of core signal are fed back to the primary model&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;We deliberately passed on the &amp;quot;native parallel tool calling&amp;quot; touted by model providers. Native parallel tool calls are one-way and rigid—you cannot speak a reassuring sentence first and branch dynamically on the return values within the same batch, nor can you stop the raw tool outputs from flooding your main context window. &lt;code&gt;codemode&lt;/code&gt; is the unique solution that fuses instant responsiveness, dynamic control flow, and context hygiene into one.&lt;/p&gt;&#xA;&lt;h3 id=&#34;highlight-2-one-complete-linux-container-beats-a-hundred-fragile-plugins&#34;&gt;Highlight 2: One Complete Linux Container Beats a Hundred Fragile Plugins&lt;/h3&gt;&#xA;&lt;p&gt;Many developers measure an agent&#39;s power by the length of its plugin list: weather plugins, charting plugins, audio transcoding plugins, PDF reader plugins, web snapshot plugins...&#xA;Every plugin adds a verbose schema, thousands of lines of glue code, and a third-party boundary waiting to break. Worse still, &lt;strong&gt;the model&#39;s capability ceiling is permanently locked inside the intersection of plugins the author bothered to write&lt;/strong&gt;. If a group member wants to extract specific frames from a video and turn them into a monochrome GIF, and the author never wrote a plugin for that, the agent can only shrug.&lt;/p&gt;&#xA;&lt;p&gt;Our design aesthetic went to the opposite extreme: &lt;strong&gt;give the model a real Linux machine.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Through Pi&#39;s native file and shell primitives (&lt;code&gt;read&lt;/code&gt; / &lt;code&gt;write&lt;/code&gt; / &lt;code&gt;edit&lt;/code&gt; / &lt;code&gt;bash&lt;/code&gt;), the bot commands a rootless Docker container running under an isolated system user. Its workspace comes preloaded with a full modern toolchain: Python (&lt;code&gt;uv&lt;/code&gt;), Node.js, &lt;code&gt;ffmpeg&lt;/code&gt;, ImageMagick, &lt;code&gt;ripgrep&lt;/code&gt;, Chromium, and full CJK fonts.&lt;/p&gt;&#xA;&lt;p&gt;Magical things happen as a result:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Want to trim video, extract audio, or compress a sticker? The model types a one-line &lt;code&gt;ffmpeg&lt;/code&gt; command in the sandbox;&lt;/li&gt;&#xA;&lt;li&gt;Want to crunch data or render a complex heatmap? The model runs &lt;code&gt;uv run --with matplotlib python main.py&lt;/code&gt; inside the container;&lt;/li&gt;&#xA;&lt;li&gt;When a group member asks curiously, &lt;em&gt;&amp;quot;How does your underlying logic actually work?&amp;quot;&lt;/em&gt;, the bot uses &lt;code&gt;bash&lt;/code&gt; to clone its own GitHub repository into &lt;code&gt;/work/src&lt;/code&gt;, searches the codebase with &lt;code&gt;rg&lt;/code&gt;, and explains its own implementation line by line;&lt;/li&gt;&#xA;&lt;li&gt;Once an artifact is ready, it pushes the output straight back to the group as native files or photo albums via &lt;code&gt;send.files&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;For all of these capabilities, &lt;strong&gt;we didn&#39;t write a single line of &amp;quot;plugin code.&amp;quot;&lt;/strong&gt; Frontier models have already been trained on humanity&#39;s entire open-source Unix ecosystem—they speak Shell natively. The only respectful thing for us to do is not to play babysitter and reinvent wheels for them, but to draw a firm security boundary and hand them a clean, isolated, always-ready general execution environment.&lt;/p&gt;&#xA;&lt;p&gt;Around that clean container boundary, we built a defense-in-depth security perimeter:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:358px;--hn:431px&#34;&gt;&lt;figcaption&gt;A Complete Linux Machine Inside Layered Boundaries&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;The bot daemon and the container run under separate OS users; the container holds zero API keys, SSH keys, or secrets, and both model requests and outbound files pass through the daemon.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;One general execution environment replaced an endless parade of mediocre plugins.&lt;/strong&gt; That architectural convergence holds far more beauty than any micro-optimization in code.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;the-final-layer-code-is-context--distilling-17500-lines-down-to-8089&#34;&gt;The Final Layer: Code Is Context — Distilling 17,500 Lines Down to 8,089&lt;/h2&gt;&#xA;&lt;p&gt;If we shift our gaze from the runtime model back to our own daily workflow as developers, we find the exact same physical laws governing everything.&lt;/p&gt;&#xA;&lt;p&gt;From day one, this project was built iteratively alongside a Coding Agent. In a Coding Agent&#39;s world, &lt;strong&gt;your codebase &lt;em&gt;is&lt;/em&gt; its context window&lt;/strong&gt;. Every redundant wrapper you write, every abstraction layer reserved for hypothetical &amp;quot;future extensibility,&amp;quot; and every wavering compatibility branch ruthlessly consumes the coding model&#39;s attention and comprehension in every single development session.&lt;/p&gt;&#xA;&lt;figure class=&#34;echart&#34; style=&#34;--h:300px&#34;&gt;&lt;figcaption&gt;Evolution of Lines of Code in src/&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Total lines across src/**/*.ts on each commit date; horizontal axis is scaled proportionally to calendar time.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;By November 1, bogged down by homegrown schedulers, compaction-retry state machines, and sprawling prompt-assembly glue, our codebase had ballooned to 17,522 lines. Over the next four days, following a thorough philosophical reckoning, we took a scalpel to the repo and cut it straight down to &lt;strong&gt;8,089 lines&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The codebase shrank by more than half, yet production capability didn&#39;t contract—in fact, it unlocked one-command installation, native vision understanding, automatic crash recovery, and the full-featured container sandbox.&lt;/p&gt;&#xA;&lt;p&gt;How? By enforcing one uncompromising rule:&#xA;&lt;strong&gt;If it does not belong to &amp;quot;Telegram group chat semantics,&amp;quot; not a single line of it should be written by us.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Look back at four of our worst production incidents:&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:424px;--hn:640px&#34;&gt;&lt;figcaption&gt;Four Production Incidents&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Dates are in 2026. The top half of each card shows the symptom group members saw; the bottom half shows the root cause we uncovered.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;&lt;strong&gt;Not a single one of these four hair-raising incidents had anything to do with Telegram itself. Every one of them came from our own homegrown session state machines and compaction algorithms.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;True engineering maturity means handing specialized infrastructure back to a solid foundation. Pi 1.5 provides first-class durable primitives out of the box: persistent sessions, crash recovery, AST-aware structured compaction, execution queues, and sandbox orchestration. In a single migration commit, we deleted 7,877 lines of homegrown code:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Deleted our painstakingly maintained session state machine and complex fingerprint diffing;&lt;/li&gt;&#xA;&lt;li&gt;Deleted our brittle character-based token estimator and custom summary-packing logic;&lt;/li&gt;&#xA;&lt;li&gt;Deleted our homegrown background child-process bridge and scheduling pipeline;&lt;/li&gt;&#xA;&lt;li&gt;Deleted 300 lines of verbose tool usage examples stuffed inside the system prompt (relying directly on Pi&#39;s strict TypeBox parameter schemas).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The remaining ~8,000 lines of pure code focus on doing one thing well: &lt;strong&gt;mapping the Telegram group chat ecosystem into rigorous, elegant agent interactions&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It handles message archiving and Trigram / semantic retrieval;&lt;/li&gt;&#xA;&lt;li&gt;It handles prefix-invariant batch grammar serialization;&lt;/li&gt;&#xA;&lt;li&gt;It handles the small classifier model&#39;s chime-in decisions;&lt;/li&gt;&#xA;&lt;li&gt;It builds the security moat around the rootless Linux container.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:300px;--hn:618px&#34;&gt;&lt;figcaption&gt;What We Deleted Went to Pi; What Remains Is Pure Group Chat Semantics&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;The four blocks of homegrown code deleted in the migration commit and the Pi 1.5 capabilities that replaced them; the remaining ~8,000 lines handle only group-chat semantics.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;In software engineering, the purest joy is never typing out tens of thousands of lines of framework code—it is &lt;strong&gt;making the system stronger while deleting thousands of lines of bloated self-indulgence in a single stroke&lt;/strong&gt;. That joy of &amp;quot;negative code&amp;quot; is the truest expression of minimalist aesthetics.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;two-visions-of-generality-specialized-deployment-vs-general-agent&#34;&gt;Two Visions of Generality: Specialized Deployment vs. General Agent&lt;/h2&gt;&#xA;&lt;p&gt;In our group, members often teasingly compare my bot with tcdw&#39;s &lt;a href=&#34;https://github.com/tuuject/surowan&#34;&gt;Surowan&lt;/a&gt;: &lt;em&gt;&amp;quot;If you talk about general agents all day, why does your bot single-mindedly serve only our one group?&amp;quot;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;Let&#39;s set surface appearances aside and lay the skeletons of both systems side by side:&lt;/p&gt;&#xA;&lt;div class=&#34;table-scroll&#34; tabindex=&#34;0&#34;&gt;&lt;table&gt;&#xA;&lt;thead&gt;&#xA;&lt;tr&gt;&#xA;&lt;th style=&#34;text-align:left&#34;&gt;Dimension&lt;/th&gt;&#xA;&lt;th style=&#34;text-align:left&#34;&gt;Pi Telegram Agent (This Project)&lt;/th&gt;&#xA;&lt;th style=&#34;text-align:left&#34;&gt;Surowan (&lt;code&gt;tuuject/surowan&lt;/code&gt;)&lt;/th&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/thead&gt;&#xA;&lt;tbody&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Target Audience&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Deeply tailored for our own trusted circle&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Built for any external user to self-host (BYOK)&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;High-frequency emergence inside a single Supergroup&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Multi-group, multi-channel&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Persona Model&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;One deployment = one focused digital persona&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Single deployment switches personas and model matrices per chat&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Chime-In Decision&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Deterministic on @mention; ambient chatter judged by a &lt;strong&gt;dedicated small classifier reading a slice&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Bucket-aggregated and judged by the &lt;strong&gt;primary model&lt;/strong&gt; over full context, gated by time/probability&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Forgetting Mechanism&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Pi&#39;s native structured compaction (128K window)&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Pure checkpoint sliding truncation (drop without summarizing)&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Memory System&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Zero memory layers&lt;/strong&gt;; relies entirely on SQLite verbatim dialogue retrieval&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Three-tier memory hierarchy (Memo Pad + periodic summaries + curated knowledge base)&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Tool Exposure&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Fixed catalog declared upfront in full, riding the prompt cache&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Core primitives exposed; internal skills discovered dynamically via &lt;code&gt;execute&lt;/code&gt;&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Execution Power&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Full rootless Linux container, Shell, and JS sandbox&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;Shell and arbitrary code execution strictly forbidden for multi-tenant safety&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;tr&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;&lt;strong&gt;Codebase Size&lt;/strong&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;~8,100 lines in &lt;code&gt;src/&lt;/code&gt;; general execution delegated to Pi&lt;/td&gt;&#xA;&lt;td style=&#34;text-align:left&#34;&gt;~60,000 lines in &lt;code&gt;src/&lt;/code&gt;; custom dashboard, scheduler, and multi-channel runtime&lt;/td&gt;&#xA;&lt;/tr&gt;&#xA;&lt;/tbody&gt;&#xA;&lt;/table&gt;&lt;/div&gt;&#xA;&lt;p&gt;Spread this comparison table open and you see two diametrically opposed yet internally consistent design philosophies:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Surowan is a &amp;quot;general product with a restrained agent.&amp;quot;&lt;/strong&gt;&#xA;Because it was designed from day one to be deployed by strangers across unpredictable public groups, it &lt;em&gt;must&lt;/em&gt; restrain the agent&#39;s hands and feet (strictly forbidding Shell execution) to manage risk—investing massive engineering effort into outer defenses, multi-group routing, admin dashboards, and permission auditing.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;We chose a &amp;quot;specialized deployment with a general agent.&amp;quot;&lt;/strong&gt;&#xA;Precisely because we rejected the temptation to support hundreds of arbitrary groups and bounded our deployment to a single group ecosystem we trust, we compressed outer product complexity down to almost zero. Every bit of architectural budget and trust capital we saved on the outside was poured unreservedly into the agent&#39;s core—&lt;strong&gt;daring to hand it a complete Linux machine, daring to let it orchestrate Shell commands, and daring to let it write concurrent code on the fly.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:360px;--hn:701px&#34;&gt;&lt;figcaption&gt;Where the Complexity Lives&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;Neither project is simple; they just place their complexity in opposite places: Surowan puts it in outer product capabilities, while this project puts it inside the agent kernel. Drawn from the comparison table above.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;On specific architectural trade-offs, we remain convinced of our choices:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Who decides when to speak: Slice classifier vs. full-context primary model.&lt;/strong&gt; Even with Surowan&#39;s sophisticated gates, the final mile still wakes the primary model to scan the full context. By decoupling perception from reasoning via a tiny classifier model, our primary model&#39;s cache never flinches no matter how noisy the chat gets.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Tool definitions: Full upfront declaration vs. dynamic discovery.&lt;/strong&gt; Many frameworks love tucking tools into secondary directories so the model searches before calling, hoping to save tokens. Yet our telemetry proves tool schemas occupy just 1.1% of the payload and sit inside the immutable cached prefix; forcing the model to make an extra full-context round-trip just to save a few hundred cached tokens is a textbook case of &lt;em&gt;&amp;quot;penny-wise on the cheapest prefix, pound-foolish on the most expensive inference.&amp;quot;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Memory philosophy: Zero mechanism vs. intricate curation.&lt;/strong&gt; Surowan&#39;s three-tier memory design is an impressive piece of engineering, but frontier research and our own production scars sound the same warning bell: processed memory inherently carries a self-poisoning risk. One less layer of mechanism is one less class of self-replicating error.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;why-specialization-for-a-group-chat-is-the-true-starting-point-of-generality&#34;&gt;Why Specialization for a Group Chat Is the True Starting Point of Generality&lt;/h2&gt;&#xA;&lt;p&gt;Someone might ask: if you welded every design decision to a single Telegram group chat, isn&#39;t that just narrow specialization?&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;No—the harsher the environment, the more universal the principles distilled from surviving it.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The most common tragedy in software engineering is building a so-called &amp;quot;general framework&amp;quot; in a vacuum. When you lack a concrete, unforgiving real-world scenario as your anchor, your architecture inevitably fills up with fantasies: adding another middleware layer feels cool, adding a memory-extraction pipeline feels thorough, and having the model repeat a confirmation turn after every tool call feels rigorous.&lt;/p&gt;&#xA;&lt;p&gt;Until you throw it into a real, unforgiving Telegram group chat:&#xA;Online 24/7, hundreds of people firing off jokes and tangents every second, context refreshing by the second, the vast majority of messages pure noise, input outnumbering output by 374 to 1... In an environment that brutal, the slightest bit of architectural bloat or hubris gets amplified dozens of times over by the leverage of 144,000 messages—turning into astronomical cloud bills, lag, and spam in front of your users.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;A design philosophy that can survive the most hostile group chat is indestructible when transplanted into any agent system:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;figure class=&#34;diagram&#34; style=&#34;--h:296px;--hn:515px&#34;&gt;&lt;figcaption&gt;Four Rulers of Restraint&lt;/figcaption&gt;&lt;p&gt;&lt;a href=&#34;https://mizore.blog/en/posts/save-a-little-more/&#34;&gt;(See the figure in the post.)&lt;/a&gt;&lt;/p&gt;&lt;p class=&#34;figure-note&#34;&gt;The four dimensions of frugality, what each one governs, and the design principles they share.&lt;/p&gt;&lt;/figure&gt;&#xA;&lt;p&gt;In the world of LLMs, every engineering law ultimately converges on a single aesthetic truth:&#xA;&lt;strong&gt;Tokens are the only currency.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Saving money, saving context, and saving lines of code are not three separate virtues—they are projections of the exact same fundamental law across the physical billing ledger, runtime memory, and software architecture.&lt;/p&gt;&#xA;&lt;p&gt;We never sacrificed user experience. On the contrary, precisely because we refused to budge an inch on unnecessary model calls and fought over every byte of prefix stability, we earned the headroom to give our bot a millisecond-responsive &lt;code&gt;codemode&lt;/code&gt; and a full Linux workspace where it can roam freely—living in our group chat as a genuinely sharp, tactful companion.&lt;/p&gt;&#xA;&lt;p&gt;The next time you are tempted to add a new mechanism or write a new feature, hold this ruler up and ask yourself four questions:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Does this step actually require a model, or can a single line of deterministic code settle it? And if it truly needs a model, does it really need to wake the primary model with all 90,000 tokens of baggage?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Will this action mutate the golden prefix? Is dynamic information staying obediently on the append-only tail where it belongs?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Does this batch of data deserve to be re-read by the model on every single turn, or should it sleep in the database until someone actually asks for it?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;If I delete this code right now, will the system really collapse—or has the underlying platform already solved this more cleanly than I ever could?&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;If the answer wavers, take your hands off the keyboard.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Save a little, then save a little more.&lt;/strong&gt;&#xA;Because only where restraint reaches its limit does true freedom appear.&lt;/p&gt;&#xA;</description>
      <category>Tech</category>
      <pubDate>Thu, 05 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://mizore.blog/en/posts/save-a-little-more/</guid>
    </item>
  </channel>
</rss>