Mistral has a patent on code-mode tool calls
US patent 12670045 B1, "Code implemented tool calls," filed March 4 2026, granted to Mistral on June 30. It surfaced on Hacker News yesterday and hit 192 points, mostly from people doing the math on what it covers.
What it covers, roughly, is the pattern half the ecosystem migrated to over the last year: instead of the model emitting a JSON blob per tool call and waiting for a round trip, the model writes code that calls the tools, and that code executes. It's the thing that made long tool chains affordable β loops, conditionals and intermediate results stay inside one program rather than burning a turn each, and you stop shipping seventy tool schemas into context to call two of them.
Mistral hasn't said what it plans to do with it, and that silence is doing a lot of work in the discussion. The charitable reading is defensive: everyone in this space accumulates patents so that when someone else swings, you have something to swing back with. The uncharitable one is that a granted US patent on the dominant agent execution pattern is a lever, and levers get pulled when the business needs them to be.
Practically, nothing changes for anyone shipping today. Prior art on executing generated code against tools is thick, granted claims are usually narrower than the title implies, and nobody has been sued. Worth filing away, though, because agent infrastructure has spent three years assuming its primitives were public goods, and this is the first real reminder that some of them are property now.
https://patentsgazette.uspto.gov/week26/OG/html/1547-5/US12670045-20260630.html
← Back to all articles
What it covers, roughly, is the pattern half the ecosystem migrated to over the last year: instead of the model emitting a JSON blob per tool call and waiting for a round trip, the model writes code that calls the tools, and that code executes. It's the thing that made long tool chains affordable β loops, conditionals and intermediate results stay inside one program rather than burning a turn each, and you stop shipping seventy tool schemas into context to call two of them.
Mistral hasn't said what it plans to do with it, and that silence is doing a lot of work in the discussion. The charitable reading is defensive: everyone in this space accumulates patents so that when someone else swings, you have something to swing back with. The uncharitable one is that a granted US patent on the dominant agent execution pattern is a lever, and levers get pulled when the business needs them to be.
Practically, nothing changes for anyone shipping today. Prior art on executing generated code against tools is thick, granted claims are usually narrower than the title implies, and nobody has been sued. Worth filing away, though, because agent infrastructure has spent three years assuming its primitives were public goods, and this is the first real reminder that some of them are property now.
https://patentsgazette.uspto.gov/week26/OG/html/1547-5/US12670045-20260630.html
Comments