Tool profile
Bend
bend-lang.com
a fast language that blocks AI mistakes via proof
What it does
Bend is a programming language for AI coding agents: you write the rules that must hold in LAWS.bend, and the type checker is a proof checker. The official site tells agents to run bend PROOF.bend before committing, so the model has to prove it followed your laws instead of relying on a prompt alone. Install with curl -fsSL https://bend-lang.com/install.sh | sh, and add a short AGENTS.md so agents run bend guide, keep the laws file, and prove before a commit. The syntax is close to Python. Bend compiles to native code; the site says it runs nearly as fast as C on one core, and the same binary can also run on many cores or a GPU, up to about a hundred times faster. The checker is meant to finish in about a second so an agent can check after every change. Source is Apache-2.0 at github.com/bendlang/bend.
- Write rules in LAWS.bend so an AI coding agent must prove it followed them before a commit
- Compile the same Bend program to a fast native binary on one core, many cores, or a GPU
- Ask an agent to run bend guide, keep project laws, and run bend PROOF.bend as its definition of done
Categories
Frequently asked questions
- What is Bend?
- Bend is a programming language made so AI agents can write code that is proven to follow your rules. You declare laws in LAWS.bend, and the type checker is a proof checker; the official site tells agents to run bend PROOF.bend before committing.
- How do I install it?
- The official site gives a one-line install: curl -fsSL https://bend-lang.com/install.sh | sh. The project recommends adding a short AGENTS.md snippet so coding agents run bend guide, keep LAWS.bend, and run proofs before a commit.
- How fast is it?
- Bend compiles to native code. The site says that on one core it runs nearly as fast as C, and the same binary can also run on many cores or on a GPU, up to about a hundred times faster than one core. The type checker is meant to finish in about a second so an agent can check after every change.
- Is Bend open source?
- Yes. The compiler and language are developed in the public GitHub repository bendlang/bend under Apache-2.0.
Explore
More in AI Code Generator
Open-source template with a /clone-website skill: give your AI coding agent a URL and it recreates the site as a clean Next.js app.
Open-source design canvas for coding agents where every frame is real React code from the component libraries you already use.
Open-source spec-driven coding agent: you maintain specs, tests and ADRs, and turri regenerates the code from them.
Vercel Labs' open-source library of 50+ headless UI behaviors that agents combine into accessible components, and can operate directly.
Browser sketchpad for Material 3 Expressive screens that turns your mockup into a prompt for AI coding tools.