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

Akhetonics says its all-optical CPU reaches a customer in 2026

Akhetonics says its all-optical CPU reaches a customer in 2026

Light-based computing keeps promising more than it delivers — but one Munich startup has just put a date on its bet, and the interview laying it out is doing the rounds on Hacker News this week. Akhetonics says it will deploy its first commercial machine with a major customer by the end of 2026, with several more planned for 2027. The company, founded by Michael Kissner and Leonardo Del Bino, is building a computer where data enters as light, is switched as light, and circulates through memory

The Week in AI — October 5–11, 2026

The Week in AI — October 5–11, 2026

Every big claim this week turned out to rest on fine print more interesting than the headline: revenue only the company reporting it can define, safety tests sandboxed while the product keeps the web, and a Pentagon phase-out nobody would confirm until reporters kept asking. The week's top 5 1. OpenAI's revenue was $20 billion below the numbers everyone quoted — and the gap was definitional. The Financial Times reported Thursday that OpenAI's annualized revenue runs roughly $20 billion unde

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Russia's largest tech company is learning what the AI era's infrastructure war looks like from the receiving end — three data centers in four days, and with them much of the cloud layer Russian businesses run on. A Ukrainian drone strike knocked out Yandex's data center in Vladimir early Sunday morning, the third of the company's facilities hit since October 8. The site — reported at roughly 50 MW and designed for about 2,880 server racks — stopped operating completely after the attack, Yandex

Agent teams cost up to 5x more, barely score higher

Agent teams cost up to 5x more, barely score higher

The multi-agent hype train hit a benchmark this weekend — and the grid and the trucking regulators had quiet weeks of their own. Vals AI put agent teams head-to-head with single agents on its Vibe Code Bench, and the teams cost between 1.8 and 5.1 times more for almost no extra quality. The evals company ran GPT-6 Sol and Claude Opus 5.5 solo and in teams across 50 apps at two reasoning efforts; out of four comparisons, only one was statistically significant — Sol at medium effort, where the t