<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: JaviMaligno</title>
    <description>The latest articles on DEV Community by JaviMaligno (@javieraguilarai).</description>
    <link>https://dev.to/javieraguilarai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3701121%2F3d85b744-a4d6-4104-a1ae-db83b08dcc88.png</url>
      <title>DEV Community: JaviMaligno</title>
      <link>https://dev.to/javieraguilarai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/javieraguilarai"/>
    <language>en</language>
    <item>
      <title>Change the Locks: The Mathematics Behind the Post-Quantum Warning, and What Bitcoin Has to Do</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Fri, 04 Dec 2026 17:01:43 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/change-the-locks-the-mathematics-behind-the-post-quantum-warning-and-what-bitcoin-has-to-do-4697</link>
      <guid>https://dev.to/javieraguilarai/change-the-locks-the-mathematics-behind-the-post-quantum-warning-and-what-bitcoin-has-to-do-4697</guid>
      <description>&lt;p&gt;On Wednesday 2 December three US agencies published a &lt;a href="https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities" rel="noopener noreferrer"&gt;joint statement&lt;/a&gt; about cryptography, and within hours eight companies answered with &lt;a href="https://www.anthropic.com/news/joint-statement-post-quantum-cryptography" rel="noopener noreferrer"&gt;one of their own&lt;/a&gt;, which &lt;a href="https://x.com/OpenAI/status/2128337212819357795" rel="noopener noreferrer"&gt;OpenAI's post&lt;/a&gt; alone has been seen four million times: Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle asked organisations to move to &lt;em&gt;post-quantum cryptography&lt;/em&gt;, the encryption designed to survive quantum computers, and to "accelerate the migration as soon as possible". By Thursday morning Bitcoin had lost about a tenth of its value.&lt;/p&gt;

&lt;p&gt;Reading the headlines you would think a quantum computer had been switched on somewhere, or that an AI had broken encryption. Neither happened. I read the statements, the four papers that set this off and what the cryptographers who reviewed them wrote, and the story is stranger and, I think, more interesting. The warning comes from a piece of mathematics, produced by a machine, about the &lt;em&gt;new&lt;/em&gt; locks, the ones everybody is now being told to install faster.&lt;/p&gt;

&lt;p&gt;This article explains where the worry comes from, with the mathematics kept in plain words, and then what it means for Bitcoin, which fell hardest and is, oddly, the one system those papers do not touch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was actually said
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Four things happened in seventeen days, and only the last two made the news.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fliiogcy7k30k8hv79qcz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fliiogcy7k30k8hv79qcz.png" alt="Timeline of seventeen days: on 16 November Anthropic shares its lattice results with cryptographers; on 30 November it publishes four papers and the reviewers publish their assessment; on 2 December three US agencies and eight companies ask for a faster move to post-quantum cryptography; on 3 December Bitcoin falls about 10 percent." width="799" height="241"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The mathematics was public for two days before the statements. The market reacted to the statements.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On 16 November Anthropic privately showed a group of cryptographers a set of results about &lt;em&gt;lattices&lt;/em&gt;, the mathematics underneath the new encryption standards. On 30 November it &lt;a href="https://github.com/anthropics/formal-math/tree/main/lattices" rel="noopener noreferrer"&gt;published them&lt;/a&gt;: four papers, with their proofs checked by computer in &lt;a href="https://lean-lang.org/" rel="noopener noreferrer"&gt;Lean&lt;/a&gt;, a language for writing proofs a machine can verify. The repository says the results "were discovered by an internal research Claude model". The same day the cryptographers, writing as the Cryptography Incident Review Group (CIRG), published &lt;a href="https://cirg.org/statements/1/" rel="noopener noreferrer"&gt;their assessment&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Two days later came the government statement, signed by the Office of the National Cyber Director, the National Security Agency and the Cybersecurity and Infrastructure Security Agency. It is short and names no company and no paper. It says that frontier AI models have "demonstrated the capability to solve some of the most complex and previously unsolved problems in the field of mathematics", that AI companies "have disclosed discoveries that impact the security of some cryptography currently in use", and that these advances "do not present an immediate and widespread threat to that cryptography". Then it asks industry and government to upgrade "expeditiously".&lt;/p&gt;

&lt;p&gt;The companies' statement is two sentences long. This is all of it, as OpenAI posted it:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzqoi5i63llal3aba12fi.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzqoi5i63llal3aba12fi.jpg" alt="OpenAI's post on X with the joint statement of Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle on the transition to post-quantum cryptography, 3 December 2026" width="593" height="708"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice what the stated reason is. The word "quantum" appears once, in the name of the transition the government was already running. The reason given for hurrying is that machines are now doing mathematics.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every lock is a maths problem nobody has solved
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The encryption that protects a bank transfer or a chat message rests on a problem that is easy in one direction and, as far as anyone knows, hopeless in the other.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The classic example is multiplication. Give me two prime numbers of 300 digits each and I multiply them in a blink. Give me the 600-digit product and ask for the two primes, and the best method known would take longer than the age of the universe. That gap is &lt;a href="https://en.wikipedia.org/wiki/RSA_cryptosystem" rel="noopener noreferrer"&gt;RSA&lt;/a&gt;, from 1977: the product is the public key, the primes are the private one.&lt;/p&gt;

&lt;p&gt;The other workhorse is the &lt;a href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography" rel="noopener noreferrer"&gt;elliptic curve&lt;/a&gt;. There the easy direction is "start at a point on a curve and take a secret number of steps", and the hard one is "here are the start and the end: how many steps?". It does the same job as RSA with much smaller keys, which is why it secures most web connections and every Bitcoin transaction.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqargyfgmh75rwsb8ygg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqargyfgmh75rwsb8ygg.png" alt="Two one-way streets. Left, RSA: multiplying the primes 61 and 53 gives 3233 in one step, while recovering the two primes from 3233 means searching; with primes of 300 digits the search would outlast the universe. Right, an elliptic curve: starting at a point G and hopping along the curve a secret number of times is quick, while working out the number of hops from the start and end points is the hard direction." width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The two locks in everyday use. Each is a calculation that is quick forwards and, as far as anyone knows, hopeless backwards. The curve drawn is the shape of Bitcoin's, y² = x³ + 7; the real one lives on whole numbers and looks like scattered dots.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The uncomfortable part is in the phrase "as far as anyone knows". &lt;strong&gt;Nobody has proved that factoring is hard&lt;/strong&gt;, or that counting steps on a curve is. A proof would settle &lt;a href="https://en.wikipedia.org/wiki/P_versus_NP_problem" rel="noopener noreferrer"&gt;P versus NP&lt;/a&gt;, the most famous open question in computer science, and we are nowhere near. What we have is evidence of a particular kind: very good people have attacked these problems for decades and failed.&lt;/p&gt;

&lt;p&gt;That kind of evidence can evaporate. In October I wrote about &lt;a href="https://www.javieraguilar.ai/en/blog/exponential-time-hypothesis-falls" rel="noopener noreferrer"&gt;the exponential time hypothesis&lt;/a&gt;, a 27-year-old assumption that hundreds of results were built on, and which fell twice in one day to algorithms found with AI. Cryptography lives on assumptions of exactly that sort.&lt;/p&gt;

&lt;h2&gt;
  
  
  The first crack: a quantum computer, in 1994
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For RSA and elliptic curves the bad news is thirty years old.&lt;/strong&gt; In 1994 Peter Shor found &lt;a href="https://en.wikipedia.org/wiki/Shor%27s_algorithm" rel="noopener noreferrer"&gt;an algorithm&lt;/a&gt; that solves both problems quickly on a &lt;a href="https://en.wikipedia.org/wiki/Quantum_computing" rel="noopener noreferrer"&gt;quantum computer&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The idea can be said in a paragraph. Take a number 

&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 and look at its powers, 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;a&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mpunct"&gt;,&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="minner"&gt;…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, keeping only the remainder after dividing by the number 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;N&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 you want to factor. The remainders eventually repeat, in a cycle. The length of that cycle gives away the factors of 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;N&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
. Finding the length by ordinary computation is as hard as factoring. A quantum computer can put all the powers in superposition at once and make them interfere so that the cycle length is what survives, the way a prism separates a note from noise. Counting steps on an elliptic curve hides a cycle of the same kind, so the same algorithm breaks it.&lt;/p&gt;

&lt;p&gt;The smallest example shows the whole mechanism. To factor 15, take the powers of 7: their remainders run 1, 7, 4, 13 and then start again.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8p8z8xjbnotwh8q3qtjn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8p8z8xjbnotwh8q3qtjn.png" alt="How Shor's algorithm finds a cycle. Top: the remainders of the powers of 7 divided by 15 are 1, 7, 4, 13 and then repeat, a cycle of length 4. Bottom: after quantum interference, the only outcomes with any probability are the evenly spaced ones, 0, 4, 8 and 12 out of 16, and that spacing reveals the cycle length." width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Factoring 15 the quantum way. The remainders repeat every 4 steps; interference cancels every outcome except the evenly spaced ones, and their spacing gives away the 4. Then 7² − 1 = 48 and 7² + 1 = 50 share the factors 3 and 5 with 15.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;No machine that anyone has shown can run Shor's algorithm at the sizes that matter. But a secret does not have to be read today to be lost: an adversary can record encrypted traffic now and decrypt it when the machine exists. Cryptographers call it &lt;a href="https://en.wikipedia.org/wiki/Harvest_now,_decrypt_later" rel="noopener noreferrer"&gt;harvest now, decrypt later&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So in 2016 the US standards body, NIST, opened a competition for replacements, and in August 2024 it published three: &lt;a href="https://csrc.nist.gov/pubs/fips/203/final" rel="noopener noreferrer"&gt;ML-KEM&lt;/a&gt; for agreeing on keys, and &lt;a href="https://csrc.nist.gov/pubs/fips/204/final" rel="noopener noreferrer"&gt;ML-DSA&lt;/a&gt; and &lt;a href="https://csrc.nist.gov/pubs/fips/205/final" rel="noopener noreferrer"&gt;SLH-DSA&lt;/a&gt; for signatures. The first two rest on lattices.&lt;/p&gt;
&lt;h2&gt;
  
  
  The new locks: a secret hidden under noise
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The lattice problem is school algebra with a little dirt thrown in.&lt;/strong&gt; Suppose I pick two secret numbers and give you three equations about them, working with remainders modulo 17:&lt;/p&gt;


&lt;div class="katex-element"&gt;
  &lt;span class="katex-display"&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mbin"&gt;+&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;7&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;7&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mord"&gt;5&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mbin"&gt;+&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;3&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mord"&gt;4&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mbin"&gt;+&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;9&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;6&lt;/span&gt;&lt;span class="mspace allowbreak"&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mopen"&gt;(&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;&lt;span class="mord mathrm"&gt;mod&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mord"&gt;17&lt;/span&gt;&lt;span class="mclose"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;


&lt;p&gt;You solve this as you did at fifteen and find 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;s&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;5&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
. Now I add a small error to each right-hand side, 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;+&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;−&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 or 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, and give you 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;8&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 and 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;6&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 instead. Nothing fits exactly any more. You have to find the secret that &lt;em&gt;almost&lt;/em&gt; fits. With two unknowns you can try everything. With several hundred, every method known takes a time that grows exponentially.&lt;/p&gt;

&lt;p&gt;This is &lt;a href="https://en.wikipedia.org/wiki/Learning_with_errors" rel="noopener noreferrer"&gt;learning with errors&lt;/a&gt;, introduced by Oded Regev in 2005. The geometric picture explains the name "lattice": the exact solutions form a regular grid of points in a space with hundreds of dimensions, the noisy data is a point slightly off the grid, and the task is to find the grid point nearest to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5hhwvh5uldwe1xryruq6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5hhwvh5uldwe1xryruq6.png" alt="A lattice in two dimensions: a regular grid of points, and a target point slightly off the grid. In two dimensions the nearest grid point is obvious at a glance. ML-KEM-768 hides its secret the same way in 768 dimensions, where every known method takes exponential time." width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Learning with errors as geometry. The exact solutions form a grid; the data you are given is a point just off it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Used raw, these systems need keys of hundreds of kilobytes. So the standards add structure. In place of plain numbers, each unknown is a polynomial with 256 coefficients, and the arithmetic wraps around so that 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;x&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;256&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;span class="mrel"&gt;=&lt;/span&gt;&lt;span class="mspace"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;−&lt;/span&gt;&lt;span class="mord"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
. A handful of such polynomials replaces a huge table of numbers, and a public key shrinks to about one kilobyte (&lt;a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf" rel="noopener noreferrer"&gt;1,184 bytes&lt;/a&gt; for ML-KEM-768). These are &lt;em&gt;structured&lt;/em&gt; or &lt;em&gt;module&lt;/em&gt; lattices, and they have two dials: the degree 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 of the polynomials, fixed at 256, and the number 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;k&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 of polynomials, called the rank, which is 2, 3 or 4 depending on the security level.&lt;/p&gt;

&lt;p&gt;Structure is symmetry, and symmetry is what an attacker looks for. That has always been the known price of the small keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the machine found
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The first of the four papers, &lt;a href="https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-algorithms.pdf" rel="noopener noreferrer"&gt;&lt;em&gt;Galactic quasi-polynomial quantum algorithms for integral and module lattices&lt;/em&gt;&lt;/a&gt;, gives a quantum algorithm that exploits exactly that symmetry.&lt;/strong&gt; It runs to 283 pages. For module lattices of small rank it solves the standard hard problems, including the version of learning with errors used in the standards, in &lt;em&gt;quasi-polynomial&lt;/em&gt; time: in the reviewers' words, about 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mathrm mtight"&gt;poly&lt;/span&gt;&lt;/span&gt;&lt;span class="mopen mtight"&gt;(&lt;/span&gt;&lt;span class="mord mathnormal mtight"&gt;k&lt;/span&gt;&lt;span class="mclose mtight"&gt;)&lt;/span&gt;&lt;span class="mbin mtight"&gt;⋅&lt;/span&gt;&lt;span class="mop mtight"&gt;&lt;span class="mtight"&gt;l&lt;/span&gt;&lt;span class="mtight"&gt;o&lt;/span&gt;&lt;span class="mtight"&gt;g&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace mtight"&gt;&lt;/span&gt;&lt;span class="mord mathnormal mtight"&gt;n&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 steps. Before this, the cost of every known attack grew exponentially with 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
. Like Shor's, it works by hunting for a hidden symmetry with quantum interference.&lt;/p&gt;

&lt;p&gt;That sounds like the end of lattice cryptography. It is not, and the reason is the two dials.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdssc241s2qcnel2tc50w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdssc241s2qcnel2tc50w.png" alt="The two dials of the lattice standards. Horizontally, the polynomial degree n: 256, 512, 1024, 2048. Vertically, the rank k: 2, 3, 4. The three ML-KEM parameter sets sit in a column at n equals 256 and differ only in rank. The new quantum attack gets cheap as n grows and its cost explodes as k grows, so it misses the direction in which the standards are strengthened." width="800" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The attack is fast along the dial the standards never turn. A stronger ML-KEM means a higher rank, and along the rank the cost is still exponential.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The new algorithm is cheap in one direction only. If you made a system stronger by increasing 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, it would cut through it. But the cost explodes with the rank: the machine-checked statement has 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord mathnormal"&gt;k&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;8&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 in the exponent. And the standards get stronger precisely by raising 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;k&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 and leaving 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord mathnormal"&gt;n&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 at 256. As Cloudflare &lt;a href="https://blog.cloudflare.com/pq-is-still-safe/" rel="noopener noreferrer"&gt;put it&lt;/a&gt;, along that route the algorithm "isn't even really quasi-polynomial, but exponential".&lt;/p&gt;

&lt;p&gt;The numbers are hard to picture. The paper itself says that for ML-KEM-512, the smallest parameter set, one of its subroutines would have to work on lattices of dimension greater than 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;10400&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
. The observable universe holds roughly 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;266&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 atoms. The CIRG reviewers estimate that even 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;1000&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 quantum operations "would be far below its cost". The attacks already known, themselves far out of reach, are vastly cheaper. Hence the word in the title: a &lt;a href="https://en.wikipedia.org/wiki/Galactic_algorithm" rel="noopener noreferrer"&gt;galactic algorithm&lt;/a&gt; is one that wins on paper only at sizes no computer will ever see.&lt;/p&gt;

&lt;p&gt;Three more facts keep this in proportion:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing classical changed.&lt;/strong&gt; The reviewers report no improvement in attacks by ordinary computers on any mainstream lattice system.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unstructured lattices came out stronger.&lt;/strong&gt; The attack needs the polynomial structure. For plain lattices the other three papers tighten the theoretical foundations, which the reviewers call "meaningful evidence" for their security.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The standards' authors agree.&lt;/strong&gt; IBM Research, whose cryptographers co-designed both lattice standards, &lt;a href="https://research.ibm.com/blog/anthropic-pqc-security" rel="noopener noreferrer"&gt;calls it&lt;/a&gt; "a significant advance in theoretical cryptanalysis" that does "not currently pose a practical threat to either standard".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is also the second result of this kind in five months. In July Anthropic &lt;a href="https://www.anthropic.com/research/discovering-cryptographic-weaknesses" rel="noopener noreferrer"&gt;reported&lt;/a&gt; that another of its models had found a symmetry nobody had exploited in HAWK, a candidate lattice signature scheme, cutting the expected cost of attacking its smallest version from 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;64&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
 to 
&lt;span class="katex-element"&gt;
  &lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;/span&gt;&lt;span class="katex-html"&gt;&lt;span class="base"&gt;&lt;span class="strut"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord"&gt;2&lt;/span&gt;&lt;span class="msupsub"&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist"&gt;&lt;span&gt;&lt;span class="pstrut"&gt;&lt;/span&gt;&lt;span class="sizing reset-size6 size3 mtight"&gt;&lt;span class="mord mtight"&gt;&lt;span class="mord mtight"&gt;38&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;
, in about sixty hours of work.&lt;/p&gt;

&lt;h2&gt;
  
  
  A joke that turned out to be a map
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Four days before the papers came out, a chart went round X that explains the mood better than any statement.&lt;/strong&gt; On 26 November a user called Binkg &lt;a href="https://x.com/dummerspast39/status/2126004567640789114" rel="noopener noreferrer"&gt;posted&lt;/a&gt; an "AI math discoveries by how fucked we are tier list", with the caption "These are the proofs the labs aren't publishing". It was a joke about the rumours of that week. It has been seen more than a million times, and it is a rather good map.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foyyz243yztpjytg2cp9i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foyyz243yztpjytg2cp9i.png" alt="A redrawing of a tier list that circulated on X on 26 November 2026, ranking mathematical problems by how bad it would be if AI solved them. From the top: 'We're fucked' holds factoring, elliptic curves, P equals NP, SHA-256 and AES. 'Quantum fix is broken' holds lattices, code-based cryptography, SHA-3 and ChaCha20. 'Locks nobody uses' holds pairings, isogenies and HAWK. 'Rewrite the textbooks' holds the exponential time hypothesis, matrix multiplication, Smale's ninth problem and unique games. 'One guy gets a million dollars' holds Riemann, Navier–Stokes, Yang–Mills, Hodge and Birch and Swinnerton-Dyer. 'Numberphile uploads a video' holds VP versus VNP, Collatz, Goldbach and twin primes. Marked as resolved this autumn with a machine-checked proof: the exponential time hypothesis, Riemann and Navier–Stokes. Marked as attacked without being broken: HAWK and lattices." width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The tier list posted by Binkg on X on 26 November, redrawn, with my marks for what has happened since September. The results have been moving up the chart.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Read it from the bottom. The lowest tier is the famous puzzles whose solution would change nothing outside mathematics ("Numberphile uploads a video", after &lt;a href="https://www.youtube.com/@numberphile" rel="noopener noreferrer"&gt;the YouTube channel&lt;/a&gt;). Above it, the million-dollar Millennium problems. Then the results that force textbooks to be rewritten, then the locks nobody uses, then the tier the chart calls "quantum fix is broken", and at the top the locks everything runs on.&lt;/p&gt;

&lt;p&gt;Now mark what has happened since September. I wrote about &lt;a href="https://www.javieraguilar.ai/en/blog/navier-stokes-blows-up" rel="noopener noreferrer"&gt;Navier–Stokes&lt;/a&gt; and &lt;a href="https://www.javieraguilar.ai/en/blog/riemann-hypothesis-proof" rel="noopener noreferrer"&gt;the Riemann hypothesis&lt;/a&gt;, both in the million-dollar row, and about the exponential time hypothesis, in the textbook row. HAWK, dented in July, is in "locks nobody uses". And lattices sit in "quantum fix is broken", the row the papers of 30 November reached, with an attack that is real and galactically far from breaking anything.&lt;/p&gt;

&lt;p&gt;Two things stand out. The results have been climbing, one row at a time. And the top row includes factoring and elliptic curves, the two public-key locks in everyday use, which need no new mathematics at all to fall: the algorithm has existed since 1994 and only the machine is missing.&lt;/p&gt;

&lt;h2&gt;
  
  
  So why hurry, if nothing is broken?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here is the part that looks like a contradiction: an attack appears on the new locks, and the response is to install the new locks faster.&lt;/strong&gt; I see four reasons, and they hold together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The old locks are the ones in danger.&lt;/strong&gt; A galactic attack on lattices does nothing for RSA or elliptic curves, which fall to Shor's algorithm at a tiny fraction of that cost. The reviewers say it directly: delaying "would prolong reliance on existing systems that can be broken with far fewer quantum resources".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Recorded traffic does not wait.&lt;/strong&gt; Whatever is harvested this year is protected only by the old locks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The evidence behind every lock just got weaker.&lt;/strong&gt; This is the one I find most important, and it is what the government statement actually says. "People have tried for decades and failed" is strong evidence when the people are a few hundred specialists. It is weaker when a new kind of mathematician has arrived that reads everything, does not tire, and has now produced a 283-page result in a field where a human expert might publish a handful of papers a year. The reviewers expect the attack "will be improved in the near future" and say the open question is whether improvements reach the standards. &lt;a href="https://scottaaronson.blog/?p=10405" rel="noopener noreferrer"&gt;Scott Aaronson&lt;/a&gt;, who works on quantum computing, wrote that he is "deeply uncomfortable with any cryptosystem whose security rests only on constant factors".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Changing locks takes a decade.&lt;/strong&gt; Cloudflare started in 2019 and says 73% of the human traffic it carries is now post-quantum encrypted. Most organisations have not begun to list where their keys are.&lt;/p&gt;

&lt;p&gt;That is also why the cryptographers' advice is more than "migrate". They ask adopters to choose the highest security level they can afford, to combine an old lock and a new one so that both must fail (a &lt;em&gt;hybrid&lt;/em&gt;), to build systems where a scheme can be swapped quickly, and they ask NIST to standardise more schemes built on different mathematics, "even at some cost in efficiency".&lt;/p&gt;

&lt;p&gt;I should be honest about what the public record does not explain. Cloudflare's chief executive wrote that his company had been "briefed on something" and told people to assume anything using RSA or elliptic curves was affected. Nothing published supports that for elliptic curves. Jonas Nick, co-author of Bitcoin's signature standard, &lt;a href="https://www.coindesk.com/business/2026/12/03/bitcoin-slid-on-a-cryptography-warning-that-never-said-which-systems-were-at-risk" rel="noopener noreferrer"&gt;called the evidence&lt;/a&gt; "very thin", and the developer Jameson Lopp said of the warnings: "They aren't actually saying anything concrete." I only know what is public, and what is public is the mathematics above.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bitcoin: a different lock, the same deadline
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Bitcoin fell &lt;a href="https://finance.yahoo.com/markets/crypto/articles/bitcoin-plunges-10-nsa-big-103011116.html" rel="noopener noreferrer"&gt;about 10% in a day&lt;/a&gt;, to around 53,500 dollars, with a low near 50,800, its lowest level since August 2024.&lt;/strong&gt; Ether lost about 8%.&lt;/p&gt;

&lt;p&gt;The lattice papers have nothing to do with it. Bitcoin uses no lattices: it signs transactions with elliptic curves (a curve called &lt;a href="https://en.bitcoin.it/wiki/Secp256k1" rel="noopener noreferrer"&gt;secp256k1&lt;/a&gt;) and protects addresses with the hash function SHA-256. The cryptographer Nadim Kobeissi pointed out that the result does not concern RSA and does not affect Bitcoin or Ethereum as they are deployed today.&lt;/p&gt;

&lt;p&gt;But the fall pointed at something true. Bitcoin's lock is the old kind, the kind Shor's algorithm opens, and Bitcoin is worse placed than a bank to change it, for two reasons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Its keys are public and stay public.&lt;/strong&gt; A Bitcoin address is a fingerprint (a hash) of a public key, and the key itself appears on the ledger only when the coins are spent. Anyone who reuses an address, or holds coins in the oldest formats that published the key outright, has it exposed for good. Glassnode, an analytics firm, &lt;a href="https://research.glassnode.com/measuring-bitcoins-quantum-exposed-supply/" rel="noopener noreferrer"&gt;counted them in May&lt;/a&gt;: 6.04 million BTC, 30.2% of all coins issued. By October it was 31.2%.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2u5kkzel6g9zkzzmaizd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2u5kkzel6g9zkzzmaizd.png" alt="Bitcoin supply by exposure of its public keys, Glassnode, May 2026. 9.6 percent, 1.92 million BTC, is exposed by design: the oldest outputs, bare multisig and Taproot. 20.6 percent, 4.12 million BTC, is exposed by use: reused addresses and partial spends. 69.8 percent has no key exposed while at rest." width="799" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;“Exposed by design” covers the earliest coins, which published the key outright, and Taproot. “Exposed by use” is address reuse: the key was revealed by an earlier spend. Source: Glassnode, May 2026.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nobody can change the lock for you.&lt;/strong&gt; A bank rotates its keys over a weekend. On a blockchain each owner has to move their own coins with their own key, and coins whose owners are dead, or lost the key, or are &lt;a href="https://en.wikipedia.org/wiki/Satoshi_Nakamoto" rel="noopener noreferrer"&gt;Satoshi Nakamoto&lt;/a&gt;, Bitcoin's vanished creator, cannot move at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  What cryptocurrencies would have to change
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Three things, and the hard one is not technical.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First, stop exposing keys.&lt;/strong&gt; &lt;a href="https://github.com/bitcoin/bips/blob/master/bip-0360.mediawiki" rel="noopener noreferrer"&gt;BIP-360&lt;/a&gt;, a draft proposal, adds a new kind of address that removes the path by which the newest address format (Taproot) reveals its key. It is a compatible upgrade, a &lt;em&gt;soft fork&lt;/em&gt;. Its authors are clear about its limit: it protects coins at rest, and it does not protect a transaction during the minutes between being broadcast and being confirmed, when the key is visible and the coins have not moved yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second, new signatures, and they are big.&lt;/strong&gt; A Bitcoin signature today is 64 bytes. The post-quantum ones are not.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwffd10hiys7st0y7johk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwffd10hiys7st0y7johk.png" alt="Signature sizes in bytes. A Bitcoin Schnorr signature is 64 bytes. ML-DSA-44, the smallest lattice signature in the NIST standard, is 2,420 bytes, about 38 times larger. SLH-DSA-SHA2-128s, the smallest hash-based one, is 7,856 bytes, about 123 times larger." width="799" height="291"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Sizes from NIST FIPS 204 and FIPS 205. The lattice signature is the compact post-quantum option; the one that relies only on hash functions is three times larger again.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every signature is stored by every node forever, and block space is what users bid for. Signatures forty times larger mean fewer transactions per block or bigger blocks, a fight Bitcoin has had before. There is an irony too: the compact option is the lattice family, the one whose long-term standing just took a knock, while the family that rests only on hash functions is the bulky one. Ethereum's route is to let each account choose its own signature scheme (its researchers keep &lt;a href="https://ethresear.ch/t/tasklist-for-post-quantum-eth/21296" rel="noopener noreferrer"&gt;a task list&lt;/a&gt; of everything else that has to change), and Vitalik Buterin sketched in 2024 &lt;a href="https://ethresear.ch/t/how-to-hard-fork-to-save-most-users-funds-in-a-quantum-emergency/18901" rel="noopener noreferrer"&gt;an emergency plan&lt;/a&gt;: roll back to before the theft, freeze ordinary accounts and let owners reclaim funds by proving they know the seed behind the key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Third, a deadline for the coins that never move.&lt;/strong&gt; &lt;a href="https://github.com/bitcoin/bips/blob/master/bip-0361.mediawiki" rel="noopener noreferrer"&gt;BIP-361&lt;/a&gt;, also a draft, proposes one: about three years after activation the network would stop accepting payments to the vulnerable address types, and two years after that it would stop accepting the old signatures at all. Coins not migrated by then become unspendable unless their owner can prove ownership another way, and for the oldest format no such way is known. The alternative is to leave those coins, roughly a million of them attributed to Satoshi, for whoever builds the machine first. Freezing other people's money or leaving it to a thief: that is a question about what Bitcoin is, and no algorithm answers it. Adam Back, one of its earliest contributors, argued in April for optional upgrades over a forced freeze.&lt;/p&gt;

&lt;p&gt;None of these proposals has an activation date.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to take from it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing was broken this week.&lt;/strong&gt; The new attack on lattices is real mathematics and, at the sizes in use, galactically out of reach. The statements say so themselves.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The warning is about the old locks and about time.&lt;/strong&gt; RSA and elliptic curves are the ones a quantum computer opens cheaply, traffic is being recorded now, and replacing cryptography takes years.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What changed is who is doing the mathematics.&lt;/strong&gt; Every lock is a conjecture supported by failed attempts, and there is a new and tireless source of attempts. I would expect more results like this one, and the sensible response is the one the cryptographers give: hybrids, the highest security level, and systems built so a scheme can be replaced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bitcoin's problem is governance.&lt;/strong&gt; The mathematics of the fix exists. The decision about three in ten coins with exposed keys, and about the ones nobody will ever move, does not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If you run systems,&lt;/strong&gt; the useful question is how long it would take you to find and replace every RSA and elliptic-curve key you depend on. For most organisations nobody knows the answer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For anyone reading this on a phone and wondering whether to do something tonight: no. Your browser has probably been using a post-quantum key exchange for a couple of years without telling you.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Sources: the &lt;a href="https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities" rel="noopener noreferrer"&gt;joint statement of ONCD, NSA and CISA&lt;/a&gt; and the companies' statement as published by &lt;a href="https://www.anthropic.com/news/joint-statement-post-quantum-cryptography" rel="noopener noreferrer"&gt;Anthropic&lt;/a&gt; and &lt;a href="https://openai.com/index/joint-statement-post-quantum-cryptography/" rel="noopener noreferrer"&gt;OpenAI&lt;/a&gt;; Anthropic's &lt;a href="https://github.com/anthropics/formal-math/tree/main/lattices" rel="noopener noreferrer"&gt;four lattice papers and their Lean formalisation&lt;/a&gt;; the &lt;a href="https://cirg.org/statements/1/" rel="noopener noreferrer"&gt;CIRG assessment&lt;/a&gt;; &lt;a href="https://research.ibm.com/blog/anthropic-pqc-security" rel="noopener noreferrer"&gt;IBM Research&lt;/a&gt;, &lt;a href="https://blog.cloudflare.com/pq-is-still-safe/" rel="noopener noreferrer"&gt;Cloudflare&lt;/a&gt; and &lt;a href="https://scottaaronson.blog/?p=10405" rel="noopener noreferrer"&gt;Scott Aaronson&lt;/a&gt; on the result; NIST's &lt;a href="https://csrc.nist.gov/pubs/fips/203/final" rel="noopener noreferrer"&gt;FIPS 203&lt;/a&gt;, &lt;a href="https://csrc.nist.gov/pubs/fips/204/final" rel="noopener noreferrer"&gt;204&lt;/a&gt; and &lt;a href="https://csrc.nist.gov/pubs/fips/205/final" rel="noopener noreferrer"&gt;205&lt;/a&gt;; Glassnode's &lt;a href="https://research.glassnode.com/measuring-bitcoins-quantum-exposed-supply/" rel="noopener noreferrer"&gt;measurement of exposed supply&lt;/a&gt;; &lt;a href="https://github.com/bitcoin/bips/blob/master/bip-0360.mediawiki" rel="noopener noreferrer"&gt;BIP-360&lt;/a&gt; and &lt;a href="https://github.com/bitcoin/bips/blob/master/bip-0361.mediawiki" rel="noopener noreferrer"&gt;BIP-361&lt;/a&gt;. Prices are those reported by Unchained and CoinDesk on 3 December 2026.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/post-quantum-warning-mathematics" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mathematics</category>
      <category>cryptography</category>
      <category>quantumcomputing</category>
    </item>
    <item>
      <title>Why Prompt Caching Only Keeps the Beginning</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Thu, 03 Dec 2026 20:11:35 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/why-prompt-caching-only-keeps-the-beginning-3a19</link>
      <guid>https://dev.to/javieraguilarai/why-prompt-caching-only-keeps-the-beginning-3a19</guid>
      <description>&lt;p&gt;If you call language models through an API, prompt caching is the biggest discount on your bill. Send the same long system prompt again within a few minutes and the provider charges a fraction of the price for it: a tenth on most Claude and OpenAI models. In &lt;a href="https://www.javieraguilar.ai/en/blog/when-the-fact-stops-being-true" rel="noopener noreferrer"&gt;When the Fact Stops Being True&lt;/a&gt; I made an agent's instructions three and a half times longer and its bill went down 41 %, because the longer instructions crossed the minimum size for caching. The same content with a block that changed every step moved to the front cost 5.2 times more.&lt;/p&gt;

&lt;p&gt;That second number is the rule everybody runs into: &lt;strong&gt;only an identical beginning is reused&lt;/strong&gt;. Change one token near the top and everything after it is read and billed again, even if it is the same text you sent a minute ago. It looks arbitrary. A retrieved document is the same document whether it comes first or fifth, so why can't its cached copy be reused wherever it lands? I read what the research says and then measured it on an open model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The short version&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Every API caches only an identical prefix&lt;/strong&gt;, and changing one token invalidates everything after it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It isn't arbitrary.&lt;/strong&gt; Moving a cached passage to another position can be corrected exactly. What can't be corrected is that every cached token already summarises the text it read before it, and a passage cached on its own never read what now sits in front of it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;That costs accuracy, by an amount that depends on the task.&lt;/strong&gt; In my tests: nothing measurable when the passage doesn't need what comes before it, a quarter to two fifths of the score on questions that combine passages, and most of it on few-shot prompts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For API users the rule stays:&lt;/strong&gt; what never changes goes first; timestamps, IDs and the question go last.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Every API caches the prefix, and only the prefix
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;I checked the current documentation of seven providers: all of them reuse only an identical prefix.&lt;/strong&gt; Anthropic, OpenAI, Google Gemini, AWS Bedrock, DeepSeek, Mistral and xAI differ in the details (the minimum size, how long an entry lives, whether writing to the cache costs extra), but none of them reuses anything that is not at the start.&lt;/p&gt;

&lt;p&gt;The way they do it explains my 5.2x. The prompt is cut into blocks, and each block is stored under a hash of its own content &lt;em&gt;plus the hash of the block before it&lt;/em&gt;. &lt;a href="https://docs.vllm.ai/en/latest/design/prefix_caching.html" rel="noopener noreferrer"&gt;vLLM&lt;/a&gt;, the open-source serving engine, documents exactly this, and &lt;a href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching" rel="noopener noreferrer"&gt;Anthropic&lt;/a&gt; describes its hash as cumulative. Change one token in block 2 and block 2 gets a new hash; block 3 includes that hash, so it misses too, and so does everything after it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju42ca9910ovcuc57ayp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fju42ca9910ovcuc57ayp.png" alt="A prompt cut into five blocks, each hashed together with the hash of the block before it: changing one token in block 2 changes the hash of block 2 and of every block after it, so only block 1 is read from the cache." width="800" height="298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Each block's key includes the key of the block before it, so one changed token invalidates every block after it, however identical their text.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion of this part: the chain of hashes is why order matters.&lt;/strong&gt; But the chain is an engineering choice, and engineering choices can be changed. The real question is whether a cached block that now sits after &lt;em&gt;different&lt;/em&gt; text would still be correct, and for that we have to look at what is actually cached.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is cached, and the two things that break when you move it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is cached is not your text, but the notes the model took while reading it.&lt;/strong&gt; As a model reads a prompt, it computes for every token, at every layer, two vectors: a &lt;em&gt;key&lt;/em&gt;, which later tokens use to decide whether this token is relevant to them, and a &lt;em&gt;value&lt;/em&gt;, the information they take from it if it is. Together they are the &lt;a href="https://huggingface.co/docs/transformers/en/kv_cache" rel="noopener noreferrer"&gt;KV cache&lt;/a&gt;, and reusing them is what prompt caching saves. Two things go into those notes besides the token itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The first is the token's position, and it can be corrected exactly.&lt;/strong&gt; Most open models mark position with &lt;a href="https://arxiv.org/abs/2104.09864" rel="noopener noreferrer"&gt;RoPE&lt;/a&gt;: each key is split into pairs of numbers, and each pair is turned like a clock hand by an angle that grows with the token's position, some pairs fast, some slow. To move a cached key from position 0 to position 1,000 you just turn every pair further, by the angle 1,000 positions would have added. On the model I used, encoding a passage directly at position 4,000 and encoding it at 0 and turning it gives the same keys, down to floating-point noise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The second is what the token read, and that cannot.&lt;/strong&gt; A token's notes are computed by &lt;a href="https://jalammar.github.io/illustrated-transformer/" rel="noopener noreferrer"&gt;attending&lt;/a&gt; to every token before it: "Paris" after "The capital of France is" carries something of that sentence. A passage cached on its own never read the text that now sits in front of it, so its notes describe a reading that never happened in this prompt. No turning adds that; the only exact fix is to recompute the notes, which is the work caching was meant to save.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu06d0m7619ph7qwzrl7g.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu06d0m7619ph7qwzrl7g.gif" alt="Animation. Left: a key drawn as an arrow on a dial turns as the token moves from position 0 to position 1,000, and a second, faster dial turns too; moving a cached key to a new position is just turning it further, which is exact. Right: the word Paris read after 'The capital of France is' has attention lines to the earlier words, while the same word cached on its own has none; no turning adds what it never read." width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Position is a rotation, so a cached key can be moved anywhere exactly. What a token read before it is baked into its notes, and no rotation puts it there.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Both effects are visible inside the model. The next figure compares, layer by layer, the notes of passages cached separately with the ones a full computation of the same prompt produces. At the first layer nothing has been read yet, so once the position is fixed the cached notes are exact. From the second layer on, every layer has read the one below, and the cached notes drift.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffyxk6458gd62x0fflzo6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffyxk6458gd62x0fflzo6.png" alt="Mean cosine distance between reused and true keys and values per layer on HotpotQA: fixing the position brings the keys to zero at layer 0, but from layer 1 on the reused keys and values drift from the true ones, and the values are identical with or without the position fix." width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fixing the position makes the first layer exact and leaves the rest drifting from what the model computes in context. The values are the same with or without the position fix, because rotation only touches keys. Without the fix the keys are far off, and yet, as the experiments below show, accuracy was the same either way.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion of this part: the prefix is the only reuse in which every cached note is exactly what the model would compute.&lt;/strong&gt; Everything else is an approximation, and the question becomes how much accuracy it costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What research has tried
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Several methods reuse cached passages out of position and patch the damage, all of them approximately.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://arxiv.org/abs/2405.16444" rel="noopener noreferrer"&gt;CacheBlend&lt;/a&gt; (EuroSys 2025) turns the keys and recomputes the ~15 % of tokens whose notes drift most; it reports the first token arriving 2.2 to 3.3 times sooner than computing everything. It is the one method available in open-source serving, through &lt;a href="https://docs.lmcache.ai/" rel="noopener noreferrer"&gt;LMCache&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://arxiv.org/abs/2410.15332" rel="noopener noreferrer"&gt;EPIC&lt;/a&gt; (ICML 2025) recomputes only the first few tokens of each passage, which hog attention when a passage is cached as if it started the prompt.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://arxiv.org/abs/2502.05431" rel="noopener noreferrer"&gt;APE&lt;/a&gt; (ICLR 2025) puts a shared prefix in front of every passage and rescales attention. It reports that reusing cached passages without any fix loses 49 % of the accuracy on &lt;a href="https://en.wikipedia.org/wiki/Few-shot_learning" rel="noopener noreferrer"&gt;few-shot&lt;/a&gt; tasks, prompts that teach the task with worked examples.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://arxiv.org/abs/2409.15355" rel="noopener noreferrer"&gt;Block-Attention&lt;/a&gt; (ICLR 2025) and &lt;a href="https://arxiv.org/abs/2502.16002" rel="noopener noreferrer"&gt;KVLink&lt;/a&gt; retrain the model so that passages cached separately work together. KVLink's starting point is the clearest picture of the problem: on Llama-3.1-8B, answering &lt;a href="https://github.com/google-research-datasets/natural-questions" rel="noopener noreferrer"&gt;Natural Questions&lt;/a&gt; from ten retrieved documents, the share of correct answers drops from 71.3 % to 28.9 % when the documents are cached separately and pasted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion of this part: none of this is offered by an API, because the output is no longer exactly what you would get without the cache.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The experiment
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;I wanted to see the gap on one model myself, and to separate the part position explains from the part reading explains.&lt;/strong&gt; I used &lt;a href="https://huggingface.co/Qwen/Qwen2.5-3B-Instruct" rel="noopener noreferrer"&gt;Qwen2.5-3B-Instruct&lt;/a&gt;, a small open model that runs on two of &lt;a href="https://www.kaggle.com/docs/notebooks" rel="noopener noreferrer"&gt;Kaggle&lt;/a&gt;'s free GPUs, and wrote the reuse from scratch on &lt;a href="https://huggingface.co/docs/transformers/index" rel="noopener noreferrer"&gt;Hugging Face Transformers&lt;/a&gt;. Before any run I checked that it is exact where it should be: a cached passage reused in its original position gives exactly the same output as computing it. The code, the tests and the raw results are &lt;a href="https://github.com/JaviMaligno/kv-cache-beyond-prefix" rel="noopener noreferrer"&gt;on GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Three experiments, each with one question:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Test&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;A&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;How much does pasting cached passages cost, and what recovers it?&lt;/td&gt;
&lt;td&gt;Questions over ~10 Wikipedia passages, each cached separately&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;B1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Does it matter &lt;em&gt;what&lt;/em&gt; a passage was moved behind?&lt;/td&gt;
&lt;td&gt;The same passage placed first, after the passage it depends on, or after unrelated ones&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;B2&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;What about examples in a few-shot prompt?&lt;/td&gt;
&lt;td&gt;16 or 32 worked examples, each cached separately&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  A: fixing the position recovers nothing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Question: when passages are cached separately and pasted, how much is lost, and which fix brings it back?&lt;/strong&gt; The test uses 200 questions from &lt;a href="https://hotpotqa.github.io/" rel="noopener noreferrer"&gt;HotpotQA&lt;/a&gt; and 200 from &lt;a href="https://github.com/Alab-NII/2wikimultihop" rel="noopener noreferrer"&gt;2WikiMultihopQA&lt;/a&gt;, two benchmarks of "multi-hop" questions whose answer needs facts from two of about ten Wikipedia passages (around 5,500 tokens of context). The score is &lt;a href="https://en.wikipedia.org/wiki/F-score" rel="noopener noreferrer"&gt;F1&lt;/a&gt;, the word overlap between the model's answer and the correct one, from 0 to 1.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer: pasting cost 0.20 F1 on HotpotQA (0.50 → 0.30) and 0.10 on 2WikiMultihopQA (0.39 → 0.29), and fixing the position did not change it.&lt;/strong&gt; The model gave the same answer as the full computation on only 36 % and 20 % of the questions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkg4qdqi99rdqpyxlznum.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkg4qdqi99rdqpyxlznum.png" alt="F1 on multi-hop questions when the passages are cached separately and pasted together: pasting with the position fixed loses 0.20 F1 on HotpotQA and 0.10 on 2WikiMultihopQA; recomputing the 15 percent of tokens that drift most recovers about half and four fifths of that gap." width="800" height="351"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fixing the position recovers nothing; patching the first tokens of each passage (EPIC-lite) or a shared prefix (APE-lite) barely helps. Recomputing the 15 % of tokens whose notes drift most (CacheBlend-lite) recovers about half of the gap on HotpotQA and four fifths on 2WikiMultihopQA.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What helps is recomputing tokens, chosen by how far their notes drifted: with 15 % of the context recomputed, F1 comes back to 0.41 and 0.37. That is a real saving over computing everything, but it is not free, and it does not close the gap.&lt;/p&gt;

&lt;p&gt;The obvious objection is that a 3B model is weak, and its scores are indeed low. But the comparison is paired: same model, same questions, same tokens, only the cache differs. The drop is the cost of the reuse, and the published results on larger models point the same way.&lt;/p&gt;

&lt;h2&gt;
  
  
  B1: what a passage sits behind matters a little
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Question: does a cached passage lose more when what now precedes it is text it should have read?&lt;/strong&gt; The passage with the answer is cached once, then placed first, after the passage it depends on (the one that names who or what the question is about), or after unrelated passages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer: a little, and only as a trend.&lt;/strong&gt; Placed first, it lost nothing. After the passage it depends on, or a related one, it lost 0.05 to 0.07 F1; unrelated passages in between changed nothing. The difference is not large enough to survive the correction for the number of comparisons I made, so I read it as the direction the mechanism predicts, not as a result.&lt;/p&gt;

&lt;h2&gt;
  
  
  B2: few-shot examples are where it breaks
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Question: what happens when the cached pieces are the worked examples of a few-shot prompt?&lt;/strong&gt; The test is &lt;a href="https://cogcomp.seas.upenn.edu/Data/QA/QC/" rel="noopener noreferrer"&gt;TREC&lt;/a&gt;, classifying questions into six types ("is this asking for a number, a place, a person…"), with 16 or 32 examples in the prompt, each cached on its own, in three different orders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answer: accuracy collapses, from 0.80 to 0.36 with 16 examples and from 0.86 to 0.24 with 32, and the model stops answering in the format the examples teach.&lt;/strong&gt; What brings it back is giving every example the same start: caching each one after the task instruction keeps 0.75 and 0.73.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fohgmhu88ahxkvnwv75df.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fohgmhu88ahxkvnwv75df.png" alt="Accuracy on TREC question classification with 16 and 32 examples cached one by one: pasting them drops accuracy from 0.80 to 0.36 and from 0.86 to 0.24, while caching each example after the task instruction keeps 0.75 and 0.73." width="800" height="411"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Pasting separately cached examples loses most of the accuracy, more with more examples; CacheBlend-lite, which helped on questions, recovers little. Caching each example after the same task instruction keeps most of it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Few-shot examples are written to be read as a sequence: each one says "here is another like the last". An example cached alone never saw the others, and loses exactly that.&lt;/p&gt;

&lt;h2&gt;
  
  
  I tried to go beyond the prefix
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;With the cause in hand, I tried six ideas for reusing more than the prefix. Under the criteria I had fixed in advance, only one gave a usable gain, and only inside a boundary.&lt;/strong&gt; All of it is one model, Qwen2.5-3B-Instruct, in half precision (fp16) and always taking the most likely token. The full tables and the caveats are in &lt;a href="https://github.com/JaviMaligno/kv-cache-beyond-prefix/blob/new-methods/RESULTS.md" rel="noopener noreferrer"&gt;the repo's results&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The idea that held is reusing the old reading when a block in the middle changes.&lt;/strong&gt; It is the real API case: instructions, a header with the date and a request ID, documents, question. The header changes on every call, and today everything behind it is recomputed. I kept the documents' notes as the previous call had computed them, when they read the old header, and recomputed only the new header.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When the question asks for the value that changed, the reuse gets it right.&lt;/strong&gt; It gave the new value in all 199 cases where the full computation gives it, and never the old one. A header that has nothing to do with the question changed nothing either (F1 0.450 against 0.451), but a date and an ID barely matter to those questions anyway.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The bigger and the earlier the edit, the more answers move.&lt;/strong&gt; I replaced a block of prose of about 30, 200 or 800 tokens, on 84 questions. Placed before all the documents, the answer stayed the same text as the full computation in 86 % of the questions at 30 tokens and in 79 % at 800. Placed in the middle of them, in 98 % and 87 %. The F1 differences are small, the largest −0.044 [−0.093, −0.001] at 800 tokens in front, but with 84 questions I cannot call any of them equivalent. Part of that movement is not the cache: sending the entire old prompt, old block included, kept the same text in 79 % to 95 % of the questions across the six cases, so the replaced text itself matters to these answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It is much faster, in research code.&lt;/strong&gt; Rebuilding the context took 3.2 to 4.2 seconds in full, and 0.05 to 0.44 reusing the old reading. Today's exact prefix reuse took about 2 seconds when the edit is in the middle, and as long as the full computation when it is in front. These are times of my code on a T4 GPU, not a serving number.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It breaks when later text depends on the block.&lt;/strong&gt; The block was a line that defines a code name the documents use, or that says which of the two currencies on an invoice counts. With the old reading reused, the answer that went with the old line came out in 180 of 189 cases. Recomputing the 15 % of tokens that drift most, the fix that helped in experiment A, still left 158.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It repeated on 300 fresh cases, and in one of the two I found where the old answer lives.&lt;/strong&gt; The old answer came out in 97 of 97 cases for the code name and in 60 of 64 for the currency. In the currency case, recomputing only the sentences that hold the two amounts, about 2 % of the reused tokens, left the old answer in 1 of 64. Recomputing the same number of tokens elsewhere left 60 of 64: the old choice lives in the notes of those sentences. In the code-name case the same targeted repair removed only 6 of 97, so there I did not find it. And when the edit removes the old value from the text, a name replaced by another, the old name came out in 0 of 98.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The reuse itself is already published; what I add is the boundary.&lt;/strong&gt; &lt;a href="https://arxiv.org/abs/2407.03157" rel="noopener noreferrer"&gt;PIE&lt;/a&gt; corrects the positions of the cached keys after an edit in the middle of a code file, and &lt;a href="https://arxiv.org/abs/2609.26219" rel="noopener noreferrer"&gt;PatchKV&lt;/a&gt; repairs the cache behind an edited block of the prompt. My part is where reusing the cache as it is stops being safe on this model, and that in one case the old answer sat in about 2 % of the tokens.&lt;/p&gt;

&lt;p&gt;The other five ideas:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What I tried&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Recomputing the upper layers of every token, instead of some tokens at every layer&lt;/td&gt;
&lt;td&gt;At about the same cost in token-layer work (not measured time), F1 0.286 against 0.414 for recomputing 15 % of the tokens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Storing one correction per pair of passages and combining them&lt;/td&gt;
&lt;td&gt;Added up, F1 0.001 against 0.507 for the full computation. Averaged, the cache got closer to the true one, but F1 did not clearly move&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Caching each passage after a generic filler paragraph, so that it has read something&lt;/td&gt;
&lt;td&gt;Did not show a benefit: +0.019 F1 [−0.023, +0.060]&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Letting each token attend only to its strongest links, with a proof of which rows an edit leaves untouched&lt;/td&gt;
&lt;td&gt;1–3 % of the work behind the edit survives&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rebuilding the non-attention part of each layer (the MLP) from a few neurons&lt;/td&gt;
&lt;td&gt;In a simplified version of the idea, F1 fell from 0.547 to about 0.07&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Conclusion of this part: in these tests, what decided was what each cached piece had read, and whether that was still what sat in front of it.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What this means if you call models through an API
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The prefix rule is not a limitation the providers forgot to remove. It is the only reuse that gives you the same output; everything beyond it trades accuracy for speed, by an amount that depends on how much each piece needs to know what came before it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So the practical rules stay what the documentation says, and now they have a reason:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What never changes goes first&lt;/strong&gt;: instructions, tool definitions, reference documents. Timestamps, request IDs, the user's question and anything that changes per call go last. One changing block in front, as in my agent, invalidates everything behind it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freeze the tool definitions and serialise them the same way every time.&lt;/strong&gt; Some languages order JSON keys randomly, which breaks the cache without changing a word.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Append, don't rewrite.&lt;/strong&gt; Editing or summarising earlier turns resets the reuse from that point on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check that you are above the minimum&lt;/strong&gt; (4,096 tokens on Claude Haiku 4.5, 1,024 on OpenAI's current models) in the usage fields (&lt;code&gt;cache_read_input_tokens&lt;/code&gt;, &lt;code&gt;cached_tokens&lt;/code&gt;). Below it there is no error, just no discount.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you serve your own models, reuse beyond the prefix exists today, CacheBlend in LMCache. Measure it on your own task before turning it on: in this experiment the same method recovered four fifths of the gap on one dataset and little of it on few-shot classification.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Code, validation tests, raw results and the analysis: &lt;a href="https://github.com/JaviMaligno/kv-cache-beyond-prefix" rel="noopener noreferrer"&gt;github.com/JaviMaligno/kv-cache-beyond-prefix&lt;/a&gt;. One model (Qwen2.5-3B-Instruct), contexts up to about 6,000 tokens, simplified re-implementations of EPIC, APE and CacheBlend; the cost is reported as the share of tokens recomputed, not as a measured speed-up.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/why-only-the-prefix-is-cached" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>promptcaching</category>
      <category>inference</category>
    </item>
    <item>
      <title>No Benchmaxing Found, and the Vibes Still Count</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Wed, 02 Dec 2026 05:48:34 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/no-benchmaxing-found-and-the-vibes-still-count-3cni</link>
      <guid>https://dev.to/javieraguilarai/no-benchmaxing-found-and-the-vibes-still-count-3cni</guid>
      <description>&lt;p&gt;&lt;a href="https://www.javieraguilar.ai/en/blog/benchmaxing" rel="noopener noreferrer"&gt;The benchmaxing article&lt;/a&gt; ended with two loose ends. The first: whether any of these models is benchmaxed needs a test that compares each model's score on public benchmark items with its score on fresh, equivalent variants. The second: my suspicion about Opus 5 never lived in bounded answers, but in managing work through agents, and none of my probes measured that.&lt;/p&gt;

&lt;p&gt;I ran both. Neither found anything. Seven models, the same harness, and no model that drops on unseen variants or fails at delegating to its own subagents. That is a real result, and I report it as one. But while I was reading the tables I kept coming back to what these tests can and cannot say, and the answer is less than a clean "no" suggests.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test the first article asked for
&lt;/h2&gt;

&lt;p&gt;The idea comes from &lt;a href="https://arxiv.org/abs/2405.00332" rel="noopener noreferrer"&gt;GSM1k&lt;/a&gt;: if a model has seen a benchmark, or something very close to it, it should do worse on new problems of the same kind than on the published ones. I built it with pairs. Each public item gets a variant that uses the same method but has different numbers and a different answer. Every variant was checked twice before it entered the set: a script that solves it independently, and a blind solve by a Claude model that did not see the original. Variants that failed either check were dropped.&lt;/p&gt;

&lt;p&gt;What I measure is not each model's drop alone, because some variants may simply be harder. It is the &lt;strong&gt;excess drop&lt;/strong&gt;: the model's drop minus the average drop of the other six. A model that has memorized the public items should lose more than the cohort when they are swapped out. The analysis, the threshold and the correction for testing seven models at once were written down before the runs: a model shows a signal only if its excess drop is positive and survives a Holm correction at 5%.&lt;/p&gt;

&lt;p&gt;The first bank had 120 pairs from AIME 2025 and level-5 MATH-500, two runs per item, all seven models through Claude Code. The models were Opus 5, Fable 5, Kimi K3.1 Pro, Gemini 4 Argon and three open-weight models: DeepSeek V4 Pro, Qwen3.8 2.4T and GLM 5.3.&lt;/p&gt;

&lt;p&gt;No model met the criterion. The problem was that most of them barely had room to drop: five of the seven scored between 96% and 100% on both versions, and Gemini solved every run of every item. A model at 100% cannot show a familiarity drop however familiar it is.&lt;/p&gt;

&lt;p&gt;So I built a harder bank: 91 pairs from HMMT February 2024 and 2025 and CMIMC 2025, recent olympiad problems where the frontier models still fail. One run per item this time, on cost.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fno-benchmaxing-found-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fno-benchmaxing-found-fig-1.png" alt="Excess drop on unseen variants for seven models in two banks: no 95% interval lies on the side of a familiarity signal." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Excess drop per model, with its 95% bootstrap interval. No interval lies on the “worse on variants” side; the only one that misses zero, GLM's on bank 1, sits on the other side. On the hard bank the intervals are wide: drops of 12–15 points cannot be ruled out for some models.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Same answer. Opus, Fable and Kimi lose a few points more than the cohort on the hard bank, Gemini, DeepSeek, Qwen and GLM lose fewer or none, and no difference survives the correction. Gemini, the model whose scores attract the most suspicion, is again the most accurate: 97.8% on the originals and 98.9% on the variants.&lt;/p&gt;

&lt;p&gt;Two details are worth keeping, because they are about behaviour rather than scores. On hard items Opus sometimes wrote calls to tools it did not have in that harness, occasionally with invented outputs, and stopped without an answer: 34 of its 182 runs ended that way. Most of its raw drop comes from that, not from wrong answers. And the only trace of familiarity I saw happened outside the measurement: while checking one AIME variant, the blind solver answered with the original's answer, reading the variant's new base as the one in the public problem. The variant was rejected by rule. It is one case, not data, but it is exactly the mechanism the test looks for.&lt;/p&gt;

&lt;p&gt;What "no signal" means is narrow. For most models the first bank rules out drops larger than three or four points on these items. It does not show that no model was tuned on public benchmarks. It shows that swapping these items for equivalents does not cost them accuracy, and for a model as close to the ceiling as Gemini, even the hard bank leaves little room to see anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where my suspicion lives: subagents
&lt;/h2&gt;

&lt;p&gt;The second test aimed at the work I actually described: a session with several tasks in flight, subagents to launch and wait for, and results to fold back into one deliverable. I built a scenario a single model cannot comfortably do alone: a vendor renewal review with fifteen vendor folders (contracts, invoices billed line by line, incident logs, some later documents), about 400K of material in total.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fno-benchmaxing-found-fig-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fno-benchmaxing-found-fig-2.png" alt="The conductor reads the shared rules and delegates fifteen vendor folders to subagents; the rules that decide the answer live outside the folders, so the conductor has to pass them on." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The vendors-hard scenario. Several of the rules that decide the answer sit outside the vendor folders, so a subagent that only reads its folder gets them wrong unless the conductor passes them on, or checks what comes back.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The task asks for the cost of each vendor in GBP, the P1 incidents that count for its SLA, whether it breaches, and the three cheapest vendors that can be renewed. The traps are built so that delegation can fail. Costs in euros and dollars have to be converted at each month's rate, kept in a finance file no vendor folder contains. One amendment cuts a price and a later one cancels it. Four folders contain a draft summary with wrong figures. And a corporate notice says one vendor has been acquired by a competitor and cannot be renewed; without that notice it would be in the top three.&lt;/p&gt;

&lt;p&gt;Each model ran as its own conductor with its own subagents, through Claude Code, with read-only tools. There was also a smaller five-vendor scenario first. The results, one run per model:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;5 vendors&lt;/th&gt;
&lt;th&gt;15 vendors&lt;/th&gt;
&lt;th&gt;Traps&lt;/th&gt;
&lt;th&gt;In parallel&lt;/th&gt;
&lt;th&gt;Re-reads&lt;/th&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Opus 5&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;40 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fable 5&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;10.5 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kimi K3.1 Pro&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;42&lt;/td&gt;
&lt;td&gt;23 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 4 Argon&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;35&lt;/td&gt;
&lt;td&gt;40 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeepSeek V4 Pro&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;13 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GLM 5.3&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;45/45&lt;/td&gt;
&lt;td&gt;7/7&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;31&lt;/td&gt;
&lt;td&gt;8.5 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qwen3.8 2.4T&lt;/td&gt;
&lt;td&gt;15/15&lt;/td&gt;
&lt;td&gt;timeout&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;&amp;gt; 60 min&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Six of seven perfect, on every field and every trap, with the right top three. Qwen did not fail on judgment: four of its five subagent groups finished, and in the fifth a nested subagent was still adding up some 300 invoice lines by hand when the hour ran out. One run, so I do not know whether it repeats.&lt;/p&gt;

&lt;p&gt;What differed was the process. GLM and Kimi launched fifteen subagents at once, one per folder; the rest grouped the folders in fives. Opus and Fable barely re-read anything themselves to check their subagents, seven or eight reads, while the others went back to the files 26 to 42 times. Wall time went from eight and a half minutes to forty. With one run each, these are observations, not a ranking. And none of them changed the answer.&lt;/p&gt;

&lt;p&gt;On accuracy the scenario is at ceiling, and I did not run three more rounds per model to confirm it. Three times as many tables at 45/45 would not change the conclusion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vibes beat benchmarks, mine included
&lt;/h2&gt;

&lt;p&gt;Here is the part that the tables do not say on their own. These two tests are benchmarks too. The variants test asks whether a score on one exam transfers to an equivalent exam. That is a question about exams. The agentic scenario was my attempt to get closer to where my perception lives, and it still has everything that makes something an exam: a fully specified task, the rules written in a file, a JSON at the end and a key to grade it against. The moment I write the key, I have built a test that models can pass.&lt;/p&gt;

&lt;p&gt;Real work does not come with a key. The task is badly stated, or stated well about the wrong thing. Part of the work is discovering what to ask. Context arrives in fragments, someone changes their mind halfway, and nobody says which of the documents matters. What I notice when I work with a model for hours is how it reads what I meant, how many times I have to correct it, whether it notices that the plan no longer fits, and how it feels to hand it something half-formed. None of that fits a scorer, and finding no benchmaxing says nothing about it.&lt;/p&gt;

&lt;p&gt;That is the sense in which I still think vibes beat benchmarks. Not because impressions are reliable: they are biased, anecdotal and easy to fool, and &lt;a href="https://www.javieraguilar.ai/en/blog/benchmaxing" rel="noopener noreferrer"&gt;the first article&lt;/a&gt; was in part an exercise in letting the tests contradict them. But a sustained impression, built over many real sessions, carries information no bounded test can carry, because a bounded test removes exactly the part that is hard to bound. A test can rule things out: here, that these models lose accuracy on unseen variants of these problems, or that they cannot delegate a well-specified review. It cannot tell me which of them I want next to me on a Tuesday afternoon with three things on fire.&lt;/p&gt;

&lt;p&gt;So I am leaving the suspicion where it was, with one adjustment. If Opus 5 is worse at the work I care about, it is not because it memorized the exam, at least not on anything I could measure. It is more likely something about how it handles the parts of the work that no exam contains. Measuring that would need real sessions, real users and a measure of the corrections they make, not another key.&lt;/p&gt;

&lt;p&gt;That is where I would like to take this next, perhaps as a third part: the same seven models on tasks closer to real work, open-ended, underspecified and long, where the interesting measure is not whether they reach an answer but how much steering it takes to get them there.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Method: everything ran through Claude Code headless at &lt;code&gt;high&lt;/code&gt; effort. Opus and Fable used the Max subscription; the other five used OpenRouter's Anthropic-compatible endpoint. I did not verify that the effort setting reaches every provider equivalently. The variant banks: preregistered criterion (positive excess drop, Holm p &amp;lt; 0.05), item-level bootstrap intervals, a sign-flip permutation test, and a sensitivity analysis excluding items where some run gave no boxed answer, which changed nothing. Runs without a boxed answer count as wrong. The variants and the blind check were written by a Claude model, which may make them slightly easier or closer to Claude; the cohort comparison only absorbs a uniform shift. APEX 2025 was dropped from the hard bank on cost. In the agentic scenarios Bash was not available, so sums over CSVs had to be done by reasoning; some first pilot runs were invalid because of the harness and were re-run, and the invalid runs are kept apart. Total spend on OpenRouter: about 245 USD. Prompts, items, answers, keys and scripts are in the &lt;a href="https://github.com/JaviMaligno/benchmaxing-probes" rel="noopener noreferrer"&gt;evidence repository&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/no-benchmaxing-found" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>evaluation</category>
      <category>benchmarks</category>
      <category>agents</category>
    </item>
    <item>
      <title>There Is No Best Model, Only a Frontier</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Sun, 29 Nov 2026 16:57:27 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/there-is-no-best-model-only-a-frontier-e89</link>
      <guid>https://dev.to/javieraguilarai/there-is-no-best-model-only-a-frontier-e89</guid>
      <description>&lt;p&gt;A few weeks ago I tried a newer model in the &lt;a href="https://www.javieraguilar.ai/en/projects/compliance-classifier" rel="noopener noreferrer"&gt;Industry Classifier&lt;/a&gt;, the agent that finds a company on the web, checks it is the right one and assigns it an industry code. The service runs on &lt;code&gt;gpt-6-luna&lt;/code&gt;. The candidate was &lt;code&gt;gpt-6.1-terra&lt;/code&gt;, released a few days earlier.&lt;/p&gt;

&lt;p&gt;The result, in one line: &lt;strong&gt;terra was clearly faster, more expensive, and I couldn't see any difference in quality.&lt;/strong&gt; Is it the better model? The honest answer is that the question is badly posed. It depends on what my service pays for, and the useful way to think about that has a name: the Pareto frontier.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea in one picture
&lt;/h2&gt;

&lt;p&gt;Choosing a model means trading at least three things: how good the answers are, how much they cost and how long they take. Rarely does one model win on all three.&lt;/p&gt;

&lt;p&gt;A model &lt;strong&gt;dominates&lt;/strong&gt; another when it is at least as good on every axis and strictly better on one: same quality and cheaper, or better and no slower. A dominated model can be discarded without any debate, because there is always a better option for any priority you might have. The models nobody dominates form the &lt;strong&gt;Pareto frontier&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-1.png" alt="Quality against cost per task. Four models form the frontier, drawn as a staircase that rises steeply at first and flattens at the top. Everything below and to the right of the staircase is the dominated region; two dominated models sit inside it, each beaten on both cost and quality by a frontier model." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The frontier is the staircase: for each model on it, nothing is both cheaper and better. Everything in the shaded region is dominated and leaves the discussion. Along the frontier there is no technical winner, only a trade, and past the knee each extra unit of quality costs much more than the last.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Two things follow from the picture.&lt;/p&gt;

&lt;p&gt;The first is that the frontier settles a lot of arguments for free. If a model is dominated in your measurements, there is nothing to discuss.&lt;/p&gt;

&lt;p&gt;The second is the opposite: &lt;strong&gt;between two points on the frontier, no measurement decides.&lt;/strong&gt; Moving along it means buying one thing with another, and how much you are willing to pay is a business preference, not a technical fact. The engineering job is to draw the frontier honestly. The choice of point belongs to whoever knows what a second of waiting, a cent per task or a wrong answer costs.&lt;/p&gt;

&lt;p&gt;There is also a shape worth looking for: the &lt;strong&gt;knee&lt;/strong&gt;. Frontiers tend to rise steeply and then flatten. Past the knee, doubling the price buys a little more quality, and for many uses that little is not worth paying.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost per task, not per token
&lt;/h2&gt;

&lt;p&gt;The axis everyone looks at first is the price list: dollars per million input and output tokens. On that list, terra cost &lt;strong&gt;ten times&lt;/strong&gt; more than luna. If I had drawn the frontier with it, the conversation would have ended there.&lt;/p&gt;

&lt;p&gt;It isn't the cost I pay. What the service pays is the cost of &lt;strong&gt;a classification&lt;/strong&gt;: around ten model calls, several web searches, page verification. I ran a short paired test, three real companies of a customer, two rounds each, both models interleaved and sharing the same web-search cache, so the evidence was the same for both. Measured per classification:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;gpt-6-luna&lt;/th&gt;
&lt;th&gt;gpt-6.1-terra&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Price per token (relative)&lt;/td&gt;
&lt;td&gt;1×&lt;/td&gt;
&lt;td&gt;10×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model cost per classification&lt;/td&gt;
&lt;td&gt;\$0.0039&lt;/td&gt;
&lt;td&gt;\$0.0250&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paid web searches per classification&lt;/td&gt;
&lt;td&gt;5.67&lt;/td&gt;
&lt;td&gt;5.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total cost per classification&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;\$0.096&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;\$0.118&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Median time per classification&lt;/td&gt;
&lt;td&gt;82 s&lt;/td&gt;
&lt;td&gt;55 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Correct primary code&lt;/td&gt;
&lt;td&gt;6 / 6&lt;/td&gt;
&lt;td&gt;6 / 6&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-2.png" alt="Terra relative to luna, in three steps. Price per token: ten times. Model cost per classification: 6.4 times, 0.025 against 0.0039 dollars, because terra uses fewer tokens. Total cost per classification: 1.23 times, 0.118 against 0.096 dollars, because the model is a small part of what a classification costs." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The same switch measured three ways. The multiplier shrinks from 10× to 6.4× once you count the tokens each model actually spends, and to 1.23× once you count everything else a classification pays for.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Ten times per token became &lt;strong&gt;23% more per task&lt;/strong&gt;, in two steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;From 10× to 6.4×: tokens.&lt;/strong&gt; Terra gets there in fewer turns (4.8 agent iterations per classification against 5.5) and thinks much less along the way: about a fifth of its output is reasoning, against half of luna's. It generates 1,362 output tokens per classification to luna's 2,540. So its model bill grew 6.4×, not 10×.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;From 6.4× to 1.23×: everything else.&lt;/strong&gt; With luna, the model is barely 4% of what a classification costs. The bulk is web search: both models made exactly the same paid searches, 5.67 per classification at \$0.016 each, about nine cents. A sixfold increase on four percent of the bill is a modest increase on the whole bill.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a search costs in tokens
&lt;/h3&gt;

&lt;p&gt;The search fee isn't the whole cost of a search. Whatever the search returns, the model has to read, and the model charges for reading. About two thirds of what the agent reads in a classification is search and page material: the opening searches go in the first message and are sent again, whole, on every call (almost all of it from the cache), and each result of a search the agent launches itself travels in full in every following call until the next one.&lt;/p&gt;

&lt;p&gt;Putting a price on one additional search, beyond its fee: if it costs the agent one more turn, that turn is roughly \$0.0003–0.0005 of tokens with luna and &lt;strong&gt;\$0.003–0.004 with terra&lt;/strong&gt;. With luna, the search fee weighs 30 to 50 times more than reading the result. With terra, only four or five times more. The model's price multiplies the cost of everything it reads, so a more expensive model also makes its searches more expensive.&lt;/p&gt;

&lt;p&gt;Here both models searched the same. That isn't guaranteed: when I &lt;a href="https://www.javieraguilar.ai/en/blog/the-new-model-is-cheaper" rel="noopener noreferrer"&gt;tested the previous swap in this service&lt;/a&gt;, the new model searched about 12% more than the old one. A model's behaviour moves costs it doesn't bill itself, and a price list can't show that.&lt;/p&gt;

&lt;p&gt;The general rule is the one I would put at the top of any model comparison: &lt;strong&gt;draw the frontier with the cost and latency of the whole task in your system, not with the price list.&lt;/strong&gt; A model that is cheap per token and verbose can be expensive per task. One that is expensive per token and concise can be cheaper than it looks. And if the model is a small part of your cost, its price matters less than its effect on everything else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three axes, and quality as a gate
&lt;/h2&gt;

&lt;p&gt;The first picture has two axes, and the problem has three. You can draw all three, and doing it teaches something: with three axes almost nobody is dominated. A model needs only to be best at one thing, or at one combination, to survive. The more axes, the bigger the frontier and the less dominance discards on its own.&lt;/p&gt;

&lt;p&gt;In practice, quality usually plays a different role from the other two. Before being a quantity to trade, it is a condition: the model has to be able to do the task. A classifier that gets half the codes wrong isn't a cheap option, it is no option at all. So the useful way to handle three axes is often a &lt;strong&gt;gate&lt;/strong&gt;: fix a quality floor, discard what doesn't reach it, and draw the frontier between cost and latency with whatever passes.&lt;/p&gt;

&lt;p&gt;My service has that gate written down. Before any change to the model or its harness, there are approved limits: among others, no stable regressions (cases the change fails in every round that the current version passed in every round) beyond what the control itself shows. In October I measured &lt;code&gt;gpt-6-luna&lt;/code&gt; itself at three reasoning levels, on 38 cases of a benchmark picked on purpose to be hard: cases where the model had found the right company but got the code wrong or disagreed with the previous model. Four rounds each. On those cases the absolute accuracy is low by construction; what matters is the difference between levels:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-3.png" alt="The same model at three reasoning levels, cost relative to the default against median time. Low is 29 percent cheaper and 16 seconds faster, but gets 9 points fewer cases right, with two stable regressions, so it fails the quality gate. High is 16 percent more expensive and 11 seconds slower for the same accuracy within noise, so the default dominates it. The default is the only point left." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The same model, three settings, three different fates. Low is cheaper and faster but doesn't pass the gate. High passes it but the default is cheaper, faster and no worse. Only the default is left to choose. Accuracy is shown relative to the default: these 38 cases were picked because the model had failed or disagreed on them before, so the absolute rate says nothing about the service.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;low&lt;/code&gt; makes the agent stop researching: it runs 1.2 searches of its own per classification instead of 3.2, and many of its answers are abstentions without ever checking a page. It is 29% cheaper and 16 seconds faster, and it doesn't pass the gate. &lt;code&gt;high&lt;/code&gt; passes the gate but buys nothing: +16% cost and +20% latency for the same accuracy within noise. The default dominates it. Two levels discarded, one by the gate and one by dominance, and no debate needed for either.&lt;/p&gt;

&lt;p&gt;It also shows that a model isn't a single point on the map. Each reasoning level is a different point, and so is each prompt or harness you pair it with. What you place on the frontier are configurations, not model names. That multiplies the candidates, and it is one more reason to keep the gate and the per-task measurement cheap to run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the decision actually lives
&lt;/h2&gt;

&lt;p&gt;Back to terra. On quality I saw no difference: both models got the right primary code in all six pairs. That doesn't prove they are equal. Six pairs on a bank where any recent model scores above 90% can't separate them. But both pass the gate, and above it the decision is between cost and latency: luna, cheaper and slower, and terra, faster and more expensive. Both on the frontier.&lt;/p&gt;

&lt;p&gt;So the question becomes: is 27 seconds per classification worth 2.2 cents? Divide one by the other and you get the price of the trade: about &lt;strong&gt;\$0.0008 per second saved, roughly \$3 per hour of waiting&lt;/strong&gt;. That is the slope of the line in the figure below. Terra wins if a second of waiting is worth more than that to someone. Luna wins otherwise.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthere-is-no-best-model-fig-4.png" alt="Cost per classification against median time. Luna sits lower and to the right, terra higher and to the left. Three lines through luna represent different values of a second of waiting: at one dollar per hour terra lies above the line and loses, at about three dollars per hour the two tie, at twenty dollars per hour terra lies below and wins." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Each dashed line joins the points that cost the same as luna once a second of waiting has a price. Below the line beats luna, above it loses. Terra sits exactly on the $3/hour line: whether it is the better model depends entirely on that number.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Put that way, the decision stops being about models and becomes a question I can take to the people who use the service: is anyone waiting those 27 seconds, and what does that wait cost? In this case I decided to stop: 23% more per classification for no visible gain in quality, with latency as the only argument in favour. If one day the classification sits in an interactive flow where someone is waiting in front of the screen, the same numbers will give another answer, and I will only need to measure again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways to balance the axes
&lt;/h2&gt;

&lt;p&gt;What I did above is a mix of the three practical ways to decide along a frontier. They aren't exclusive.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hard constraints, then optimise one axis.&lt;/strong&gt; Write down the limits first: quality no worse than the current model on your benchmark, p95 latency below X seconds, data stays in a given region. Among what survives, take the cheapest. It is the most robust option because it doesn't force you to put a price on everything, and it removes many points before any comparison. The quality gate of the previous section is one of these.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put a price on what isn't money.&lt;/strong&gt; Turn latency and errors into dollars: what a second of waiting costs, what a wrong answer that reaches a person costs. Then minimise one number. It is what I did with the seconds. It forces you to make preferences explicit, which is uncomfortable and useful.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't choose a single point.&lt;/strong&gt; Route: the cheap model by default and the expensive one only for cases that need it (low confidence, hard inputs, a customer with stricter requirements). Your effective point then sits between the two, somewhere neither model reaches alone. The cost is complexity, and the router itself needs evaluating.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Public benchmarks: for shortlisting, not deciding
&lt;/h2&gt;

&lt;p&gt;There are public frontiers worth looking at. &lt;a href="https://artificialanalysis.ai/models/comparisons" rel="noopener noreferrer"&gt;Artificial Analysis&lt;/a&gt; publishes, for each model, an aggregate intelligence index next to the price per million tokens, output speed, time to first token, end-to-end response time and, importantly, the &lt;strong&gt;cost per index task&lt;/strong&gt; and the cost of running the whole index. That last metric is the right idea: it already accounts for one model writing twice as much as another to solve the same thing. &lt;a href="https://arena.ai" rel="noopener noreferrer"&gt;Arena&lt;/a&gt; also offers a Pareto view of price against score, and for agents it plots score against cost per task.&lt;/p&gt;

&lt;p&gt;They are useful for drawing a first map and discarding what is clearly dominated. They can't make your choice, for the same reason the price list couldn't make mine. Their tasks aren't yours. Their cost per task doesn't include your searches, your retries or your cache. In my service the model is under 5% of the cost; in a benchmark it is 100%. Use the public frontier to choose which three or four candidates are worth measuring, and draw yours with your own tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Self-hosted: another frontier, with fixed costs
&lt;/h2&gt;

&lt;p&gt;The open-weight versus API question is another trade on the same axes, with two particularities.&lt;/p&gt;

&lt;p&gt;On quality, the gap still exists, although it is smaller than it used to be. &lt;a href="https://epoch.ai/data-insights/open-closed-eci-gap" rel="noopener noreferrer"&gt;Epoch AI&lt;/a&gt; measured in May 2026 that, since January, the best open-weight models trail the best closed ones by about &lt;strong&gt;four months&lt;/strong&gt; on its aggregate capabilities index, around eight points. That is roughly the distance between GPT-5 and GPT-5.5. Epoch itself notes the figure probably understates the gap, because closed labs don't always release their best model. Four months doesn't sound like much, but on a saturated task like mine it may be irrelevant, and on a hard one it may decide whether you pass the gate.&lt;/p&gt;

&lt;p&gt;On cost, the structure changes. An API charges per use: zero tasks, zero dollars. A GPU of your own charges per hour, whether you use it or not. Your cost per task is the hourly cost (machine, plus whoever operates it, updates it and wakes up when it fails) divided by the tasks you actually run per hour. With high, steady volume, that division can beat any API. With low volume it is terrible. As an illustration with round numbers: a GPU at one dollar an hour is over \$700 a month, and this whole service at around 500 classifications a month costs about \$50 per month with luna. At this volume the self-hosted point isn't even on the map.&lt;/p&gt;

&lt;p&gt;And serving a model has its own frontier. Batching more requests per GPU lowers the cost per token but slows every user down: &lt;a href="https://inferencex.semianalysis.com/glossary/pareto-frontier" rel="noopener noreferrer"&gt;SemiAnalysis's InferenceX&lt;/a&gt; maps exactly that trade between throughput per GPU and interactivity. Self-hosting doesn't escape the choice, it just adds another one.&lt;/p&gt;

&lt;p&gt;Sometimes self-hosting isn't a point on the frontier but a constraint: data that can't leave your infrastructure. In that case it is another gate, one that removes the rest of the map, and the frontier you choose from is the one that's left.&lt;/p&gt;

&lt;h2&gt;
  
  
  The frontier moves
&lt;/h2&gt;

&lt;p&gt;What I like least about this exercise is also what makes it necessary: the frontier changes with every release. Terra came out days before I tested it. Luna came out weeks before that. The next model will move both points or add a third, and the answer from this month will need redoing.&lt;/p&gt;

&lt;p&gt;That's why it's worth keeping the measurement cheap and repeatable rather than the conclusion fixed: a paired benchmark with your tasks, a quality gate written down before the first call, cost and latency measured per task, and the trade made explicit: how much a second is worth, how much an error is worth. With that, a new model is an afternoon of measurement and a line on a chart. Without it, it is a debate about the price list.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The Industry Classifier is described in &lt;a href="https://www.javieraguilar.ai/en/projects/compliance-classifier" rel="noopener noreferrer"&gt;its project page&lt;/a&gt;. How I test a model swap in it, and what that testing costs, is in &lt;a href="https://www.javieraguilar.ai/en/blog/the-new-model-is-cheaper" rel="noopener noreferrer"&gt;The New Model Is Cheaper. Testing It Isn't&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/there-is-no-best-model" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>economics</category>
      <category>evaluation</category>
    </item>
    <item>
      <title>The New Model Is Cheaper. Testing It Isn't.</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Thu, 26 Nov 2026 00:39:38 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/the-new-model-is-cheaper-testing-it-isnt-175l</link>
      <guid>https://dev.to/javieraguilarai/the-new-model-is-cheaper-testing-it-isnt-175l</guid>
      <description>&lt;p&gt;In September a new generation of the model behind one of the services I maintain came out. On the same cases, its small tier cost almost half as much per classification as the one in production. On paper, that decision makes itself.&lt;/p&gt;

&lt;p&gt;Testing the swap properly took several days and &lt;strong&gt;between 47 and 65 dollars of model tokens&lt;/strong&gt;. The service runs around &lt;strong&gt;500 classifications a month&lt;/strong&gt;, and its model bill in production was about &lt;strong&gt;five dollars a month&lt;/strong&gt;. At that volume, the saving pays back the tokens of the test alone in about &lt;strong&gt;two years&lt;/strong&gt;. The model it would replace had been on the market for &lt;strong&gt;75 days&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Both halves of that are worth looking at: why a swap needs that much testing, and what follows when the test costs more than the swap saves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a better model can do worse
&lt;/h2&gt;

&lt;p&gt;A leaderboard measures a model. What you ship is a system: the model plus everything around it — prompts, tool definitions and their descriptions, how responses are parsed, reasoning settings, budgets and deadlines. Call that the &lt;strong&gt;harness&lt;/strong&gt;. Every part of it was shaped, test after test, against the behaviour of the model it was built with.&lt;/p&gt;

&lt;p&gt;A different model behaves differently, and none of these differences is a defect of either model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Prompt adherence.&lt;/strong&gt; One model follows an instruction to the letter, another treats it as a suggestion. A rule written for the loose reader gets over-applied by the literal one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ambiguity.&lt;/strong&gt; Faced with a case the instructions don't settle, one model asks, one abstains, one picks the most plausible reading and moves on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How instructions are read.&lt;/strong&gt; Absolute wording ("never", "always") and the exceptions written next to it get weighed differently, so the same sentence produces different case-by-case behaviour.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prior knowledge.&lt;/strong&gt; What the model already believes about the world competes with what the harness hands it. A newer model &lt;a href="https://www.javieraguilar.ai/en/blog/when-the-fact-stops-being-true" rel="noopener noreferrer"&gt;doesn't necessarily know which of its facts have expired&lt;/a&gt;, it just has different ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool use and reasoning.&lt;/strong&gt; How readily it calls a tool, how it reads the tool's description, how much it reasons before answering. In this service, the new model in its adopted configuration made about 12% more web searches per classification than the old one on the same cases. These differences move cost and latency, not only quality, and in stages the model doesn't bill itself: a slower model can be cut short by deadlines tuned for a faster one, and that looks like a quality loss.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The consequence is an asymmetry worth naming. If you drop the candidate into the incumbent's harness unchanged, what you measure is &lt;strong&gt;how well the new model imitates the old one&lt;/strong&gt; inside a harness built for the old one. That test systematically favours whatever is already in production. It can reveal blockers. It cannot justify rejecting the candidate on quality. I call it a substitution test, and keep it apart from the real comparison, where each model runs with a harness adapted to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A method for testing a swap
&lt;/h2&gt;

&lt;p&gt;The procedure below is the one I wrote for an &lt;a href="https://www.javieraguilar.ai/en/projects/compliance-classifier" rel="noopener noreferrer"&gt;industry classification service&lt;/a&gt; — an agent that searches for a company, verifies it is the right one, and maps what it does to an industry code. Nothing in it is specific to that service, or to a model swap. The same procedure governs any change to the harness — a reworded prompt, a new tool, a different parser. A new model is simply the change that touches every part at once.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezvsi4zfd86ynoqpfbo8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fezvsi4zfd86ynoqpfbo8.png" alt="The model-swap procedure as a pipeline: preconditions, a gateway probe with the exact call shapes, harness adaptation, then three measured stages and a release gate against the deployed version. Stages one and two feed back into harness adaptation, so adapting the harness and measuring it are a loop, not a step." width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Adapting the harness and measuring it are a loop. What reaches the release gate is the candidate model plus its adapted harness, compared with what is actually deployed.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The order of the stages is deliberate: it goes from specific to exhaustive. The first stage isolates twice. It runs only the cases a change is meant to affect — safety cases, hard cases, the target case of each safeguard — and it runs them on the component that changed: the search step alone, the verifier replayed on content already captured, the agent with its search results frozen. Many rounds, few cases, so a regression shows up while it is still cheap to find. Only a candidate that survives it gets the full benchmark. Attribution then goes back to the cases where the two arms disagreed, and only those. The expensive runs come last and are aimed by the cheap ones.&lt;/p&gt;

&lt;p&gt;The rules that carry most of the weight:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Measure the service, not the model.&lt;/strong&gt; Components are tested in isolation, but the decision rests on what the system returns end to end — answer, evidence, confidence, cost, latency — never on a vendor claim or a playground prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pin it, and see it.&lt;/strong&gt; The model version is pinned so the provider can't change it under a measurement. Before the service is involved, a short probe through the gateway uses the exact call shapes the service sends. A gateway can drop a parameter it doesn't support and still answer 200, and a parameter honoured on one API surface can be ignored on another. Every response records which model actually served it: a silent fallback serves a different model under the candidate's name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paired, interleaved, repeated.&lt;/strong&gt; Every case runs every arm in the same session, with the order rotated. The system is not deterministic, so one round per case decides nothing, and two may not either: in this service, among cases whose first two rounds agreed, rounds three and four returned a different code &lt;strong&gt;24% of the time&lt;/strong&gt;. Before reading any difference, measure how much the control disagrees with itself on the same cases. An effect smaller than that floor is not an effect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Separate an outage from an answer.&lt;/strong&gt; A call that didn't arrive (timeout, gateway error) is excluded. A call that arrived with something unusable (unparseable, empty, out of range) counts against the candidate: it is part of what's being measured. The trace has to tell the two apart before the run starts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep a register of mechanisms.&lt;/strong&gt; Many safeguards are instructions adopted because they changed the incumbent's behaviour in a measured way. A new model can read them differently, so a mechanism can stop working while the aggregate stays flat. Each one is listed with its target case and checked on the candidate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Different is not better.&lt;/strong&gt; The decision rules are written before the first call: zero hard safety failures, no case moving from pass to fail beyond the control's own variation, no increase in confident-and-wrong answers, stability no worse, cost and latency within agreed limits. A candidate that fixes one case and breaks another is not an improvement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate against what is deployed, in the same window.&lt;/strong&gt; Passing against the old model on the same build isn't enough to promote. The release is compared with the version running in the next environment, in the same time window, because &lt;a href="https://www.javieraguilar.ai/en/blog/three-judges-three-rankings" rel="noopener noreferrer"&gt;LLM judges&lt;/a&gt; and external data drift from one day to the next.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How this differs from testing you already know
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Traditional software&lt;/th&gt;
&lt;th&gt;Traditional ML&lt;/th&gt;
&lt;th&gt;Swapping the model in an LLM system&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Who changes the component&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;You (you retrain)&lt;/td&gt;
&lt;td&gt;The provider, on their schedule&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Same input, same output?&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes, once trained&lt;/td&gt;
&lt;td&gt;No: sampling, search results, judges&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What you tune&lt;/td&gt;
&lt;td&gt;Code&lt;/td&gt;
&lt;td&gt;Weights, features, hyperparameters&lt;/td&gt;
&lt;td&gt;Prompts, tool descriptions, call shapes — in natural language&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A test is&lt;/td&gt;
&lt;td&gt;Pass or fail&lt;/td&gt;
&lt;td&gt;An aggregate on a held-out set&lt;/td&gt;
&lt;td&gt;Paired, repeated, per case, above a noise floor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What decides&lt;/td&gt;
&lt;td&gt;The assertion&lt;/td&gt;
&lt;td&gt;The metric&lt;/td&gt;
&lt;td&gt;The metric, then a person or an agent reading every disagreement in the traces&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Self-hosted open-weight models sit closer to traditional ML on one axis: you decide when to change, nobody retires the model from under you, and the evaluation runs on your own GPUs. On the other axis they don't move at all. Unless you fine-tune, you still swap one set of weights for another and adapt prompts and tools to it, exactly as with a hosted provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one swap cost
&lt;/h2&gt;

&lt;p&gt;Here is the bill for the swap in the opening, counting &lt;strong&gt;only what the language model costs&lt;/strong&gt;. The service also pays for web search, but that spend has its own dynamics and stays out of this calculation.&lt;/p&gt;

&lt;p&gt;The twelve days of testing around the swap were not all about the swap. About half of it would have happened anyway: the release gate of a version from before the change, fixes that came out of that gate, integration work, a round of fixes requested by a customer. That half stays out too. What counts is the paired comparison of the two models with the harness adaptation, the release gates of the first versions on the new model, and the fixes those gates produced. Some of those fixes repaired defects that predated the new model, but the comparison is what brought them back up, so they count toward it.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Model tokens spent on the swap, in the runs that were saved&lt;/td&gt;
&lt;td&gt;47 $&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;… scaled up for the 27% of calls that were not saved (smoke tests, interrupted runs)&lt;/td&gt;
&lt;td&gt;≈ 65 $&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model cost per classification, paired on the same build: model in production → candidate&lt;/td&gt;
&lt;td&gt;0.0098 → 0.0053 $&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Saving per classification&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;≈ 0.0045 $&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Production volume&lt;/td&gt;
&lt;td&gt;≈ 500 / month&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;On top of the tokens there is engineering time. The session that carried out the swap logged about &lt;strong&gt;20 active hours of agent work&lt;/strong&gt;. Mine, inside it, came to about &lt;strong&gt;four hours&lt;/strong&gt;. Valuing my four hours at 50 $/h and leaving aside what the agent's hours cost, the swap comes to roughly &lt;strong&gt;250 to 265 dollars&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This was the hardest adaptation I have had to make. More typically, one round of testing with two or three iterations of the harness gets there in one or two hours, with correspondingly fewer calls. Even that does not change the conclusion at this volume: before the next model arrives, the saving recovers about six dollars, less than a single hour of engineering.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cost of the swap&lt;/th&gt;
&lt;th&gt;Classifications to break even&lt;/th&gt;
&lt;th&gt;At 500 a month&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tokens, saved runs (47 $)&lt;/td&gt;
&lt;td&gt;≈ 10,500&lt;/td&gt;
&lt;td&gt;≈ 21 months&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tokens, scaled (65 $)&lt;/td&gt;
&lt;td&gt;≈ 14,400&lt;/td&gt;
&lt;td&gt;≈ 29 months&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tokens + my 4 hours (≈ 265 $)&lt;/td&gt;
&lt;td&gt;≈ 59,000&lt;/td&gt;
&lt;td&gt;≈ 10 years&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The tokens alone already put a return two years away at this volume. Engineering time pushes it out to a decade. And the relevant horizon is not years: it is how long until the next model.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fptck63g0jyy012l4gc5u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fptck63g0jyy012l4gc5u.png" alt="Months needed to recover the cost of a model swap, against monthly volume, on log scales. At 500 classifications a month it takes between 21 and 29 months counting tokens only, and about 118 months counting four hours of engineering. Recovering it before the next release, 2.5 months away, needs between about 4,200 and 23,500 classifications a month." width="800" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Months to recover the swap with a saving of 0.0045 $ per classification. At 500 a month, between 21 and 29 months on tokens alone, about ten years with engineering time. To recover it before the next model arrives, the service would need roughly 4,200 to 23,500 classifications a month.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Who gets paid
&lt;/h2&gt;

&lt;p&gt;The engineering hours stay with whoever pays the engineer. The tokens don't: they go to the model provider, and that changes how the swap looks from the other side.&lt;/p&gt;

&lt;p&gt;At 500 classifications a month, this service was paying the provider about five dollars a month in production, and on the new model it pays under three. The comparison paid it between 47 and 65: &lt;strong&gt;the equivalent of 10 to 13 months of production at the old price, or 18 to 25 at the new one&lt;/strong&gt;. A release that a team has to test can bring the provider more from the testing than from a year or two of real use.&lt;/p&gt;

&lt;p&gt;The proportion flips with volume. The evaluation costs roughly the same however many classifications run in production — what moves it is the number of rounds, not traffic. Production revenue grows with traffic. Over the 75 days a model in that tier lasted, production on the new model would match the cost of the comparison at &lt;strong&gt;around 3,500 to 4,900 classifications a month&lt;/strong&gt;. Below that line, each swap a team tests earns the provider more in evaluation than the new model earns in production before the next one arrives.&lt;/p&gt;

&lt;p&gt;I am not claiming providers release models to collect evaluation fees. Competition explains the releases without any help. But the side effect is real and it compounds with cadence. Between GPT-5 in August 2025 and GPT-6 in September 2026, OpenAI shipped a new generation about every two months on average, according to its &lt;a href="https://developers.openai.com/api/docs/changelog" rel="noopener noreferrer"&gt;API changelog&lt;/a&gt;. At Anthropic, the gaps between consecutive &lt;a href="https://platform.claude.com/docs/en/release-notes/overview" rel="noopener noreferrer"&gt;Sonnet releases&lt;/a&gt; went from about four and a half months, twice, to three. What matters for a given system is the cadence of the tier it uses, not of the catalogue — here, 75 days between general availability of one small model and the next.&lt;/p&gt;

&lt;h2&gt;
  
  
  When a swap is worth it
&lt;/h2&gt;

&lt;p&gt;On cost alone, a swap pays when&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;saving per run × monthly volume × months you'll keep the new model &amp;gt; cost of the swap&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Four things follow from it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You don't have to take every release.&lt;/strong&gt; The horizon is how long you will stay on the new model, not how long until the next launch. A team at low volume that skips generations pays the cost of a swap once per forced migration — when the old model is retired — instead of once per release.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;At low volume, cost cannot justify a swap; only quality can.&lt;/strong&gt; The rule then becomes &lt;em&gt;errors avoided per run × cost of an error × volume × months &amp;gt; cost of the swap&lt;/em&gt;. In a compliance classifier, one confident wrong answer can cost more than all the tokens involved. But that cost per error has to be stated, not assumed, or the formula justifies anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The thinner the harness, the cheaper the swap.&lt;/strong&gt; Every instruction written to steer one model's behaviour is something the next model may read differently, and something to check again. A harness that holds only what the task needs has less to re-adapt. How thin it can be depends on the task: the more specific and regulated the work, the more has to be spelled out and the less room there is. But stronger models tend to need less explicit guidance, so a new generation is also a chance to remove instructions rather than add them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The cost of a swap is not fixed across swaps.&lt;/strong&gt; Much of what this method needs is infrastructure built once: selecting the model per request, every response recording what served it, case banks with reviewed references, the register of mechanisms. The first swap pays for it. Later swaps reuse it. Whether that brings the next swap below the line is something the next swap will measure.&lt;/p&gt;

&lt;p&gt;All of this is one service, one swap and one provider, with engineering time reconstructed from session logs and nothing counted that happened outside them. It is enough to show the shape of the problem, not to set a number for anyone else's. The formula is the part that travels: put in your own volume, your own saving and your own cost of testing, and see which side of the line you are on.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/the-new-model-is-cheaper" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>evaluation</category>
      <category>llm</category>
      <category>engineering</category>
    </item>
    <item>
      <title>The Riemann Hypothesis Has a Proof Nobody Has Read. Its Core Idea Fits in a Sentence</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Tue, 24 Nov 2026 01:17:24 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/the-riemann-hypothesis-has-a-proof-nobody-has-read-its-core-idea-fits-in-a-sentence-2cbd</link>
      <guid>https://dev.to/javieraguilarai/the-riemann-hypothesis-has-a-proof-nobody-has-read-its-core-idea-fits-in-a-sentence-2cbd</guid>
      <description>&lt;p&gt;On Friday 20 November, Levent Alpöge, a number theorist who works at Anthropic, posted a &lt;a href="https://alpo.ge/remark.pdf" rel="noopener noreferrer"&gt;four-page note&lt;/a&gt; on his personal website. Its second paragraph begins: "I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis." The proof itself is not in the note. It is in a footnote: fourteen links to an archive of Lean code, the language in which a program can check a mathematical proof step by step.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://en.wikipedia.org/wiki/Riemann_hypothesis" rel="noopener noreferrer"&gt;Riemann hypothesis&lt;/a&gt; is the best-known open problem in mathematics. It is 167 years old, it is one of the seven &lt;a href="https://www.claymath.org/millennium/riemann-hypothesis/" rel="noopener noreferrer"&gt;Millennium Prize problems&lt;/a&gt;, and it says, in one line, that the prime numbers are spread as evenly as they possibly could be. By the end of that Friday, people who had nothing to do with the author had compiled the archive, and the checkers had accepted it.&lt;/p&gt;

&lt;p&gt;The coverage has been about the machine beating the mathematicians, and about a second, all-human proof that appeared the same afternoon. Both are real stories. This is the third time since September that I write one of these, after &lt;a href="https://www.javieraguilar.ai/en/blog/navier-stokes-blows-up" rel="noopener noreferrer"&gt;Navier–Stokes&lt;/a&gt; in September and the &lt;a href="https://www.javieraguilar.ai/en/blog/exponential-time-hypothesis-falls" rel="noopener noreferrer"&gt;Exponential Time Hypothesis&lt;/a&gt; in October, and as with those, the parts I find most interesting do not fit in a headline: what exactly was proved, why this claim was not dismissed like all the earlier ones, what it means that nobody has read it, why the central idea is one you can explain at a blackboard, who did what, and which theorems changed status overnight.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was proved, exactly
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The archive proves five statements, and the first one is the Riemann hypothesis word for word as the Lean community had already written it down.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The primes thin out in a regular way: near a large number x, about one number in log x is prime, where log is the natural logarithm. Near one million, log x is about 13.8, so roughly one number in fourteen should be prime; among the thousand numbers that follow 1,000,000 the estimate gives 72 primes, and there are 75. In 1859 Bernhard Riemann showed that the fine detail of that pattern is controlled by a single function, the &lt;a href="https://en.wikipedia.org/wiki/Riemann_zeta_function" rel="noopener noreferrer"&gt;zeta function&lt;/a&gt; ζ(s), and specifically by the complex numbers s where it equals zero. Some of those zeros are uninteresting (the negative even integers). All the others lie in a vertical strip of the complex plane, between real part 0 and real part 1. The hypothesis is that they all sit exactly in the middle of it, on the line of real part 1/2.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-1.png" alt="The critical strip of the complex plane, between real part zero and real part one. The first ten nontrivial zeros of the Riemann zeta function, at heights from 14.13 to 49.77, all lie on the middle line of real part one half. A hypothetical zero off the line at real part 0.8 is drawn with its mirror image at real part 0.2: the Riemann hypothesis says no such pair exists" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Computing zeros, however many, can never prove the hypothesis: a proof has to exclude every zero off the line, at every height.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Mathlib, the community library of mathematics formalized in Lean, already contained a definition called &lt;code&gt;RiemannHypothesis&lt;/code&gt;. Nobody had proved it; the definition was there so that other results could say "assuming this". The archive's first theorem is a proof of exactly that definition, which matters more than it sounds: the statement was written by other people, before the proof existed, so the proof cannot have quietly proved something easier under the same name.&lt;/p&gt;

&lt;p&gt;The other four statements go further. They say the same about a whole family of related functions, the &lt;a href="https://en.wikipedia.org/wiki/Dirichlet_L-function" rel="noopener noreferrer"&gt;Dirichlet L-functions&lt;/a&gt;. Loosely: ζ(s) is built by adding up 1/n^s over all whole numbers n, and a Dirichlet L-function is the same sum with each term multiplied by a label that depends only on the remainder of n when divided by some fixed number, for instance on its last digit. ζ is the case where every label is 1. The labels are what let you single out the primes in one arithmetic progression (those ending in 7, say), and each labelled sum has its own zeros controlling those primes. That is the Generalized Riemann Hypothesis for Dirichlet L-functions, for every modulus and every character.&lt;/p&gt;

&lt;p&gt;The scope has an edge, and it is worth knowing where it is. "GRH" is used for several statements of increasing reach. What the checkers accepted concerns Dirichlet L-functions only. The versions for the zeta functions of number fields and for automorphic L-functions in general are not among the five theorems. Alpöge writes that he expects the method to reach further "with more time"; &lt;a href="https://math.mit.edu/~drew/grh/" rel="noopener noreferrer"&gt;Andrew Sutherland's verification page&lt;/a&gt; at MIT says plainly that those were not checked, because they are not there.&lt;/p&gt;

&lt;h2&gt;
  
  
  It has been "proved" many times before
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Announced proofs of the Riemann hypothesis are a genre, and almost none of them is taken seriously for more than a day.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The oldest goes back to 1885, when Thomas Stieltjes wrote to Charles Hermite that he had proved a bound which &lt;a href="https://en.wikipedia.org/wiki/Mertens_conjecture" rel="noopener noreferrer"&gt;would have implied the hypothesis&lt;/a&gt;. He never published a proof. A slightly sharper form of the same bound, the Mertens conjecture, was shown to be false a century later, in 1985. Louis de Branges, who did settle a famous open problem in the 1980s, the &lt;a href="https://en.wikipedia.org/wiki/De_Branges%27s_theorem" rel="noopener noreferrer"&gt;Bieberbach conjecture&lt;/a&gt;, has kept working on a proof of this one; in 2000 two other mathematicians showed that the condition his approach needs does not hold, and his attempts have &lt;a href="https://en.wikipedia.org/wiki/Riemann_hypothesis" rel="noopener noreferrer"&gt;not been widely accepted&lt;/a&gt;. And the preprint servers receive a steady supply of short papers titled some variant of "A proof of the Riemann hypothesis".&lt;/p&gt;

&lt;p&gt;The one I remember personally is Michael Atiyah's. At the Heidelberg Laureate Forum in 2018, one of the most decorated mathematicians alive, Fields medallist in 1966 and Abel laureate in 2004, then 89, &lt;a href="https://en.wikipedia.org/wiki/Michael_Atiyah" rel="noopener noreferrer"&gt;claimed to have solved it&lt;/a&gt; with an argument by contradiction that used the fine-structure constant of physics. The proof did not hold up. I was studying mathematics at university at the time, and what I remember is that nobody around me took it seriously, not even for an afternoon. Nobody was unkind about it. Everyone simply knew that a claim of this size, resting on a short argument and a great name, was not something you had to stop and check.&lt;/p&gt;

&lt;p&gt;That is the background against which to read last Friday. Every earlier claim asked the community to spend scarce expert time on the author's word, and the community had learned to say no. This one did not ask anyone to believe anything. It came with an object that anyone with a large enough computer could test, against a statement the author had not written. That changed the default response from "probably wrong, who has the time" to "run it", and the answer came back within hours. The reputation of the author mattered for how quickly people started, and not at all for what they found.&lt;/p&gt;

&lt;h2&gt;
  
  
  A proof nobody has read
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The proof exists only as code, and that was a decision.&lt;/strong&gt; The numbers, from the notes of the people who checked it:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Lean files&lt;/td&gt;
&lt;td&gt;175,187&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lines&lt;/td&gt;
&lt;td&gt;17.4 million, with no comments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Theorems and lemmas&lt;/td&gt;
&lt;td&gt;818,755&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Source size&lt;/td&gt;
&lt;td&gt;about 1 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The same argument written out for people&lt;/td&gt;
&lt;td&gt;over 250,000 pages, by the author's count&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human-readable paper&lt;/td&gt;
&lt;td&gt;none yet&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For scale, OpenAI's Navier–Stokes proof in September was 166 pages. Alpöge did generate the long document, and decided against posting it: in his words it would have been "some massive unreadable travesty of slop", so he chose "to only present Lean". He adds a detail that tells you what kind of text it is. Its Theorem 1 begins by noting that, because the real numbers are ordered, a number different from 1/2 is either larger or smaller than 1/2.&lt;/p&gt;

&lt;p&gt;So the claim rests on the checker, and the first thing the community did was attack the checking from every side it could think of. Sutherland had the whole archive compiled by 16:43 UTC on the day of the announcement. Within a day and a half, his page and the &lt;a href="https://github.com/leanprover-community/riemann-hypothesis" rel="noopener noreferrer"&gt;Lean community's own repository&lt;/a&gt; recorded the following.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-2.png" alt="What has been checked about the Lean proof of the Riemann hypothesis and what has not. Checked: all 175,187 modules compile; the statement is Mathlib's own definition and matches a challenge file written independently; only Lean's three standard axioms are used; a second kernel written independently in Rust accepts the full proof; independent rebuilds by other people reproduce it. Not yet: a proof written for humans, and refereeing and understanding by mathematicians" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Everything a machine can settle was settled in about a day. The two rows at the bottom are the ones that take people, and time.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each row closes one way the result could be wrong. A proof can compile and prove the wrong statement, so the statements were compared with ones written by someone else. A checker can have a bug, so the proof was exported and run through kernels written independently, in a different language, by different people. An archive can smuggle in an assumption, so the axioms were listed: the same three every Lean proof uses. One of Sutherland's checks I find especially convincing because it leaves the zeta function out altogether. Combined with an independent formalization of a classical equivalence, the archive yields a statement about ordinary whole numbers: for every n above 5040, the sum of the divisors of n is less than e^γ · n · log log n. That is Robin's inequality, known since 1984 to be equivalent to the Riemann hypothesis. It can be tested on a pocket calculator, and it is now a theorem with no hypotheses.&lt;/p&gt;

&lt;p&gt;There is a detail in those pages that says something about the moment. Sutherland notes that his checks were "run with Claude Code". The most detailed public &lt;a href="https://github.com/nasqret/riemann-rev" rel="noopener noreferrer"&gt;map of the proof's architecture&lt;/a&gt; states that it was produced with an AI assistant. The proof was written with a model, and so were the tools used to audit it. What nobody delegated is the kernel: a small program, reviewed by people over years, that does nothing but check that each step follows from the previous ones.&lt;/p&gt;

&lt;p&gt;What all of this leaves open is the bottom of the figure. A kernel certifies that the theorem follows from the axioms. It does not say why. I made the same distinction about Navier–Stokes, where the model's drafts had to be &lt;a href="https://www.javieraguilar.ai/en/blog/writing-a-research-paper-with-ai" rel="noopener noreferrer"&gt;turned into something a person can read&lt;/a&gt;, but there a paper existed. Here the gap is total: the result is, as far as machines can tell, correct, and the understanding has not started. Terence Tao, in a &lt;a href="https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singularity-and-the-generalized-riemann-hypothesis/" rel="noopener noreferrer"&gt;short note&lt;/a&gt; the same day, ranked the day's announcements by how "digested" they were and put this one last: "I imagine the digestion process will take some time, though in this case at least we have a human author to communicate with to assist with this task."&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea, in one sentence
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A whole number that is divisible by many primes cannot be small.&lt;/strong&gt; That is the core of the argument, and the rest is the work of making it precise enough.&lt;/p&gt;

&lt;p&gt;Start with why an &lt;em&gt;upper bound&lt;/em&gt; is what you need. Riemann's formula says that each zero of ζ contributes a wave to the count of primes, and the real part of the zero sets how loud the wave is. If every zero has real part 1/2, every wave has an amplitude proportional to √y, where y is how far along the number line you are counting. A zero off the line, at real part 0.8 say, would be a wave growing like y to the power 0.8, and sooner or later it would drown the others.&lt;/p&gt;

&lt;p&gt;You can watch this with nothing but a list of primes. Take a weighted count of the primes up to y, subtract the amount you expect, and divide by √y:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-3.png" alt="The weighted prime count G(y), with its expected value subtracted and divided by the square root of y, computed for y from ten to ten million. The curve oscillates irregularly but never exceeds 0.023 in absolute value, well inside the band of plus or minus 0.0462 that the Riemann hypothesis predicts" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Computed from the primes up to ten million: the curve never exceeds 0.023, half the width of the band the hypothesis allows. A picture like this is evidence, not proof; the proof has to hold for every y. Script.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The hypothesis is the statement that this curve stays inside a band forever. And here is the first idea of the proof, a classical one sharpened: you do not need both sides of the band. A wave goes up as well as down. If you can show the count stays &lt;em&gt;below&lt;/em&gt; the ceiling across long stretches, there is no room for a louder wave, because a louder wave would have poked through. The proof needs only this one-sided bound, and only on some long intervals, as long as the combinations involved have positive weights, so that waves from different functions cannot cancel each other out. That piece is a refinement of a theorem of Landau from 1905, and it has been machine-checked on its own, in isolation from the rest.&lt;/p&gt;

&lt;p&gt;So the whole problem becomes: where can an upper bound on a count of primes come from?&lt;/p&gt;

&lt;p&gt;From divisibility. Take a positive whole number N. Every prime power dividing N contributes to its size, so if you add up log p over all the prime powers that divide N, you cannot exceed log N. If you know N is divisible by a great many primes, and you can measure N's size some other way, you have an inequality with a sum over primes on one side and a known quantity on the other. That is an upper bound on a count of primes.&lt;/p&gt;

&lt;p&gt;This is not a new trick. It is the oldest one. In 1850 Chebyshev applied it to the factorial: a! is divisible by each prime p about a/p + a/p² + … times, and its size is given by Stirling's formula. Out came the first proof that the number of primes up to x has the order of magnitude x/log x. The factorial is not divisible enough to give more than that. The announced proof runs the same principle with a much more divisible number. Alpöge's timeline records the starting point, dated 9 October: a quantity built from the derivatives of a theta function on an elliptic curve with extra symmetry, which is divisible by each suitable prime p about a/p + a/p³ + … times. It behaves like a factorial that only certain primes divide, and its size can be computed exactly.&lt;/p&gt;

&lt;p&gt;That, alone, does not give the square root. The second idea does, and it is the one Alpöge chose as the single line that would make "fellow mathematicians fall out of their chairs".&lt;/p&gt;

&lt;p&gt;&lt;em&gt;If you only want the idea, you have it: a number divisible by many primes cannot be small, and that turns into a ceiling on how irregular the primes can be. The next two sections show where the square root comes from and what the argument rests on, with a bit more mathematics; you can skip to Who did what without losing the thread.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the square root comes from
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The proof is a descendant of a 1969 argument for a different world, and the square root appears when you balance two costs.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Riemann hypothesis has a twin for curves over finite fields, where the analogue of counting primes is counting the points of a curve. That twin was proved by André Weil in the 1940s with heavy machinery, and then again, starting in 1969, by Sergei Stepanov with almost none. Stepanov's idea: build an auxiliary polynomial that vanishes at every point of the curve, and not just vanishes but vanishes &lt;em&gt;to high order&lt;/em&gt;, a zero of multiplicity m at each point. A polynomial cannot have more zeros, counted with multiplicity, than its degree. So the number of points times m is at most the degree, and that is an upper bound on the number of points. As in the previous section, upper bounds turn out to be enough.&lt;/p&gt;

&lt;p&gt;The obstacle to copying this for the ordinary primes is the word "multiplicity". To make a polynomial vanish to order m you differentiate it. There is nothing to differentiate in the whole numbers. Alpöge puts it this way: multiplicity "is hard to find over the integers, corresponding to something like differentiating whole numbers".&lt;/p&gt;

&lt;p&gt;The substitute is divisibility, obtained by iteration. The construction that produces the highly divisible number can be chained: apply it once and you gain a certain amount of divisibility, apply it m times in a row and you gain it m times over. The technical name of each link is a theta lift, a classical way of moving a symmetric function from one group to a larger one; I will not pretend the details are intuitive. The accounting is.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-4.png" alt="A dictionary between Stepanov's 1969 proof of the Riemann hypothesis for curves over finite fields and the announced proof over the integers. Vanishing to order m becomes divisibility of an m-fold chain of theta lifts. Counting zeros against the degree becomes weighing divisibility against size. The finite extensions of the field become the layers of a tower of number fields. In both, an upper bound is enough" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The note calls the argument "a descendant of Stepanov's". Each row replaces something that needs derivatives with something the whole numbers do have.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Each link in the chain costs something. To bound a prime count of length x with a chain of m links, the error has two parts. One shrinks as the chain gets longer, like x/m: more multiplicity, sharper bound. The other grows with the chain, like m: every link adds its own loss. The best you can do is make them equal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-5.png" alt="The error of the bound as a function of the number m of chained lifts, for a prime count of length x equal to ten thousand. One cost, x over m, falls as the chain gets longer; the other, m, rises. Their sum is smallest when m equals the square root of x, here one hundred, and the minimum is of the order of the square root of x" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The exponent 1/2 of the Riemann hypothesis, as the bottom of a trade-off. In the note, the suggestion to take a chain of length √X is credited to Claude.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;x/m equals m when m is √x, and the error is then of size √x. That is the square root of the Riemann hypothesis: the amplitude every wave is allowed to have. Alpöge's line, in full: "for the von Mangoldt sum of length X, Claude's suggested length of chain of theta lifts, in view of each mimicking multiplicity, was √X. (And yet, what else could it be?)"&lt;/p&gt;

&lt;p&gt;I should be clear about what I am doing here. This is the architecture as the note and the public reading guides describe it, and I have read those; I have not verified seventeen million lines, and neither has anyone else by eye. The picture can be right and the understanding of it still be shallow. That is the state of everyone this week, the author included.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it took underneath
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The simple idea sits on top of most of modern number theory, and the archive rebuilds that too.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The route from the idea to the theorem, as the reading guides lay it out:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-6.png" alt="The route of the proof in seven steps. Arithmetic supply: Galois representations attached to automorphic forms, from the Langlands programme, and Iwasawa theory bounding the loss of divisibility. The estimate: a chain of about square root of x theta lifts, where divisibility is weighed against size, and an averaging over characters with positive weights. The analytic engine: an upper bound on long windows excludes zeros to the right of the critical line. The destination: reflection by the functional equation gives the Riemann hypothesis and its generalization for Dirichlet L-functions" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;One hard estimate in the middle, classical analysis to its right, and to its left the part that makes the experts' eyes widen.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Two pieces of that picture deserve a sentence each. First, the divisibility is not perfect: at each link it fails by a little, and the size of the failure is measured by objects from Galois cohomology of the kind that appear in a famous unproved conjecture of Vandiver. The proof does not need that conjecture. It needs a bound on the total failure across a whole window, which it gets from Iwasawa theory; Alpöge calls it "a significant weakening of Vandiver" and adds, in a footnote, "this is still pretty strong!!"&lt;/p&gt;

&lt;p&gt;Second, both the sizes and that cohomology are controlled by Galois representations attached to automorphic forms, the central objects of the Langlands programme and the subject of some of the deepest papers of the last thirty years. A written proof would cite those papers. A Lean proof cannot cite anything Mathlib does not contain, so the archive carries its own formal construction of them. Chris Birkbeck, a number theorist at the University of East Anglia, described what he was seeing in the community's chat, quoted by &lt;a href="https://techcrunch.com/2026/11/20/ai-claimed-a-solution-to-the-167-year-old-riemann-hypothesis-and-a-human-did-too/" rel="noopener noreferrer"&gt;TechCrunch&lt;/a&gt;: the argument "genuinely uses the existence of Galois representations attached to regular algebraic, polarized cuspidal automorphic representations of GL_n over CM fields", along with a list of named theorems. Tao's first impression was that it "appears to use the full power of modern developments on the Langlands program and arithmetic geometry".&lt;/p&gt;

&lt;p&gt;That is a large part of why the archive is the size it is. It is a proof of the Riemann hypothesis, and it is also a formalization of a good share of a research area that had never been formalized. Alpöge's own intuition "insists it will be massively simplified, likely immediately".&lt;/p&gt;

&lt;p&gt;The shrinking has started, in public. A community site, &lt;a href="https://riemann.verifytask.cn/" rel="noopener noreferrer"&gt;riemann.verifytask.cn&lt;/a&gt;, keeps a running chart of attempts to make the Lean proof smaller, where a submission only counts if the result still passes verification. When I looked it showed 86 verified submissions, 26 of which had improved on the best so far, and the core of the proof 26.6% smaller than the original. The entries are signed by a person and a model: Claude Opus 5.5, several versions of Gemini 4, GPT-6. Reading the labels, most of this is housekeeping (pruning hundreds of files nothing depends on, collapsing twenty lemmas into one, inlining helpers) and not yet the conceptual simplification Alpöge is predicting. But it is people from different places, with models from three different labs, working on the same object two days after it appeared, with a machine deciding what counts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who did what
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A mathematician who had planned his whole career around this problem set the direction, and by his own account the model outran him at the end.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The note is unusually candid about the division of labour. Alpöge writes that the problem was his secret plan since his student days, and that he spent years learning every tool he might one day recognise in it. In this attempt he "had us on the line of combining two quite different ideas present in a toy setting" and "guided us to the right situation analogous to that toy setting, and then Claude began to leave me in awe". The decisive stretch involves automorphic forms on large groups, where he says he is "out of my element". For those parts, he warns, his own summary paraphrases a machine summary that "might make zero sense", and "the Lean should suffice to clarify everything".&lt;/p&gt;

&lt;p&gt;The timeline in the note, which he says Claude compiled, has twenty entries:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Friemann-hypothesis-proof-fig-7.png" alt="Timeline of the proof according to the author's note and the verification records. 6 October 2026: first entry, a Stepanov-type determinant. 9 October: the highly divisible quantity on a curve with complex multiplication. 15 November: eight entries in one day, including the chain of theta lifts of length about square root of X. 16 November: the generalized Riemann hypothesis. 19 November: Anthropic's stock market debut. 20 November: the announcement, and the first independent build finishes at 16:43 UTC. 21 November: independent kernels and rebuilds accept the proof" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Six weeks from the first entry to the last, with eight of the twenty entries dated to a single Sunday.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Three things the note does not say, and that I would want to know. It does not name the model; Tao describes it as "an internal AI model", so, as with OpenAI in September, this is not something you can run. It gives no figures for compute, tokens or agents, where OpenAI published all of them for Navier–Stokes. And it is not an Anthropic announcement: it is a note on a personal website, and I have not found a company statement.&lt;/p&gt;

&lt;p&gt;It does address the timing. Anthropic went public on Thursday 19 November; the note appeared the next morning. Alpöge writes that "the precise timing is horrible", that the proof came together "late Sunday night", that he messaged Dario Amodei, Anthropic's chief executive, to ask about announcing, that "there was a constraint to respect", and that he is "clearly unilaterally responsible for feeling I just could not live if I waited even longer". Of the cynical reading he says only that it is false. I have no way to check any of that, and I report it as his account.&lt;/p&gt;

&lt;p&gt;One piece of context makes the speed easier to place. In August, Anthropic &lt;a href="https://www.anthropic.com/research/riemann-zeta" rel="noopener noreferrer"&gt;reported&lt;/a&gt; that an unreleased version of Claude, asked by a non-mathematician on staff to "take a real stab" at the hypothesis, had raised the proven share of zeros on the critical line from 41.6% to 67.2%, and added: "We don't expect that the techniques Claude used will lead to proving the Riemann hypothesis." That was three months before the note.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is this a continuation of OpenAI's October result?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Not of the result people remember, but by the author's own account it grew out of a quieter paper in the same release.&lt;/strong&gt; That sentence is the whole answer; the rest of this section is the detail, and you can go straight to the other proof.&lt;/p&gt;

&lt;p&gt;In October, OpenAI published several hundred machine-written manuscripts, which I covered &lt;a href="https://www.javieraguilar.ai/en/blog/when-ai-chooses-the-questions" rel="noopener noreferrer"&gt;at the time&lt;/a&gt;. One of them is &lt;a href="https://github.com/openai/math/blob/main/preprints/The-Quasi-Riemann-Hypothesis-September-30-2026/paper.pdf" rel="noopener noreferrer"&gt;&lt;em&gt;The Quasi-Riemann Hypothesis&lt;/em&gt;&lt;/a&gt;: no zero of ζ, or of any Dirichlet L-function, has real part above 7/8. Until then nobody could exclude zeros from any strip at all to the left of real part 1, so this was the first real approximation to the hypothesis: the zeros are confined to a band, and the hypothesis says the band has zero width.&lt;/p&gt;

&lt;p&gt;The natural guess is that Alpöge's proof pushes 7/8 down to 1/2. It does not. OpenAI's proof is an analytic one: it compares two expressions for the same sum built from a classical object called a cubic theta series, and controls the difference with estimates of the large-sieve family. That kind of argument loses a fixed amount at each step and stalls. A &lt;a href="https://arxiv.org/abs/2610.12234" rel="noopener noreferrer"&gt;follow-up paper&lt;/a&gt; that re-optimised its parameters moved the bound from 0.875 to 0.87496.&lt;/p&gt;

&lt;p&gt;The kinship is with a sibling manuscript in the same family, &lt;a href="https://github.com/openai/math/blob/main/preprints/Uniform-exclusion-of-Landau-Siegel-zeros-October-1-2026/paper.pdf" rel="noopener noreferrer"&gt;&lt;em&gt;Uniform exclusion of Landau–Siegel zeros&lt;/em&gt;&lt;/a&gt;, which rules out one specific, notorious kind of zero very close to 1. Its result is weaker than the 7/8 theorem and follows from it, which is presumably why few people looked at it. Its method is the interesting part. It builds a determinant out of algebraic numbers, shows that the determinant is divisible by high powers of exactly those primes where a certain character takes the value −1, bounds its size separately, and gets a contradiction from the mismatch between the two. That is the skeleton I described above: divisibility weighed against size.&lt;/p&gt;

&lt;p&gt;Alpöge's note says so. OpenAI's "quiet inclusion of the Siegel argument", he writes, "showed great taste", and he "immediately recognized it as Stepanov without multiplicity". What his proof adds is the multiplicity, through the chain of lifts, and that is what turns an argument that could only exclude zeros next to 1 into one that reaches 1/2. The first entry in his timeline, "Stepanov determinant", is dated 6 October, the day OpenAI's repository went public.&lt;/p&gt;

&lt;p&gt;So the honest summary is: a different idea from the celebrated 7/8 proof, and a direct descendant of a neighbouring paper that almost nobody discussed. I am reading this from the two introductions and from the note, not from an expert comparison of the proofs, and I would expect people who know this area to refine it. It is still a remarkable detail. One lab published a pile of results it described as "raw research data", and a mathematician at the other lab found the thread that mattered in the part nobody was talking about.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other proof, the same afternoon
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Hours later, the president of the American Mathematical Society posted a human proof of the same theorem, and it is in a very different state.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ravi Vakil, of Stanford, published a draft by Alessandro Masullo claiming the Generalized Riemann Hypothesis. "It is all human, with no AI," he wrote; the hope had been to bring Masullo to Stanford for a year to polish the writing, and "now it seems best to put out the current draft". Brian Conrad, a Stanford number theorist, had been giving Masullo feedback for months. Masullo's own introduction, as &lt;a href="https://techcrunch.com/2026/11/20/ai-claimed-a-solution-to-the-167-year-old-riemann-hypothesis-and-a-human-did-too/" rel="noopener noreferrer"&gt;TechCrunch quotes it&lt;/a&gt;, says the work took twelve years and carries a message for mathematicians discouraged by the current climate: "we are still here. We are very much alive. We are not going anywhere."&lt;/p&gt;

&lt;p&gt;The status is not comparable, and the people closest to it say so. Conrad told &lt;a href="https://www.scientificamerican.com/article/dueling-claims-of-riemann-hypothesis-proofs-emerge/" rel="noopener noreferrer"&gt;Scientific American&lt;/a&gt; that the paper is "undergoing major revision" and that judging the method requires a more final version. Within about eight hours, &lt;a href="https://the-decoder.com/hours-after-anthropic-claims-a-claude-proof-of-the-riemann-hypothesis-stanford-releases-an-all-human-competing-draft/" rel="noopener noreferrer"&gt;according to The Decoder&lt;/a&gt;, Vakil updated his post: several people had reported problems in the draft, found with the help of AI models, and he made "no claim as to the correctness of the proof strategy".&lt;/p&gt;

&lt;p&gt;Put the two side by side and you get the oddest fact of the week. One proof has been checked completely and understood by nobody. The other was written to be understood and has been checked by nobody. Until this year those two properties came together, because the only way to check a proof was to understand it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Theorems that changed status overnight
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A century of results begin with the words "assuming the Riemann hypothesis". For the ones that need only what was proved, that clause can now be deleted.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As with &lt;a href="https://www.javieraguilar.ai/en/blog/navier-stokes-blows-up" rel="noopener noreferrer"&gt;Navier–Stokes&lt;/a&gt;, a conditional theorem does not change when its hypothesis is settled, but its meaning does. Some examples, sorted by which side of the scope they fall on.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Now unconditional, if the proof stands.&lt;/strong&gt; The sharpest form of the prime number theorem: for x ≥ 2657, the count of primes up to x differs from Gauss's estimate li(x) by less than √x · log x / 8π (Schoenfeld, 1976). Robin's inequality about sums of divisors, mentioned above. The primes in each arithmetic progression are as evenly distributed as the primes overall. Miller's primality test from 1976, which is fast and deterministic &lt;em&gt;provided&lt;/em&gt; GRH for Dirichlet L-functions holds, is now simply correct; in practice nothing changes, because an unconditional fast test has existed since 2002.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Theorems that had been proved twice.&lt;/strong&gt; Gauss conjectured that a certain count attached to quadratic number fields, the class number, grows without bound. Hecke proved it assuming GRH. In 1934 Heilbronn proved it assuming GRH is &lt;em&gt;false&lt;/em&gt;. Between them the conjecture became a theorem with nobody knowing which proof was the valid one. We now know: Hecke's.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not covered.&lt;/strong&gt; Anything that needs the hypothesis for the zeta functions of number fields beyond the simplest kind, or for L-functions of elliptic curves and automorphic forms. Artin's conjecture on primitive roots, which Hooley proved in 1967 under such a hypothesis, stays conditional. So do many effective results in algebraic number theory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not affected at all.&lt;/strong&gt; Cryptography. No deployed system rests on the Riemann hypothesis being false, and knowing it is true does not factor any number faster.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What mathematicians expect to matter is the method more than the list. Carlo Pagano, of Concordia University, told &lt;a href="https://www.scientificamerican.com/article/anthropic-mathematician-claims-to-prove-riemann-hypothesis-most-famous-problem-in-all-of-math/" rel="noopener noreferrer"&gt;Scientific American&lt;/a&gt; it is "very plausible" that the new ideas "will open up brand new avenues of thinking in number theory". That depends on the ideas being extracted, which brings it back to the two amber rows.&lt;/p&gt;

&lt;p&gt;On the million dollars, the same answer as in September. The Clay Mathematics Institute requires publication in a qualifying outlet, a wait of two years, and general acceptance by the mathematical community. An archive that no one has read is, for now, none of those.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same day, the other Millennium problem
&lt;/h2&gt;

&lt;p&gt;In September I ended the Navier–Stokes article with a ladder whose top rung was empty: the unforced equations, the question most people actually mean. Tao's note of 20 November lists, above the Riemann item and as better digested, two more announcements involving Alpöge and Tristan Buckmaster of NYU: a human-readable proof, with Matei Coiculescu, of finite-time blow-up for the &lt;em&gt;unforced&lt;/em&gt; three-dimensional Euler equations, and a proof of finite-time blow-up for the &lt;em&gt;unforced&lt;/em&gt; three-dimensional Navier–Stokes equations, both with Lean formalizations. Of the second, Tao says the strategy is "broadly clear" and follows an expected path, but that "more work needs to be done to create a proper, professionally written proof". I have not read either, and they deserve their own piece. I note it here because that top rung now has a claimant, and it is the pair whose route OpenAI finished first in September.&lt;/p&gt;

&lt;h2&gt;
  
  
  "Math is dead"
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;I have read that sentence a lot this week, and I think it is the opposite of what happened. My view is that mathematics is more alive than it has ever been.&lt;/strong&gt; Three reasons, in increasing order of importance.&lt;/p&gt;

&lt;p&gt;The first is simply how many people are looking. A problem about the zeros of a function was front-page news, and people who had not thought about prime numbers since school spent a weekend asking what a critical line is. Even if that were the only effect, a subject that the whole world stops to watch is not a dead one.&lt;/p&gt;

&lt;p&gt;The second is that the capacity to solve problems went up, and so did the capacity to &lt;em&gt;understand&lt;/em&gt; them. Much of this week's commentary takes for granted that we now have answers without understanding, and that the understanding is lost. Look at what actually happened. Within a day of the announcement there was a public map of the proof's architecture, a guide to its seven steps and a list of which parts had been checked in isolation, all produced with AI assistance. The problems in the human draft were found by people working with AI models. The proof itself is already a quarter smaller, shrunk by volunteers and their models on a public leaderboard. The author's plan for understanding his own proof is to work through it with the same tool that helped find it. Understanding is the part that is behind, and AI is the main reason it will not stay behind for long. I do not see how anyone digests seventeen million lines without it.&lt;/p&gt;

&lt;p&gt;The third is what it opens. This proof connects a 1969 argument about curves over finite fields, a classical construction with theta functions, Iwasawa theory and the Langlands programme, in a combination nobody had tried, partly because trying it by hand would have cost a career. When exploring a route costs weeks, far more routes, tools and connections get explored. The questions do not run out: the wider forms of the hypothesis are still open, the proof is waiting to be simplified, and every theorem that used to say "assuming RH" is now a starting point. Alpöge, who by his own account has just lost the problem that guided his life, calls it a dawn. Sutherland calls it "a human triumph, and a day for celebration". Masullo, with twelve years of work overtaken in an afternoon, writes "we are still here".&lt;/p&gt;

&lt;p&gt;What has ended is something narrower: the idea that being the first to find a proof is the main thing a mathematician is for. Choosing what is worth proving, recognising that a toy case hides the real one, and explaining why something is true were always most of the job. They are now the scarce part.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to take from it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What was proved is the Riemann hypothesis and its generalization to Dirichlet L-functions&lt;/strong&gt;, in Mathlib's own wording. The wider versions of GRH are not in the archive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Correct and understood have come apart.&lt;/strong&gt; Everything a machine can check was checked within about a day, by independent people with independent tools. Nothing a referee does has been done, and no human-readable proof exists. Neither fact cancels the other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The central idea is old and simple.&lt;/strong&gt; A number divisible by many primes cannot be small; Chebyshev used it in 1850. The square root comes from balancing the length of a chain against the cost of each link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The idea is simple; what holds it up is not.&lt;/strong&gt; It rests on a formal reconstruction of a large part of the Langlands programme, which is where most of the seventeen million lines go.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A human chose the route and the model finished it.&lt;/strong&gt; That is the author's own description. He also says he cannot yet explain the last stretch, and that understanding it is the work that starts now.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The model is not one you can use, and the numbers behind the run are not public.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mathematics is not dead.&lt;/strong&gt; More people are watching it than ever, the tools that found the proof are the ones that will explain it, and far more routes can now be explored.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For anyone building with agents, the part of this that transfers is not the mathematics. It is that the result was accepted in a day because a small, independent, well-understood checker existed, and because the statement to be checked had been written down by someone else beforehand. Where your work has both of those, you can let a model run a long way ahead of you. Where it has neither, the 250,000 pages are all you get.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Sources: &lt;a href="https://alpo.ge/remark.pdf" rel="noopener noreferrer"&gt;Alpöge's announcement&lt;/a&gt;; &lt;a href="https://math.mit.edu/~drew/grh/" rel="noopener noreferrer"&gt;Andrew Sutherland's verification files&lt;/a&gt; at MIT; the Lean community's &lt;a href="https://github.com/leanprover-community/riemann-hypothesis" rel="noopener noreferrer"&gt;verification repository&lt;/a&gt;; the independent &lt;a href="https://github.com/nasqret/riemann-rev" rel="noopener noreferrer"&gt;map and guide to the proof&lt;/a&gt;; &lt;a href="https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singularity-and-the-generalized-riemann-hypothesis/" rel="noopener noreferrer"&gt;Terence Tao's note&lt;/a&gt;; Scientific American on &lt;a href="https://www.scientificamerican.com/article/anthropic-mathematician-claims-to-prove-riemann-hypothesis-most-famous-problem-in-all-of-math/" rel="noopener noreferrer"&gt;the announcement&lt;/a&gt; and on &lt;a href="https://www.scientificamerican.com/article/dueling-claims-of-riemann-hypothesis-proofs-emerge/" rel="noopener noreferrer"&gt;the two claims&lt;/a&gt;; &lt;a href="https://techcrunch.com/2026/11/20/ai-claimed-a-solution-to-the-167-year-old-riemann-hypothesis-and-a-human-did-too/" rel="noopener noreferrer"&gt;TechCrunch's report&lt;/a&gt;; and Anthropic's August post on &lt;a href="https://www.anthropic.com/research/riemann-zeta" rel="noopener noreferrer"&gt;Claude and the zeros of the zeta function&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/riemann-hypothesis-proof" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mathematics</category>
      <category>agents</category>
      <category>research</category>
    </item>
    <item>
      <title>The Pipeline Nobody Opened</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:16:01 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/the-pipeline-nobody-opened-50mo</link>
      <guid>https://dev.to/javieraguilarai/the-pipeline-nobody-opened-50mo</guid>
      <description>&lt;p&gt;There is a case study on this site called &lt;a href="https://www.javieraguilar.ai/en/projects/data-source-automator" rel="noopener noreferrer"&gt;Data Source Automator&lt;/a&gt;. You give it a public registry, and a chain of agents researches the source, writes the requirements, designs the API contract, generates the microservice, deploys it and verifies it. I still stand behind that page. The pipeline did what it says.&lt;/p&gt;

&lt;p&gt;And yet, after several iterations and rounds of testing, the project failed. Not because it produced bad services, but because the developers it was built for didn't want to use it. So we are turning it into something else: a plugin for the coding agent those same developers already have open.&lt;/p&gt;

&lt;p&gt;I think the reason it failed is more interesting than any of the technical work, and it is the same argument I made a few months ago in &lt;a href="https://www.javieraguilar.ai/en/blog/bring-your-app-to-the-agent" rel="noopener noreferrer"&gt;Bring Your App to the Agent&lt;/a&gt;, this time learned the hard way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working is not the same as being used
&lt;/h2&gt;

&lt;p&gt;When I talked to the developers, the complaint was not about quality. It was about friction. Using the pipeline meant leaving their usual flow, going to another application, feeding it a source, waiting, and then reviewing what came out. Compared with how they already work, it offered less interactivity and less information.&lt;/p&gt;

&lt;p&gt;That comparison is the whole story. Their usual flow is not "write everything by hand". Their usual flow is Claude Code or Codex in a terminal: they ask, they watch what the agent reads and changes, they interrupt when it goes the wrong way, they correct it in the next message. Against that baseline, a platform that takes the task away and returns a result feels like a step back, even if the result is good. You see less of what happened and you have fewer moments to steer it.&lt;/p&gt;

&lt;p&gt;And it was circular. When something in the output was wrong, the fix didn't happen in the platform: they went back to their own editor and their own agent to correct it. We made them leave their way of working to use the pipeline, and the moment anything failed, the pipeline sent them straight back to it. The platform added a round trip without removing the place they ended up in anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Another framework for writing code
&lt;/h2&gt;

&lt;p&gt;Looked at from there, part of what we built makes little sense. Developers already use AI to write code. Building a second framework whose job is also to write code means competing with the tool they chose, not helping them with it. The same goes for the requirements stage: people already draft and discuss requirements with Claude, Codex or ChatGPT. A separate interface for that is one more place to go, not one less.&lt;/p&gt;

&lt;p&gt;The valuable part was never the framework. It was the knowledge of how to do this specific job: how to research a registry, what the requirement documents need to contain, what the contract with the frontend looks like, which checks a service has to pass before anyone trusts it. That knowledge can live in a different container.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthe-pipeline-nobody-opened-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fthe-pipeline-nobody-opened-fig-1.png" alt="Before: the developer works in their own coding agent and has to go to a separate platform with its own interface, agents and API billing to use the pipeline. After: the same pipeline runs as a plugin inside the developer's coding agent, so there is one place to work." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The phases didn't change. What changed is where they run: inside the tool the developer already uses, instead of next to it.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What the plugin format gives
&lt;/h2&gt;

&lt;p&gt;Turning the pipeline into a &lt;a href="https://www.javieraguilar.ai/en/skills#data-source-automator" rel="noopener noreferrer"&gt;Claude Code plugin&lt;/a&gt; keeps the phases and changes everything around them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No API bill anywhere.&lt;/strong&gt; The developer already pays for a Claude or Codex subscription. The plugin runs on it. There are no keys to provision, no per-run cost to justify, no separate budget line for "the automation". The economics stop being a conversation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Feedback goes straight in.&lt;/strong&gt; In the platform, a correction meant leaving it again, back to their own tools to fix the result there. Inside the agent, a correction is the next message. The developer sees the research as it happens, sees which files the agent is writing, and can stop it the moment something looks off. That is exactly the interactivity and information they said was missing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No extra interface.&lt;/strong&gt; The conversation is the interface. Nobody has to learn where things are, keep another tab open, or remember that the tool exists. The review screen we would otherwise have to design, build and maintain is the one they already know.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The knowledge stays, the plumbing goes.&lt;/strong&gt; The domain rules, the order of the phases and the checks that decide whether a service is ready are all still there, written as skills and scripts the agent follows. What disappears is the part we had to build only because we were running our own agents: orchestration, session handling, a UI, a backend to hold it all together. That is plumbing the coding agent already provides.&lt;/p&gt;

&lt;h2&gt;
  
  
  The case study still stands
&lt;/h2&gt;

&lt;p&gt;I don't read this as "the pipeline was a mistake". It proved the job could be automated end to end, and the plugin inherits all of what it learned. The case study describes a capability, and the capability is still there. What failed was the delivery: we put it somewhere the developers had to go to, when they already had somewhere they were.&lt;/p&gt;

&lt;p&gt;That is also why the plugin now appears on my &lt;a href="https://www.javieraguilar.ai/en/skills" rel="noopener noreferrer"&gt;Plugins &amp;amp; Skills page&lt;/a&gt; next to the others, with the same phases as the original pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  The question I would ask earlier next time
&lt;/h2&gt;

&lt;p&gt;In &lt;a href="https://www.javieraguilar.ai/en/blog/bring-your-app-to-the-agent" rel="noopener noreferrer"&gt;Bring Your App to the Agent&lt;/a&gt; I wrote that the user already has an AI and doesn't want another app. I was thinking of consumer products. It turns out to apply even more strongly inside a company, to developers, who are the people most likely to already live inside an agent. And as I described in &lt;a href="https://www.javieraguilar.ai/en/blog/the-interface-moved-up" rel="noopener noreferrer"&gt;The Interface Moved Up&lt;/a&gt;, the place where they live keeps getting better at showing them what matters.&lt;/p&gt;

&lt;p&gt;None of this means every AI tool should be a plugin. If the people who will use it don't already work inside an agent, or the work has to run with nobody watching, a platform of its own can still be the right call. But before building an AI tool for people who already use AI every day, I would now ask one question first: &lt;strong&gt;does this compete with the agent they already have, or plug into it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We answered that question late. The plugin is the answer we should have started with.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;The plugin is internal, so the repository is private; its phases and skills are described on the &lt;a href="https://www.javieraguilar.ai/en/skills" rel="noopener noreferrer"&gt;Plugins &amp;amp; Skills page&lt;/a&gt;. The original pipeline is documented in the &lt;a href="https://www.javieraguilar.ai/en/projects/data-source-automator" rel="noopener noreferrer"&gt;Data Source Automator case study&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/the-pipeline-nobody-opened" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>aiagents</category>
      <category>claudecode</category>
      <category>developertools</category>
      <category>product</category>
    </item>
    <item>
      <title>ChatGPT Reads the Lyrics, Not the Tune</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Sat, 21 Nov 2026 16:10:34 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/chatgpt-reads-the-lyrics-not-the-tune-4c6e</link>
      <guid>https://dev.to/javieraguilarai/chatgpt-reads-the-lyrics-not-the-tune-4c6e</guid>
      <description>&lt;p&gt;When you talk to ChatGPT it feels like it is listening. I wanted to know what actually arrives on the other side, so I picked the simplest thing a voice carries besides words: a melody. I hummed Happy Birthday to ChatGPT, in every way the app lets me speak to it, and then ran the same question at scale through the voice models OpenAI sells to developers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two buttons, two different things
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The microphone and the voice button do not do the same job.&lt;/strong&gt; The small microphone is Dictation: &lt;a href="https://help.openai.com/en/articles/20001274-chatgpt-voice" rel="noopener noreferrer"&gt;OpenAI's help page&lt;/a&gt; describes it as turning a recording into editable text, which you then send like anything you typed. The other button opens Voice, a spoken conversation that today runs on a model called GPT-Live-1.1.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-1.png" alt="Dictation turns the voice into text before the model sees it, so a hum arrives as an empty message; Voice sends the sound itself to a voice model" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;With Dictation the model only ever sees text, and a hum has no text. With Voice the sound itself reaches a model, so the question becomes what that model does with it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dictation wrote nothing.&lt;/strong&gt; I hummed Happy Birthday twice, once as "hmmm" and once as "na na na", and both times the text box stayed empty. That is the expected outcome of a transcriber: there were no words to write down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Voice told me it could not do it.&lt;/strong&gt; I said I was going to hum a song and asked which one it was. Before I had hummed a note it answered, in Spanish, which is how I was speaking to it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I'd love to, but right now I can't identify songs from humming or melodies. We're working on it and I'll be able to soon. If you like, tell me a line of the lyrics and we'll see if we can track it down together.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I tried again in a new chat, humming with no warning and then asking what song it was, and got the same answer. Then I sang "Cumpleaños feliz" with its words, and it replied at once that it was Happy Birthday.&lt;/p&gt;

&lt;p&gt;So the product is honest about the limit. What I could not tell from the app is whether the model behind it hears a melody and is held back, or does not hear it well enough to try. For that I went to the models directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same question, through the API
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;I tested three ways of getting a voice into an OpenAI model&lt;/strong&gt;, all deployed on Azure OpenAI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Transcribe, then ask&lt;/strong&gt;: &lt;code&gt;gpt-4o-mini-transcribe&lt;/code&gt; writes down the audio and &lt;code&gt;gpt-6-luna&lt;/code&gt;, a text model, answers from the transcript. This is what Dictation does, and it is also the baseline that hears nothing but words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;gpt-audio-1.5&lt;/code&gt;&lt;/strong&gt;: a chat model that takes the audio file as input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;gpt-realtime-2.1&lt;/code&gt;&lt;/strong&gt;: the speech-to-speech model developers use to build voice agents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these is GPT-Live, the model inside ChatGPT's Voice, which I could only test through the app. They are OpenAI's voice models as a developer gets them.&lt;/p&gt;

&lt;p&gt;For recordings I used &lt;a href="https://zenodo.org/records/1290712" rel="noopener noreferrer"&gt;MTG-QBH&lt;/a&gt;, a research set of 118 clips of people singing or humming pop songs with no accompaniment. I took the first 20 seconds of each and asked every route which song it was. A text model graded the answers, and I checked its verdicts against a literal title match. From two transcripts per clip I sorted them into 76 sung with lyrics, 30 with no words at all, and 12 in between.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-2.png" alt="With lyrics the three routes name between 71 and 74 of 76 songs; without words they name 0, 1 and 1 of 30" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Songs named correctly on MTG-QBH. The route that only reads a transcript does as well as the two that receive the audio, and all three collapse when the words go away.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With lyrics, the route that only reads a transcript named 71 of 76 songs, the same as &lt;code&gt;gpt-audio-1.5&lt;/code&gt;.&lt;/strong&gt; &lt;code&gt;gpt-realtime-2.1&lt;/code&gt; named 74. The audio added nothing I could measure over the words. Without words, the three routes named 0, 1 and 1 of 30, and the single hit was "Ob-La-Di, Ob-La-Da", whose syllables are the title.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When &lt;code&gt;gpt-realtime-2.1&lt;/code&gt; did guess, it guessed "Hey Jude".&lt;/strong&gt; I ran each wordless clip three times: 64 of its 90 answers were "unknown" and 19 were "Hey Jude", for hums of "Bohemian Rhapsody", "Smells Like Teen Spirit" or "Sweet Home Alabama". A "na na na" was enough to call it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Maybe they hear it and cannot name it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The obvious objection is that naming a song is hard even if you hear the melody.&lt;/strong&gt; So I made the task easy. &lt;a href="https://www.kaggle.com/datasets/jesusrequena/mlend-hums-and-whistles" rel="noopener noreferrer"&gt;MLEnd Hums and Whistles&lt;/a&gt; is a set of people humming and whistling eight film songs. I sampled 120 hums, 15 per song, from 95 different people, and gave the model the list of eight to choose from. Guessing blindly scores 12.5 %.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gpt-realtime-2.1&lt;/code&gt; picked the right one in 11 of 120, or 9 %. The transcript-only baseline, which for most of these clips received an empty transcript, got 16 of 120. Hearing the hum was no better than not hearing it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-3.png" alt="Each of the eight songs was hummed 15 times, but gpt-realtime-2.1 chose Harry Potter 50 times, The Pink Panther 37 and Star Wars 32, and almost never the other five" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What gpt-realtime-2.1 chose for 120 hums when given the eight titles. It spread its answers over three of them whatever was hummed, which is what choosing without hearing the melody looks like.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Its choices did not follow the audio.&lt;/strong&gt; Every song was hummed 15 times, yet the model answered Harry Potter 50 times, The Pink Panther 37 and Star Wars 32, and the other five songs once between them. Asked openly, with no list, it named 1 hum of 119.&lt;/p&gt;

&lt;h2&gt;
  
  
  My own voice, and a model that does hear it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;I recorded myself so I could hold the song fixed and change one thing at a time.&lt;/strong&gt; Four hums (Happy Birthday, Ode to Joy, Jingle Bells and The Beatles' "Dear Prudence"), Happy Birthday sung with its words, and one trick recording: the words of Happy Birthday sung to the tune of Jingle Bells.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fchatgpt-cant-hear-a-tune-fig-4.png" alt="None of the OpenAI routes named any of my four hums, all named the song once it had words, and all said the tune of the crossed recording was Happy Birthday; hum2song ranked the right tune first for the three hums in its catalogue" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;My recordings. The three OpenAI routes fail on every hum and succeed as soon as there are words; a small model that only sees the melody's contour finds the three hums it has in its catalogue.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No route named any of the four hums; all of them named the song once it had words.&lt;/strong&gt; The trick recording is the clearest result. I asked separately for the song the words belong to and the song the tune belongs to, and all seven answers said the tune was Happy Birthday. Asked directly about the melody, the models answered from the lyrics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A small model that looks only at the melody had no trouble.&lt;/strong&gt; &lt;a href="https://github.com/luiginotmario/hum2song" rel="noopener noreferrer"&gt;hum2song&lt;/a&gt; is an open model that turns the pitch contour of a recording, how the note moves up and down over time, into a vector and compares it with the contours of known tunes. It runs on my laptop. I gave it a catalogue of 15 well-known melodies and my three hums that are in it, and it ranked the right tune first for each. Given the same list of 15 to choose from, &lt;code&gt;gpt-realtime-2.1&lt;/code&gt; picked the right one in 0 of 9 tries and &lt;code&gt;gpt-audio-1.5&lt;/code&gt; in 2 of 9; the transcript-only route, with nothing to go on, got 1 of 3. Three hums by one person are an example, not a measurement, but they show the information is in the recording.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does get through
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The voice models are not deaf to everything beyond words.&lt;/strong&gt; On &lt;a href="https://zenodo.org/records/1188976" rel="noopener noreferrer"&gt;RAVDESS&lt;/a&gt;, where actors say the same sentence in different emotions, I used 48 clips across four emotions: &lt;code&gt;gpt-audio-1.5&lt;/code&gt; got the emotion in 37 and &lt;code&gt;gpt-realtime-2.1&lt;/code&gt; in 28 of 47, against 12 expected by chance. And when I sang two notes more than an octave apart, &lt;code&gt;gpt-realtime-2.1&lt;/code&gt; said which was higher all six times I asked.&lt;/p&gt;

&lt;p&gt;So some of the sound arrives: enough for a coarse emotion or a wide jump in pitch, not enough to follow a melody. That is the precise version of the title. Tone of voice was something I only probed, and I will not claim more for it than those numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I take from it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If the words are the same, assume the model got the same message.&lt;/strong&gt; That is the practical reading for anyone building on these models, a phone agent for customer service for example: a pipeline that transcribes first hands the model text and nothing else, and a speech-to-speech model hears more than that, but less than the conversation feels like.&lt;/p&gt;

&lt;p&gt;This is the same shape I found with images in &lt;a href="https://www.javieraguilar.ai/en/blog/perception-edges-of-language" rel="noopener noreferrer"&gt;One Grey Level Out of 255&lt;/a&gt;: what a model perceives is not what I would perceive in its place, in either direction, and the only way to know is to measure.&lt;/p&gt;

&lt;p&gt;The limits are worth stating. I tested ChatGPT itself by hand, a few times, in Spanish, and it declined rather than tried. The measurements are on three OpenAI models through the API, on the first 15 to 20 seconds of each recording, and the MTG-QBH clips come from only 17 singers. I did not test other companies' models.&lt;/p&gt;

&lt;p&gt;ChatGPT says it is working on this, and it may be fixed by the time you read it. The interesting question is the one behind it: what would it take for a model like this to hear a tune, and whether handing it a tool that does is the shorter road. That is the next piece.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/chatgpt-cant-hear-a-tune" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>voice</category>
      <category>evaluation</category>
      <category>multimodal</category>
    </item>
    <item>
      <title>The caveat that became the pitch</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Fri, 20 Nov 2026 16:59:13 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/the-caveat-that-became-the-pitch-mae</link>
      <guid>https://dev.to/javieraguilarai/the-caveat-that-became-the-pitch-mae</guid>
      <description>&lt;p&gt;A few weeks ago I was reviewing a deck about &lt;a href="https://www.javieraguilar.ai/en/projects/compliance-classifier" rel="noopener noreferrer"&gt;an industry classification service I work on&lt;/a&gt;, to be presented to the company's CEO. Slide three, the one about why the problem is hard, had a card that said: &lt;em&gt;506 classes. The right one is rarely in the company name.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I cut it, and then realised I had cut the same idea before: from promo videos, from drafts, from a demo guide. Whenever an agent wrote something about this product for people to read, sooner or later it said, in one form or another, that the service doesn't classify companies by their name.&lt;/p&gt;

&lt;p&gt;That is selling a car because it has wheels. Nobody evaluating a classifier assumes it reads the sign over the door and stops there, so nobody sees that as a risk the product protects them from. As a selling point it says nothing. I wanted to know how it got there, and whether I could stop it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the sentence came from
&lt;/h2&gt;

&lt;p&gt;A couple of months earlier a client had sent us an evaluation set of about 500 companies, along with a report that scored the service at 54%. &lt;a href="https://www.javieraguilar.ai/en/blog/the-grader-knew-less" rel="noopener noreferrer"&gt;I wrote about that set at the time&lt;/a&gt;: its labels had been derived from the company names, a name-only predictor matched them better than the classifier did, and finding a company's real website made the score go &lt;em&gt;down&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;That finding was correct, and it was useful for evaluation. It meant: don't score against that set, and if people are going to build a reference set by hand, tell them not to guess from names, because that is exactly what went wrong last time. It says nothing a buyer cares about. It is a caveat about one measuring instrument, not a property of the product.&lt;/p&gt;

&lt;h2&gt;
  
  
  The chain
&lt;/h2&gt;

&lt;p&gt;The agent I work with keeps full transcripts of its sessions, so I could check how the sentence travelled instead of guessing. The logs I still have go back to mid-September; anything older is gone, so the first two pieces below are documents I can date but whose origin I can't trace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhu63vh9w9yy8q3muo93b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhu63vh9w9yy8q3muo93b.png" alt="One evaluation finding fed two branches. On the reviewer branch the rule stayed with its audience. On the product branch a single presenter line in a demo runbook became the central message of a demo guide, verified by a read 82 minutes before the write, and then appeared in a CEO deck with no source found." width="800" height="711"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Two branches from one finding. On the left the rule stays with the people it was written for. On the right one line of a presenter's script becomes the thesis of a guide and then a slide. Solid arrows are a read followed by a write in the same session.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;On the reviewer side, eleven days after the finding there was a manual for the people who would adjudicate companies by hand: &lt;em&gt;The one rule: never decide what a company does from its name.&lt;/em&gt; For that audience the rule is right. A month later a reviewer guide for a client benchmark was written in a session that had opened that manual twice. Thirteen minutes after the second read, the new guide said &lt;em&gt;The one rule. Never classify from the name&lt;/em&gt;, almost word for word. Still the right audience.&lt;/p&gt;

&lt;p&gt;On the product side, eighteen days after the finding, a demo runbook for a prospect had one line in the presenter's script, for one case: &lt;em&gt;It didn't guess from the name — it read the company's own filings.&lt;/em&gt; About five weeks later I asked for a guide for an internal demo, with representative cases. The session read that runbook and, 82 minutes later, wrote a guide whose central callout said: &lt;em&gt;The idea to get across: it doesn't classify by name.&lt;/em&gt; One line of a script had become the thesis.&lt;/p&gt;

&lt;p&gt;Ten days after that came the CEO deck. There I couldn't find a source: nothing that entered that session before the card was written said it. The closest thing was a subagent that had read "its gold is name-derived" in a results document. It may be that by then the idea also sat in the general repertoire of "why this is hard" openers. The logs don't say.&lt;/p&gt;

&lt;p&gt;I didn't ask for it anywhere. The requests were "adjust the manual", "a guide with representative cases", "a deck for the CEO".&lt;/p&gt;

&lt;h2&gt;
  
  
  Why copying forward amplifies
&lt;/h2&gt;

&lt;p&gt;Three things happen along the chain, and none of them is a bug on its own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The nearest document becomes the template.&lt;/strong&gt; To write a guide, the agent looks for the guide that already exists and starts from it. That is what I would want: it reuses structure, cases and tone that someone already approved. It also reuses claims without deciding them again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Each rewrite compresses, and compression promotes what is quotable.&lt;/strong&gt; A presenter line about one case is easy to lift; a careful paragraph about taxonomies is not. When a long runbook becomes a one-page guide, the memorable sentence survives and moves up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The audience doesn't travel with the sentence.&lt;/strong&gt; A rule written for people building a reference set reached a prospect, an internal demo and a CEO without anyone asking whether that reader cares.&lt;/p&gt;

&lt;p&gt;Underneath there is something I recognised from &lt;a href="https://www.javieraguilar.ai/en/blog/the-memory-that-was-true" rel="noopener noreferrer"&gt;auditing my agent's memories&lt;/a&gt;: what gets written down is what was hard to find out. The name-derived labels were the best-evidenced, most hard-won fact about evaluating this product, so they were all over the notes and documents. Being well documented made the idea look important. Whether it mattered to a buyer was never checked.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fixing it
&lt;/h2&gt;

&lt;p&gt;My first correction, the day of the deck, went into the memory of the project where the deck was made. That is the natural place, and it isn't enough: sessions in the service's own repository never load it, and the documents that start the chain were still there to be read and copied.&lt;/p&gt;

&lt;p&gt;The agent's proposal for the next step was the simple one: a prohibition everywhere a session can load it. &lt;em&gt;Don't sell the product on not classifying by name&lt;/em&gt;, in the global instructions, in the service's memory and next to the runbook. I let it go ahead and tested it, and it worked. It was still the wrong fix. A prohibition covers only the sentence it names, so the next well-documented caveat starts the cycle again, and it is the kind of fix I have argued against before: in &lt;a href="https://www.javieraguilar.ai/en/blog/what-has-already-happened" rel="noopener noreferrer"&gt;an earlier experiment&lt;/a&gt; a plain-language prohibition left a failure at 96%, and &lt;a href="https://www.javieraguilar.ai/en/blog/a-role-not-a-rule" rel="noopener noreferrer"&gt;a role works better than a rule&lt;/a&gt; when the purpose is what tells the cases apart.&lt;/p&gt;

&lt;p&gt;So I tested three fixes against doing nothing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Prohibition.&lt;/strong&gt; The rule above, wherever a session can load it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role and product story.&lt;/strong&gt; No prohibitions. A short product story: what the reader decides with the service, why it is hard (506 ANZSIC classes, 923 NAICS Canada industries, 731 UK SIC codes; scattered and outdated evidence; each client's own risk policy) and the proof points with their sources. Wherever sessions load instructions, one line: write as someone explaining to this reader what they decide with the product, starting from the product story; older documents supply facts and cases. The reviewer guides now open with their purpose and audience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role, product story and a corrected source.&lt;/strong&gt; The same, plus a revised runbook where the one presenter line is rewritten from the product story. The original stays in an archive folder.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Four tasks, none of them mentioning names: the "why this is hard" section of a brochure, a presenter guide built from the old runbook, the "problem" slide of a deck for the CEO, and a LinkedIn announcement. Five fresh sessions per task and condition, each one restored to its exact state before the next.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faewogffn5nkrsfcc5s3z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faewogffn5nkrsfcc5s3z.png" alt="Presenter guides written from the old runbook that still sold the product on not classifying by name, out of five per condition: five with no fix, zero with a prohibition, three with a role and a product story, zero once the runbook line was also corrected." width="799" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Presenter guides written from the old runbook that still sold the product on the name. The role moved the key message but not the copied line; correcting the runbook removed it without naming it anywhere.&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;No fix&lt;/th&gt;
&lt;th&gt;Prohibition&lt;/th&gt;
&lt;th&gt;Role + story&lt;/th&gt;
&lt;th&gt;+ corrected source&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Presenter guide from the old runbook&lt;/td&gt;
&lt;td&gt;5/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;3/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Brochure, "why this is hard"&lt;/td&gt;
&lt;td&gt;3/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CEO slide, "the problem"&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LinkedIn announcement&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;0/5&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The corrected source only matters to tasks that read the runbook, so I ran it on that one.&lt;/p&gt;

&lt;p&gt;The prohibition worked: none of the 20. It worked on the sentence it named, though, and in one demo guide it leaked into the deliverable as a note to the presenter: &lt;em&gt;don't say it doesn't classify by name&lt;/em&gt;. A rule about what not to say can end up in what gets said.&lt;/p&gt;

&lt;p&gt;The role and the product story worked on the message. All 20 sessions opened the product story, the brochures led with what the reader decides, and the five demo guides took their key message from it: &lt;em&gt;the AI proposes, controls decide, your analysts stay in charge&lt;/em&gt;. What it didn't stop was copying. Three of the five demo guides still carried the runbook's line into the script for the first case, word for word, after reading the product story. A role decides where the message comes from; it doesn't stop an agent lifting a sentence from the template in front of it.&lt;/p&gt;

&lt;p&gt;Correcting the source did. With that line rewritten in the runbook, none of the five guides used it, including two sessions that also opened the archived original.&lt;/p&gt;

&lt;p&gt;Two tasks didn't discriminate: the CEO slide and the LinkedIn announcement came out clean in every condition, doing nothing included. The deck that failed was written from a different project, and the LinkedIn task was meant to show whether a role covers caveats a prohibition wouldn't name; with nothing leaking even without a fix, it can't. The limits are the usual ones: one repository, one model, five runs per cell, scored by me and not blind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix the source, give the message a home
&lt;/h2&gt;

&lt;p&gt;Nothing in this chain was false. The finding was right, the reviewer rule was right, and every copy was a reasonable thing for an agent to do. What went wrong is that a finding has an audience, and when it is copied the audience isn't copied with it.&lt;/p&gt;

&lt;p&gt;The prohibition was the easy fix, and it passed the test. The fix I kept has two parts, and neither is an instruction about what not to say. The message has a source of its own, written for the reader, so the agent no longer fills that slot with whatever is best documented. And the document being copied is corrected, because an agent that starts from a template carries its sentences forward whatever the instructions say. A prohibition answers the symptom you have already seen; the other two don't depend on having seen it first.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/the-caveat-that-became-the-pitch" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>claudecode</category>
      <category>memory</category>
    </item>
    <item>
      <title>The Rule Was on the Other Branch</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Tue, 17 Nov 2026 00:28:53 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/the-rule-was-on-the-other-branch-4kkg</link>
      <guid>https://dev.to/javieraguilarai/the-rule-was-on-the-other-branch-4kkg</guid>
      <description>&lt;p&gt;Every team I have worked with keeps its practices in a dozen places. The PR checklist lives in one repository. Who promotes to production is on a wiki page for the whole organisation. The branch a project integrates into is a convention of that project. The test command is in a README, unless it moved to a Makefile. And a good part of it lives only in the heads of the people who have been there longest.&lt;/p&gt;

&lt;p&gt;People absorb this over months. An agent starts every session without any of it, or with a copy someone pasted into a prompt that went stale the week after.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://github.com/JaviMaligno/delivery-loop" rel="noopener noreferrer"&gt;delivery-loop&lt;/a&gt;, a plugin for Claude Code and Codex that takes a task from its ticket to a change verified in a test environment and handed over. Taking a task to the end is not new by itself. What makes it work in more than one place is where the agent gets the practices of the place it runs in, how they are shared between the people who use it, and how they stay current without anyone maintaining them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop, phase by phase
&lt;/h2&gt;

&lt;p&gt;First, what the loop does. A task goes through ten phases; a small one skips the spec, the open questions and the plan.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3xmuwq67auxq11b9lmgq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3xmuwq67auxq11b9lmgq.png" alt="The ten phases of the loop in four groups: understand (start, spec, gaps, plan), build (implement, review), prove (integrate until the test environment serves the exact commit, live verification with evidence per requirement) and hand over (promote or hand off, close the ticket)." width="799" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Ten phases in four groups. A small task goes from start straight to implement.&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Understand.&lt;/strong&gt; It checks whether the work is already done (a ticket marked as pending can be in production through a PR that never cited it), creates an isolated workspace and sizes the task. It turns the ticket or document into points with stable IDs, separates what only a person can decide, and writes a plan that another agent reviews before any code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build.&lt;/strong&gt; Tests first, then the change, in commits tied to the IDs; then an independent review by whichever reviewers the profile names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prove.&lt;/strong&gt; After merging, it waits until the test environment serves that exact commit, not until the deploy says success. Then it checks every ID against the deployed environment. Wherever there is something to see, the evidence is visual: screenshots or a recording, uploaded to the ticket. An API or a queue gets a real response instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hand over.&lt;/strong&gt; Promotion to production, or, when that belongs to someone else, an explicit hand-off with the prepared material. Then the ticket moves to done with its evidence, and branches, workspaces and test data are cleaned up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Almost every one of those steps leans on a practice of the place: which ticket state means "in review", who reviews, which branch to integrate into, how a change reaches the test environment, who promotes. That is what the profiles are for.&lt;/p&gt;

&lt;h2&gt;
  
  
  Each practice is written once, at its level
&lt;/h2&gt;

&lt;p&gt;The plugin's core names no tool. Everything specific to a place goes in a profile, and profiles come in levels that mirror where practices already live. "Promotion to production belongs to the platform team" is true for the whole organisation, so it goes in the organisation profile. "This repo integrates into &lt;code&gt;develop&lt;/code&gt;" is true for one repository, so it goes there. Nothing is copied into every repo, and nothing is in the plugin.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpyx4it488w18eqyp1cyb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpyx4it488w18eqyp1cyb.png" alt="Five profile levels from far to near: plugin defaults, updated with the plugin; user, written once by each person; organisation, shared and maintained in one place; project, shared and installed only by those who work on it; repository, committed to the repo and updated with it. The nearest level wins, except for invariants." width="800" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Levels merge from far to near and the nearest wins, except invariants such as "production is never tested against", which no lower level can relax. The amber levels are the shared ones: written once, by whoever knows, for everyone.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Built to be shared
&lt;/h2&gt;

&lt;p&gt;This is what makes it worth setting up. An organisation keeps its profiles in one private repository: the organisation level and one profile per project. A new person installs the plugin, runs one script, and gets the organisation profile plus the profiles of the projects whose repos they actually have. Nothing else.&lt;/p&gt;

&lt;p&gt;Someone has to write that shared part first, but not by hand. The first run in an organisation detects what it can and asks one short round about the rest, and each answer is written at its level, organisation and project included. Publishing those files to the shared repo is what spares everyone after from the same round. From then on it fills in as people work: a rule someone adds, a project someone starts.&lt;/p&gt;

&lt;p&gt;What is left for them is small and mostly written once:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Their user profile.&lt;/strong&gt; Their accounts, their machine's limits, the browser tool they use. Written once, kept forever, and never part of a shared file: the shared repo's CI checks that no shared profile holds personal data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Each new repo.&lt;/strong&gt; The first run in a repo without a profile detects what it can (remote, branch protection, CI jobs, test runners, deploy configuration) and asks only what detection cannot settle, once, with a recommended answer. The result is committed in the repo, so the next colleague who pulls it gets it without running anything. For a client's repository, the same profile stays local, inside &lt;code&gt;.git&lt;/code&gt;, so it is never pushed to the client.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nobody re-learns the organisation. When a rule changes for everyone, it changes in one place with a PR, and everyone gets it on the next install. When a repo changes its integration branch, the profile in that repo changes with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same plugin, two organisations
&lt;/h2&gt;

&lt;p&gt;I run it in two organisations that work very differently. In one, the integration branch is &lt;code&gt;develop&lt;/code&gt;, a change reaches the test environment by bumping a version in a separate config repository, and promotion beyond that belongs to another team. In the other, several client projects each have their own environments and release process, reviews include the company's own review agents, and client repositories must never receive our files.&lt;/p&gt;

&lt;p&gt;The core is the same in both, unchanged, in Claude Code and in Codex. Every one of those differences is a line in a profile at its level. The public repo carries only fictitious example profiles; the real ones live in each organisation's private repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping them current
&lt;/h2&gt;

&lt;p&gt;A profile that was right when written goes stale on its own, the same way &lt;a href="https://www.javieraguilar.ai/en/blog/the-memory-that-was-true" rel="noopener noreferrer"&gt;the memories my agent keeps&lt;/a&gt; did: never wrong when written, describing a state that expired. So the profile is treated as something to re-check, not to trust:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At the start of every task, a cheap recheck compares the profile with what the repo shows. A mismatch updates that datum at its level and gets one line in the report.&lt;/li&gt;
&lt;li&gt;Any datum older than 30 days is verified again before the loop relies on it.&lt;/li&gt;
&lt;li&gt;When the profile and another source disagree, the newer dated source wins, and the stale one is fixed where it lives, so the fix reaches everyone who shares that level.&lt;/li&gt;
&lt;li&gt;The profiles are merged again mid-task, because rules can change while the work is in progress.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The rule was on the other branch
&lt;/h2&gt;

&lt;p&gt;Keeping the practices current is only half of it. The agent also has to read the current ones, and that is where a real run surprised me.&lt;/p&gt;

&lt;p&gt;A repository I work in had added a rule to its PR checklist: a person must attest that they have reviewed any AI-generated code before it ships. One run stopped before merging and asked me for that review. Two earlier runs in the same repository had merged without it. The rule was current and in the right place, the integration branch. But all three sessions had been launched from a checkout sitting on an older branch, whose instruction files predate the rule. The work then happened in a fresh worktree on the integration branch. The run that stopped happened to re-read the instructions there; the others worked from the copy they started with.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faxqifya2djhngkafmyi3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faxqifya2djhngkafmyi3.png" alt="Sessions start from a checkout on an old branch whose instruction files have no review rule. The work happens in a worktree on the integration branch, where the rule exists. A run that re-reads the worktree's instructions stops before merging; one that keeps the launch copy merges without the rule." width="800" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The rule existed and was current. Whether it applied depended on which copy of the practices the agent was reading.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So now it is not left to chance: when a session was launched from a branch other than the integration or production branch, the plugin reads the repository's instruction files from the workspace where the work happens and logs which branch they came from.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fewer questions on the way
&lt;/h2&gt;

&lt;p&gt;Shared, current profiles are also what let the loop run without stopping to ask. Before starting, it probes every capability the task will use with a real call, because configured is not authenticated and authenticated is not working: a tool listed as connected can fail on its first call, and &lt;code&gt;gh auth status&lt;/code&gt; can report one account while commands run as another. Whatever fails is raised in a single round, and the answer is saved at its level so no one asks again. What remains for a person are the decisions that are genuinely theirs: a business call, a client-facing text, the attestation that rule exists to protect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to start
&lt;/h2&gt;

&lt;p&gt;The phases are the visible part. What makes them work anywhere is the idea underneath: each practice written once, at the level where it is true, shared with everyone who needs it, re-checked before anyone relies on it, and read from the branch where the work actually happens. Nobody has to keep the agent up to date, because the practices it reads are the same ones the team already keeps.&lt;/p&gt;

&lt;p&gt;If your team wants to try it, one person runs it on a real ticket and publishes the organisation and project profiles it writes. The repository has a fictitious example of every level to compare against.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;&lt;a href="https://github.com/JaviMaligno/delivery-loop" rel="noopener noreferrer"&gt;delivery-loop on GitHub&lt;/a&gt; (MIT). Install in Claude Code with &lt;code&gt;claude plugin marketplace add JaviMaligno/delivery-loop&lt;/code&gt;, or in Codex with &lt;code&gt;codex plugin marketplace add JaviMaligno/delivery-loop&lt;/code&gt;. More of what I package for agents in &lt;a href="https://www.javieraguilar.ai/en/skills" rel="noopener noreferrer"&gt;Plugins &amp;amp; Skills&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/the-rule-was-on-the-other-branch" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>aiagents</category>
      <category>claudecode</category>
      <category>codex</category>
      <category>softwaredelivery</category>
    </item>
    <item>
      <title>A Role, Not a Rule</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Sat, 14 Nov 2026 15:06:31 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/a-role-not-a-rule-2342</link>
      <guid>https://dev.to/javieraguilarai/a-role-not-a-rule-2342</guid>
      <description>&lt;p&gt;At &lt;a href="https://luma.com/ccc-mk" rel="noopener noreferrer"&gt;Claude Code Curious&lt;/a&gt; in Milton Keynes, one of the organizers made a point I had just run into myself: skills work better written as a role or a metaphor than as detailed instructions. The example was documentation. Instead of listing what good docs contain, ask the model to act as a librarian.&lt;/p&gt;

&lt;p&gt;The idea is easy to agree with and hard to believe until a rule fails on you. A rule spells out what to do in each case, and a model that follows instructions well applies it to every case that fits, including the ones its author didn't have in mind. A role carries the purpose behind the rule, and the purpose is what tells the cases apart. A librarian knows which documents someone will come looking for.&lt;/p&gt;

&lt;p&gt;The role depends on the skill. Librarian for documentation; in my case, a colleague. This is how I found mine, and what happened when I measured it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule that ate the number
&lt;/h2&gt;

&lt;p&gt;I make short narrated videos of my articles (&lt;a href="https://www.instagram.com/agilabs_ai" rel="noopener noreferrer"&gt;they're on Instagram&lt;/a&gt;) with a &lt;a href="https://www.javieraguilar.ai/en/skills" rel="noopener noreferrer"&gt;Claude Code plugin&lt;/a&gt; that writes the script: scenes, what the voice says, what appears on screen. In some of them the voice read out strings of figures, one after another, the way nobody talks. So I added a line to the skill:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Spoken numbers sparingly. Never chain several figures in a row, and avoid repetitive or unround values in the voice: say the one number that carries the point […] and leave the rest on screen or out.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then I asked Opus to revise two existing scripts with the updated skill. The line was written against strings of figures, and Opus applied it to every number in the voice, strung together or not:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;&lt;tr&gt;
&lt;th&gt;before&lt;/th&gt;
&lt;th&gt;after&lt;/th&gt;
&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;"Its own subagent's report? Answered straight away 25% of the time."&lt;/td&gt;
&lt;td&gt;"Its own subagent's report? Answered straight away a quarter of the time."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;"Aligned models: ~0.10 repetition. The base: 0.51, multi-turn 0.78."&lt;/td&gt;
&lt;td&gt;"Aligned models barely repeat. The base does, and more over many turns."&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The first line had one figure and nothing to fix. The swap does no harm, but the rule fired where it had no business. The second line was a real pile-up, and the fix took the finding with it: the base model repeats about five times as much as the aligned ones, and "more" doesn't say that. That is a rule overfitted to the case that prompted it: written for one symptom, applied to everything that looks like it.&lt;/p&gt;

&lt;p&gt;So I corrected the correction, three times in a row. Each version of the line is a real commit:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;version&lt;/th&gt;
&lt;th&gt;what the numbers line says&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;rule&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;say the one number that carries the point and leave the rest on screen or out&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;pile-ups&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the problem is the pile-up, not the number; keep the figure that carries the point and move the rest to the screen&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;if, by ear&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;case by case: say a number when it's easy to hear; when it's awkward, say what it means in words ("almost never") and keep the figure on screen&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;colleague&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;say them the way you would explaining the result to a colleague: naturally, as part of the sentence; the only thing to avoid is reading a table aloud&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each patch got more precise and none of them fixed it. The last one isn't a rule; it describes who is talking and to whom. That's the one that stuck.&lt;/p&gt;

&lt;p&gt;A story about my own videos isn't evidence, so I measured it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproducing it
&lt;/h2&gt;

&lt;p&gt;First, the same situation: the same two scripts, revised by Opus under each of the four versions, three times each.&lt;/p&gt;

&lt;p&gt;The rule took the size out of the repetition line all three times ("The aligned models barely repeat. The base is on another planet."). In the subagent script, where the real revision had said "almost half", it turned "47% with long context" into "more often" all three times, which says less than the screen behind it. The patched &lt;code&gt;if&lt;/code&gt; said "almost half" there, and lost the repetition gap just like the rule. Under the colleague, Opus kept the 47% all three times ("With long context, that rose to 47%"). On the repetition line it kept the three figures as they were, which isn't the fix either; I come back to that below.&lt;/p&gt;

&lt;h2&gt;
  
  
  On scripts it had never seen
&lt;/h2&gt;

&lt;p&gt;Those two scripts are the ones that broke the skill, and every version after them was written with them in mind. So the real test uses material the skill had never seen: six of my articles with experimental results that never had a video.&lt;/p&gt;

&lt;p&gt;For each article, Opus wrote a first script with the skill as it was before any numbers line. Those six drafts are fixed. Then four models revised each draft under each of the four versions, three times: Claude Opus 5.5 and gpt-6-astra (large), Claude Haiku 5.5 and gpt-6-luna (small). That makes 288 revisions.&lt;/p&gt;

&lt;p&gt;Two LLM judges, Opus and gpt-6.1-sol, read each revision, together with the article it narrates, without knowing which version produced it. A revision passes if every finding the draft said with a number is still carried by the voice. When the article states a finding qualitatively, words that say the same thing pass: "almost never" for 4 times in 791 is fine when the point is that it almost never happens. When the finding is a size or a gap, the voice has to keep the size, with the number or with a fraction or ratio like "almost half" or "five times as much". "More often", "far more" or "on another planet" don't count, and neither does moving the number to the screen. Before trusting the judges, I checked them against the reproduction above, where I had read every line myself; they agreed. On the 288 they agree with each other on 86% of the verdicts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8bkrcpvs2911ohl0ny3o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8bkrcpvs2911ohl0ny3o.png" alt="Revisions whose voice still carries the finding, of 18, per model and skill version, judge Opus and judge Sol. Rule: Opus 7 and 0, Astra 5 and 3, Haiku 7 and 2. If by ear: Opus 6 and 2, Astra 18 and 18, Haiku 15 and 13. Colleague: 18 for every model except Astra under Sol, 17. Luna barely revises and keeps the numbers under every version." width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Six fresh articles, three revisions each per model and version, judged blind by two judges. The rule loses the finding on every model that actually revises; the patched "if" loses it on Opus; "say it like a colleague" keeps it everywhere.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here's what that looks like on one article. The draft's finding was "iterating solved 86%. Clean restarts: 69%. The button: 91%." Opus revised it like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;rule&lt;/strong&gt;: "Clean restarts did clearly worse. The button did slightly better, but not significantly."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;if, by ear&lt;/strong&gt;: "Clean restarts did worse. The button did slightly better, but not significantly."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;colleague&lt;/strong&gt;: "Starting clean every round solved only 69%. The scoped button reached 91%, but its edge over iterating isn't significant."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The first two read well, and that's the problem. Nothing in them is wrong; the result is just gone.&lt;/p&gt;

&lt;h2&gt;
  
  
  The more obedient the model, the worse the rule
&lt;/h2&gt;

&lt;p&gt;The rule loses the finding on every model that actually revises: depending on the judge, Opus keeps it in 0 to 7 revisions out of 18, Astra in 3 to 5, Haiku in 2 to 7. The patched &lt;code&gt;if&lt;/code&gt; splits them. Astra and Haiku mostly keep the finding with it (Astra 18 out of 18 with both judges, Haiku 13 to 15), and Opus drops it most of the time (6 and 2). The model that follows instructions best is the one that takes "say what it means in words" and applies it to every number it finds.&lt;/p&gt;

&lt;p&gt;That matches my episode, which was with Opus: every escape route in the instruction gets taken. It's also the general argument from the top. The better the model follows a rule, the more it matters that the rule is wrong in some case, and a rule always is.&lt;/p&gt;

&lt;p&gt;Luna is the exception in the other direction. It hardly revises at all: it returns the draft nearly as it was, numbers included, under every version. Keeping every number isn't a virtue there, because Luna ignores the correction.&lt;/p&gt;

&lt;p&gt;The colleague isn't spotless either. The judges also marked runs of figures, and the colleague leaves more of them than the rule, which strips everything: "from 0.958 with state alone to 0.999", or a row of decimals read one after another. Part of that comes from somewhere else in the skill. All four versions carried an older line, written the same way: give the finding "with its exact number", as the article writes it, "same rounding, same units". Under the rule, the rule won. Under the colleague, that old patch was in charge again. Swapping the rule for a role brought out the other patches written like it, and those needed their own fixes. In the video I made with the colleague version, I don't hear any pile-up.&lt;/p&gt;

&lt;h2&gt;
  
  
  When a plain rule is enough
&lt;/h2&gt;

&lt;p&gt;The same question on simpler material bounds the effect: a 40-60 second briefing for an internal podcast, audio only, written from scratch rather than revised.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A rule with a cap, "say at most the one figure that carries the point", dropped the essential figure there too: Opus kept it in 6 briefings out of 18 and Astra in 4. When the news is "from 9 to 12 euros", a single figure can't carry it.&lt;/li&gt;
&lt;li&gt;A rule without a cap, "don't string unround numbers together; round when the source allows", kept the essential figure in every model, 17 or 18 out of 18. It also cleaned up the recitation better than "like a colleague" did.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So a rule isn't wrong by being a rule. The briefing had no screen to move numbers to, and the model wrote it from scratch instead of revising something that already had them. My video skill had both: "leave the rest on screen", and a script full of numbers to apply it to. I haven't isolated which of the two matters; that would take the same skill with and without the screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I take from it
&lt;/h2&gt;

&lt;p&gt;A rule is fitted to the case that prompted it, and a capable model applies it to everything that resembles that case. It fails worst when it gives the model somewhere else to put the thing ("on screen", "in words") or a cap ("the one number"): a capable model uses it on every instance, including the one that mattered. Patching it with conditions adds more instructions to follow to the letter, and a rule is rarely alone: swapping one for a role shows the others written the same way. A role gives the model the purpose, and the purpose knows which number is the finding.&lt;/p&gt;

&lt;p&gt;So before writing the next rule into a skill, I ask who would do this task well without being told the rules, and write that person in. For documentation it's a librarian; for narration, someone explaining a result to a colleague. Where there's no escape route and no cap, a plain rule did as well, and sometimes better.&lt;/p&gt;

&lt;p&gt;The limits: one skill, one kind of correction, six articles, three runs per cell, and all of it single-turn with no tools, while my real episode happened inside an agent session. The pattern holds across two judges and three models that revise, and it's the same one I hit by hand. The librarian I only know from the talk; I haven't measured it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Code, the four skill versions, every script and both judges' verdicts with their reasons: &lt;a href="https://github.com/JaviMaligno/skill-framing-experiments" rel="noopener noreferrer"&gt;skill-framing-experiments&lt;/a&gt;. The video plugin and the rest of my skills are &lt;a href="https://www.javieraguilar.ai/en/skills" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/a-role-not-a-rule" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>skills</category>
      <category>prompting</category>
      <category>evaluation</category>
    </item>
    <item>
      <title>What AI makes you learn</title>
      <dc:creator>JaviMaligno</dc:creator>
      <pubDate>Wed, 11 Nov 2026 16:11:32 +0000</pubDate>
      <link>https://dev.to/javieraguilarai/what-ai-makes-you-learn-4a7b</link>
      <guid>https://dev.to/javieraguilarai/what-ai-makes-you-learn-4a7b</guid>
      <description>&lt;p&gt;Ask a language model to pick a random number between 1 and 10. I did it 900 times, with nine Claude and GPT models, and all 900 times the answer was 7. Ask for one between 1 and 100 and each model has its favourite: in &lt;a href="https://www.s-anand.net/blog/llms-random-number-bias/" rel="noopener noreferrer"&gt;some tests across several models&lt;/a&gt;, ChatGPT settled on 47, Claude 3 Haiku on 42 and Gemini on 72. &lt;a href="https://arxiv.org/abs/2502.19965" rel="noopener noreferrer"&gt;A 2025 study&lt;/a&gt; puts it down to biases in the data they were trained on.&lt;/p&gt;

&lt;p&gt;It isn't a curious glitch. It's the simplest way to see how the thing works inside, and it explains almost everything I described in &lt;a href="https://www.javieraguilar.ai/en/blog/oracle-or-tool" rel="noopener noreferrer"&gt;Oracle or tool&lt;/a&gt;: why the first answer is the conventional one, why definitions drift towards popular usage. There I argued that using AI doesn't require knowing everything, only having a method. This article is about what makes that method possible: a handful of skills, some technical and most of them philosophical, that AI makes more useful than ever.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it pulls towards the most probable
&lt;/h2&gt;

&lt;p&gt;A language model is trained to predict the next word of a text (technically, the next &lt;a href="https://en.wikipedia.org/wiki/Large_language_model#Tokenization" rel="noopener noreferrer"&gt;&lt;em&gt;token&lt;/em&gt;&lt;/a&gt;, a piece of a word). It's shown enormous amounts of text written by people and, through a procedure called gradient descent, its parameters are adjusted little by little so it gets that prediction wrong less and less. The result is a model that has learned what tends to follow what: the distribution of what people write.&lt;/p&gt;

&lt;p&gt;When you ask it something, the model generates the answer by choosing, word by word, among the most probable continuations. And people, when asked for a random number, also pick 7 far more often than they should: in &lt;a href="https://yougov.com/en-gb/articles/51866-seven-is-the-most-random-number" rel="noopener noreferrer"&gt;a YouGov survey&lt;/a&gt; of 2,241 British adults, 33% did, against the 10% chance would give. The model has learned that human bias and, by settling on the most probable, takes it to the extreme. I asked the survey's exact question a hundred times each to five Claude models and four GPT models, through &lt;a href="https://github.com/JaviMaligno/personal-website/tree/main/experiments/random-number" rel="noopener noreferrer"&gt;Claude Code and Codex&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fwhat-ai-makes-you-learn-fig-1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fwhat-ai-makes-you-learn-fig-1.png" alt="Distribution of the numbers chosen when asked for a random one from 1 to 10. At random, each number would come up 10% of the time. People choose 7 33% of the time. The AI models measured choose it 100% of the time." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;People: YouGov survey of 2,241 adults (September 2024). AI: 900 answers from 9 Claude and GPT models to the same question. The dashed line is what chance would give.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Then comes a second phase of training, in which the model is adjusted according to the answers people rate best. That makes it more useful and more polite, but it &lt;a href="https://arxiv.org/abs/2310.06452" rel="noopener noreferrer"&gt;reduces the variety of what it answers&lt;/a&gt;: it pushes towards the answer most people would approve.&lt;/p&gt;

&lt;p&gt;This explains three things users notice without knowing why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The conventional answer.&lt;/strong&gt; Far more has been written about nutrition's mainstream recommendation than about any alternative, so that's what comes out first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The popular definition.&lt;/strong&gt; If a word is used loosely a thousand times for every time it's used rigorously, the model tends to the loose use, even if you pinned it down three messages ago.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The agreeable tone.&lt;/strong&gt; Agreeing with you tends to be rated better than contradicting you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this makes it useless. It means the default answer is the most probable one, not the best justified, and getting the second one is up to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Each kind of knowledge has its evidence
&lt;/h2&gt;

&lt;p&gt;In the &lt;a href="https://www.javieraguilar.ai/en/blog/oracle-or-tool" rel="noopener noreferrer"&gt;previous article&lt;/a&gt; I separated five kinds of knowledge: formal, experimental, observational, historical and personal. The experimental and the observational are what usually falls within the scientific method. The historical tends to be kept apart, though some conventions include it. The formal underpins all the others, because every piece of reasoning uses logic. And the personal can't be transferred.&lt;/p&gt;

&lt;p&gt;Each rests on a different kind of evidence, and this is where AI stumbles most. Two mistakes come up again and again:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Demanding a formal proof before accepting a historical fact.&lt;/strong&gt; No historical fact is proved like a theorem. It's established through remains, documents, testimony and the convergence of several independent traces, and that can give very strong support.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Presenting empirical evidence as if it were a logical necessity.&lt;/strong&gt; That something has always been observed doesn't make it impossible otherwise.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Logic is involved in both. What changes is how the premises are justified and how strongly the conclusion follows.&lt;/p&gt;

&lt;p&gt;I've seen it in my own work. For months I've been building an ontology with AI, a philosophical investigation into what exists and how one thing depends on another (&lt;a href="https://github.com/JaviMaligno/god-ontology" rel="noopener noreferrer"&gt;it's in a public repository&lt;/a&gt;). The model kept answering "this doesn't prove X" to well-supported historical conclusions. True, it didn't prove them: they aren't that kind of claim. But the phrase took the place of what needed doing, which was assessing how much support they had and whether any alternative had comparable support. An alternative that is merely conceivable doesn't weigh the same as one with evidence behind it. I corrected it, and it went into the project's methodology as a written rule.&lt;/p&gt;

&lt;p&gt;There's a second, different mistake, which has nothing to do with the kind of evidence and everything to do with not using the evidence already there. Moving on to a new question, the model treated a foundation that had already been justified as if it were a mere interpretation, and asked for it to be proved from scratch instead of building on what was established. That was written down as a rule too, and it came back anyway. Having the rules in writing helps a lot, but it doesn't guarantee they get applied. You still need someone who can recognise the mistake.&lt;/p&gt;

&lt;h2&gt;
  
  
  Each study answers a question
&lt;/h2&gt;

&lt;p&gt;Within the experimental and the observational there are also different kinds of study, and AI tends to cite them without telling you which is which. They're usually presented as a ladder, with the randomised trial at the top and the survey at the bottom. It's more useful to see them as tools for different questions. None is "the one that tells the truth": each gives a different degree of knowledge, under different conditions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fwhat-ai-makes-you-learn-fig-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.javieraguilar.ai%2Fblog%2Fwhat-ai-makes-you-learn-fig-2.png" alt="Six kinds of study, experimental, observational and synthesis, each with the question it answers well and its limit: lab, survey, cohort, case-control, randomised trial and meta-analysis. None is better at everything; each answers a different question." width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;None is "the one that tells the truth". Each design answers one question well and another badly, and what matters is which one is yours.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A randomised trial is the best way to know whether an intervention causes an effect, but it usually lasts weeks or months, with a specific dose and a specific population. A cohort study can follow tens of thousands of people for decades, but it doesn't control everything that affects them. For the question "what happens to someone who follows this diet for twenty years?" there is no randomised trial, and there probably never will be.&lt;/p&gt;

&lt;p&gt;Underneath there's also a statistical part worth knowing, even intuitively:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Every result depends on the assumptions of the statistical model&lt;/strong&gt; it was analysed with: what was assumed, which variables were adjusted for and which weren't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A statistically significant effect isn't necessarily a large one.&lt;/strong&gt; With huge samples, tiny effects come out significant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A relative risk isn't an absolute risk.&lt;/strong&gt; "Doubles the risk" can mean going from 1 in 10,000 to 2 in 10,000.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With this you can ask AI for what matters: what kind of study backs each claim, what question that kind of study answers, and what assumptions sit behind it. On how to evaluate knowledge when these studies aren't enough, or arrive late, I wrote a whole book, &lt;a href="https://www.javieraguilar.ai/en/publications" rel="noopener noreferrer"&gt;Science Catch-Up&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Definitions drift
&lt;/h2&gt;

&lt;p&gt;The same mechanism that produces the 7 makes concepts converge on what a word most popularly means, not on its proper definition. In a long conversation you notice it: you pin down a term, the model uses it well for a while and, a few messages later, it's back to the everyday sense.&lt;/p&gt;

&lt;p&gt;To handle it, it helps to separate three things that tend to get mixed up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A stipulation&lt;/strong&gt;: "in this text, X means this". It's decided, not argued.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A description of usage&lt;/strong&gt;: how the word is actually used. It's checked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A proposal about the nature of something&lt;/strong&gt;: what X really is. It needs arguments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Think of ordinary words where, if you don't say, the model chooses for you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Materialism.&lt;/strong&gt; There are several distinct philosophical materialisms, besides the everyday sense. The model will take one by default, or the popular one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Christianity.&lt;/strong&gt; It can be a complete, precise doctrine, or everything popularly recognised as Christian, which is much broader.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Norwegian (or Nordic) HIIT method.&lt;/strong&gt; At least two things go by that name: the 4×4 protocol from the university in Trondheim (four four-minute intervals at 85-95% of maximum heart rate, with three minutes' recovery) and the double-threshold training of Norwegian distance runners, guided by lactate, which isn't even HIIT in the strict sense.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're not sure which definition is the right one, AI can help you work it out: which variants exist, where each comes from, which one specialists use. But you have to question it, not settle for the first answer.&lt;/p&gt;

&lt;p&gt;No definition proves by itself that what it defines exists. Nor does a term's prestige replace a definition you can reason with: in the ontology, the model proposed a classical concept, "ontological perfection", that turned out too broad for the distinction I needed. I had to break it down into three more precise concepts.&lt;/p&gt;

&lt;p&gt;The practical tool is the same as in the previous article: write the definitions that matter into a glossary, or into the project's instructions, so you don't have to repeat them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting it right isn't knowing the truth
&lt;/h2&gt;

&lt;p&gt;All of the above turns around the same thing. What's hardest for an artificial intelligence is whatever has to do with truth, and I think that's precisely what sets it apart from ours.&lt;/p&gt;

&lt;p&gt;A model follows patterns. It accumulates what the data point to and hands it back, without an internal notion of what is true. As it's trained better, it gets better at telling kinds of knowledge apart, because it learns better how we tell them apart. That makes it more useful. But producing correct answers isn't the same as having a relation of its own to truth.&lt;/p&gt;

&lt;p&gt;My reason for saying so is theistic, and it's the conclusion of the ontology work, not an add-on:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Human beings are created in the image of God, and receive from him their condition as rational subjects.&lt;/li&gt;
&lt;li&gt;Conferring that condition belongs to God alone. Having it doesn't give us the power to confer it by building something.&lt;/li&gt;
&lt;li&gt;An AI is an artefact built by human beings.&lt;/li&gt;
&lt;li&gt;Therefore, building an AI doesn't by itself give it what only God can give.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's why our reason is oriented towards an objective truth that exists and that we try to reach, and the machine's isn't. The full development, with its objections, is in the &lt;a href="https://github.com/JaviMaligno/god-ontology" rel="noopener noreferrer"&gt;ontology repository&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You don't need to share that foundation to draw the practical conclusion. As long as the model has no relation of its own to truth, someone has to have it for it. That someone is you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why philosophy matters again
&lt;/h2&gt;

&lt;p&gt;Put it all together and the list of what's worth knowing to use AI well looks little like a programming course:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;How a model is trained&lt;/strong&gt;, just enough to understand why it pulls towards the most probable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Epistemology&lt;/strong&gt;: what kinds of knowledge there are and what evidence counts for each.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scientific method and basic statistics&lt;/strong&gt;: what question each kind of study answers and what its assumptions are.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Definitions&lt;/strong&gt;: when you stipulate, when you describe and when you have to argue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A notion of truth&lt;/strong&gt; that doesn't reduce to what most people say.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're all philosophers by nature to some degree, because we're born curious. But the comfort of having knowledge at hand makes us lose the practice. The more capable models become, the more valuable what they don't ship with: the ability to judge what they produce. That's a philosophical skill, and you don't need to be a philosopher to have it. You only need to learn it well enough to ask the right questions, and to teach it to the people around you.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.javieraguilar.ai/en/blog/what-ai-makes-you-learn" rel="noopener noreferrer"&gt;javieraguilar.ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Want to see more AI agent projects? Check out my &lt;a href="https://www.javieraguilar.ai" rel="noopener noreferrer"&gt;portfolio&lt;/a&gt; where I showcase multi-agent systems, MCP development, and compliance automation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>criticalthinking</category>
      <category>philosophy</category>
      <category>epistemology</category>
    </item>
  </channel>
</rss>
