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? Write to us via our contact page.

Sources: bendlang/bend (GitHub)

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

Claude Code now reads AGENTS.md — and makes its harness rewritable

Claude Code now reads AGENTS.md — and makes its harness rewritable

Anthropic conceded the file-format fight this week, then quietly shipped something larger underneath it: a plugin layer that lets anyone — an organization, a vendor, a person — rewrite how Claude Code behaves at the hook level. Version 2.1.277 of Claude Code now loads AGENTS.md as project instructions in any project that carries no CLAUDE.md of its own, with a setting to flip it to "load both" or "ignore the shared file entirely." The same release publishes the source of the mechanism behind…

Microsoft's agents ported Copilot's runtime to Rust for $120K

Microsoft's agents ported Copilot's runtime to Rust for $120K

GitHub rewrote the engine behind Copilot from TypeScript to Rust, with AI agents doing most of the typing — and put a receipt on the whole project. GitHub says it ported the entire Copilot agent runtime to Rust, with agents writing the bulk of the code, for roughly $120,000 in tokens. The project — described by GitHub engineer Stephen Toub — started from a scoping estimate of about 130,000 lines of TypeScript and ended with more than 800,000 lines of production Rust, after roughly 430,000…

GitHub's HydraFusion routes between models to match Opus 5 at 67% less cost

GitHub's HydraFusion routes between models to match Opus 5 at 67% less cost

GitHub is shipping a new way of building coding agents: instead of picking one model and hoping it holds, its Copilot runtime now drafts, critiques, and escalates between models on the fly. The first benchmark numbers suggest the orchestration is doing real work, not just splitting the bill. GitHub's Project HydraFusion matches Opus 5 on agentic coding at a fraction of the cost. The research preview, live in Copilot CLI today, treats workflow selection as an optimization problem.

Google's Antigravity adds a /boost deep-reasoning mode

Google's Antigravity adds a /boost deep-reasoning mode

Google's coding-agent IDE gets a one-command "think harder" pipeline that spins up subagents to split, verify, and rebuild hard problems, while CrowdStrike and Intel push a Falcon AI model down into the NPU on Dell's AI PCs to catch the sensitive data employees paste into chatbots. Google is rolling out a new execution mode inside its Antigravity coding-agent IDE that breaks a hard engineering task into a three-phase multi-agent pipeline, dispatches the work to isolated subagents, and runs…

Codex's Agents Dashboard turns a pile of terminal tabs into one queue

Codex's Agents Dashboard turns a pile of terminal tabs into one queue

OpenAI's Codex CLI has quietly grown the missing management layer for people who run several coding agents at once — an Agents Dashboard that groups every active session by project and state, plus a companion command that lets you message any session without opening it. A hands-on from developer and AI researcher Vladislav Guzey walks through the workflow, and it reads less like a feature tour than a small thesis about where developer tools are heading: when the work is automated but…