Install

Build the toolchain.

flowg is pure Rust. No Python, no CUDA, no Docker, no Node required. It builds native on Apple Silicon and Linux, and ships to the browser as WASM + WebGPU.

From cargo

terminal
$ cargo install flowg
$ flowg make-sample sample.fg
$ flowg run sample.fg

From source

terminal
$ git clone https://github.com/openIE-dev/flow-g
$ cd flow-g
$ cargo build --release
$ ./target/release/flowg inspect sample.fg

In the browser

app.ts
import { Vm } from '@flowg/runtime';

const vm = await Vm.create({ backends: ['webgpu', 'cpu'] });
const out = await vm.run(graph, 'forward', inputs);

Package names reflect the intended toolchain layout. flowg is the substrate the openIE-dev language family compiles to; see Architecture for how the pieces fit.