Bend 2 wants AI agents to prove their code, not promise it

Share
Bend 2 wants AI agents to prove their code, not promise it

Today's most consequential AI release isn't a model. It's a programming language built for a world where nobody reads the code anymore.

Victor Taelin released Bend 2 on Thursday, and its central claim is narrow enough to test: an AI agent cannot merge a mistake the compiler can disprove. The mechanism is a laws file — the project's own framing is that it is an agent instruction file with a proof checker standing behind it. You declare the rules your program must never break ("the sum of all balances must be zero", "the sort always returns ascending numbers", "winning is impossible"), and the agent must then supply a mathematical proof for each one. The compiler checks that proof after every edit and blocks the change until it holds. In the demo on the project's site, Claude is asked to make a game board wrap around; its first version opens a path to the flag, the proof fails, and the agent retries until it adds a wall instead. The bug never lands.

The performance claims are equally concrete. On one core Bend compiles to native code it says runs nearly as fast as hand-written C; the same binary scales to thousands of cores or a GPU. The project claims its type checker doubles as a proof checker that finishes in under a second on files that take minutes in Lean, Agda, Rocq or Isabelle — that number decides whether an agent can afford to check after every single change rather than at review time. Syntax is Python-shaped with dependent types and affine values, and the compiler targets C, Metal, CUDA and JavaScript. The GitHub repo sits just past 20,000 stars, the launch reached the front page of Hacker News, and the release is Apache-2.0.

Taelin's honesty about the state of it is the part worth keeping. The repository's own limitations list runs to thirty-odd entries: no Windows, no 64-bit integers or doubles, strings stored as linked lists so text processing is slow, no TLS, HTTP library, JSON or regex yet, no debugger, profiler, formatter, REPL, language server or test framework, and a hub with no names or version search. Two entries matter more than the rest. The compiler — not the human-audited kernel, the compiler — is "99% AI-written and has not been fully audited yet", and the Lean formalization of the core does not match the shipped implementation, so early consistency bugs are expected. The commit history was also force-pushed down to a single commit on release day; the maintainer said he squashed it to strip personal data and proprietary code, and commenters pointed out that 44 contributors' history went with it. Same hour, the team also launched Bender, an agent specialized in writing Bend proofs, which Taelin described as a thin wrapper over public models that he does not recommend buying yet.

The direction is still the interesting part, and it points opposite to where most agent tooling went this week. Bend does not ask you to trust evidence the agent produced about its own work — the failure mode we called out in An agent grading its own homework is an alibi, not proof. It puts a mechanical checker between the agent and the merge, and a proof is not an opinion you can talk around. Two holes are already visible. Asked whether the agent will simply edit a law to fit the feature it just built, the project's own commenters conceded laws need a frozen tier — so judgment sits with whoever decides what is frozen. And a proof shows that the law holds, never that the law says what you meant. Bend 2 enforces correctness inside the boundary you drew.

What to watch: whether a laws file survives first contact with a product team's change requests, and whether the compiler — the one unaudited, mostly AI-written part of the tool that blocks AI mistakes — gets the audit the kernel already has.

Would you trust a proof checker your agent wrote the proofs for — and would you know if a law had quietly changed? Tell us in the comments.

Sources: bendlang/bend (GitHub)

Read more

Mistral's Le Chonk puts Europe's sovereignty bet on a download date

Mistral's Le Chonk puts Europe's sovereignty bet on a download date

Mistral's biggest model ever is real, benchmarked and for sale today — but the thing that makes it matter to Europe's sovereignty argument, the weights, is still three weeks out. The preview settles who built it; the release will settle whether it counts. What Mistral actually shipped Mistral opened a public preview of Mistral Large 4 — unofficially ML4, officially le Chonk — a 1 trillion-parameter mixture-of-experts model with 49 billion active parameters and native multimodal input. The p

Mistral unveils Le Chonk: a 1T-parameter open-weights model

Mistral unveils Le Chonk: a 1T-parameter open-weights model

The biggest open-weight release outside China lands in public preview today, and the country that spent the week promising its own frontier model just put a price on the ambition. Mistral has opened a public preview of Mistral Large 4 — codenamed "le Chonk" — a 1 trillion-parameter mixture-of-experts model with 49 billion active parameters, natively multimodal, which the company calls its largest and most capable model to date. The preview API is live today on Mistral Studio at $1.36 per milli

Google signs 3.6 GW power deal, a quarter of it new nuclear

Google signs 3.6 GW power deal, a quarter of it new nuclear

Grid capacity, not chips, is becoming the binding constraint on the AI buildout — and on the same day, the labs told an Australian inquiry they can live with mandatory incident reporting. Google has contracted 3.6 GW of power from Constellation Energy across the PJM grid — the largest electricity deal in the region's history, and the biggest single power commitment any AI company has made. The agreement covers 3,590 megawatts over 13 states, with 890 megawatts of new nuclear capacity coming fr

Korea probes AI agents in bank hacks as president cites 'signs'

Korea probes AI agents in bank hacks as president cites 'signs'

South Korea opened a formal investigation into whether AI agents drove a wave of bank breaches — and it isn't the only AI story moving money today. President Lee Jae Myung said "signs" point at AI models, and the probe is now at the highest level a national banking sector has seen. Speaking at a cabinet meeting, Lee said that "in some hacking incidents, signs have emerged of AI being used, causing considerable public concern and anxiety," and police have since opened a full-scale investigation