astrio-labs/forall

Forall (∀) is a coding agent from Astrio that helps developers build correct software by generating spec-driven code alongside machine-checkable proofs.

What it solves

Forall addresses the bottleneck of software review and verification. While tests and type systems provide some assurance, they cannot prove that code actually performs its intended function. Forall uses language models to lower the barrier to formal verification, automating the tedious process of writing specifications, contracts, and invariants that provers need to the ensure code correctness.

How it works

Forall integrates AI into the software development lifecycle to generate evidence of correctness. It provides four levels of evidence for every requirement:

  1. Spec tracked: The requirement is linked to the code.
  2. Property tested: A generator checks many inputs for counterexamples (statistical evidence).
  3. Contracted: A machine-checkable contract is written for the code.
  4. Proved: A formal prover confirms the contract's obligations are met.

Who it’s for

It is designed for developers working on mission-critical or regulated software (such as those following IEC 62304 or DO-178C standards) where traceability and formal evidence of correctness are required.

Highlights

  • Dual Interface: Available as a full coding agent CLI or as an MCP (Model Context Protocol) server for use within clients like Cursor or Claude Code.
  • Multi-Language Support: Supports TypeScript, Python, Rust, Java, and C, with varying levels of verification capability per language.
  • Flexible Model Integration: Supports hosted models or bring-your-own-key (BYOK) for OpenAI, Anthropic, Google Gemini, Azure, and Amazon Bedrock.
  • Evidence-Based Grading: Grades requirements based on the strongest machine-produced evidence rather than simple pass/fail marks.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project