ZEPH

The Zig delivery engine for FAF context

What it is

A pure-Zig engine that compiles to WebAssembly and delivers FAF context at consumer-hardware speeds. Three packet exports: score, validate, tier.

Ships as a single .wasm file. Runs anywhere WebAssembly runs — browsers, Node, Bun, Deno, Cloudflare Workers, anywhere.

Why it exists

FAF defines the context format. Something has to deliver that context — fast enough that AI tools never pause, small enough to ship with anything.

That delivery layer is ZEPH. Built in Zig because Zig is deterministic: no hidden allocations, no garbage collector, no surprises. Compiled to WASM because WASM is the universal runtime — write the engine once, run it everywhere.

Receipts

  • 2.7 KB compiled WASM
  • 6.7 ns validate · 4.44 ns tier — native, on a 2019 iMac
  • Three exportsscore · validate · tier
  • Pure Zig — no runtime, no allocator, no hidden cost

Try it

Click the button. The engine loads in your browser and benchmarks itself live.

Live demo at zeph.faf.one →