#44th of 34 in Code review and testing

bend

Dependent-typed language where AI-written code must prove rules in LAWS.bend

Stars
25k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+5,979
21 Apr 2026: 18,999 stars28 Apr 2026: 19,014 stars5 May 2026: 19,030 stars12 May 2026: 19,044 stars19 May 2026: 19,053 stars26 May 2026: 19,061 stars2 Jun 2026: 19,076 stars9 Jun 2026: 19,084 stars16 Jun 2026: 19,190 stars23 Jun 2026: 19,210 stars30 Jun 2026: 19,222 stars7 Jul 2026: 19,385 stars14 Jul 2026: 19,465 stars21 Jul 2026: 19,489 stars28 Jul 2026: 19,507 stars4 Aug 2026: 19,529 stars11 Aug 2026: 19,545 stars18 Aug 2026: 19,560 stars25 Aug 2026: 19,570 stars1 Sept 2026: 19,579 stars8 Sept 2026: 19,594 stars15 Sept 2026: 19,608 stars22 Sept 2026: 22,404 stars29 Sept 2026: 23,044 stars6 Oct 2026: 23,364 stars13 Oct 2026: 23,579 stars20 Oct 2026: 23,806 stars27 Oct 2026: 24,455 stars3 Nov 2026: 24,702 stars10 Nov 2026: 24,978 stars

18,999 on 21 Apr 202624,978 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Bend 2 is a Python-like language with dependent types and a proof checker, compiling to C, Metal, CUDA and JavaScript. Rules are declared in a LAWS.bend file, and the agent runs `bend PROOF.bend` after each edit so the compiler rejects changes that break a law. Divide-and-conquer calls run in parallel across CPU cores or a GPU.

Who it is for: Engineers using coding agents who want compiler-enforced correctness rules

Ranked among open-source alternatives to CodeRabbit (#4 of 10).

Strengths

  • Laws are machine-checked, so agent edits that violate them fail to compile
  • Parallel execution on CPU cores or GPU without threads, locks or kernels
  • Installs with one curl script; agent setup is a short AGENTS.md snippet
  • Targets C, Metal, CUDA and JavaScript; JS target suits fast iteration

Weaknesses

  • Compiler is about 99% AI-written and not fully audited; README warns to expect bugs
  • Proofs need real effort: no tactics or proof search, and all code is annotated
  • No native Windows support (WSL only); native builds need clang 14+, GPU runs need 19+
  • No TLS, HTTP, JSON or regex libraries; numbers limited to Nat, U32 and F32

What it needs

  • GPU optional
  • Needs clang 14+ (19+ for GPU calls), Metal or CUDA 12 for GPU, X11 and ALSA headers (Linux, window/audio)

Quick answers

Is bend open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Also in Code review and testing

See all 34
Also in Code review and testing
RankProjectScore
1playwrightCross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit99.9k starsApache-2.094 out of 100
2nxMonorepo build system with task caching, affected-only runs and CI integration29.5k stars+124 (+0.4%) in 30 daysMIT92 out of 100
3open-code-reviewGo CLI that reviews Git diffs with an LLM agent and line-level comments49.8k stars+3,715 (+8.1%) in 30 daysApache-2.091 out of 100
#5maestroYAML-based UI and end-to-end test framework for Android, iOS and web16.4k stars+393 (+2.5%) in 30 daysApache-2.087 out of 100
#6midsceneVision-based E2E testing in natural language for web, mobile and desktop15.6k stars+463 (+3.1%) in 30 daysMIT87 out of 100