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-cli
$ flowg make-sample > sample.fg
$ flowg run sample.fg --receipt

From source

terminal
$ git clone https://github.com/openie/joulesperbit
$ cd joulesperbit
$ cargo build -p flowg-cli --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 part of the joulesperbit workspace; see Architecture for how the pieces fit.