Tool Open source

vgpu

vgpu is an open-source TypeScript library for WebGPU, developed by Vercel Labs, covering typed shaders, 3D scenes, GPU tensors, neural networks, and mathematical visualization. WGSL files can import and export declarations like TypeScript modules; reflection tracks binding names, types, and layouts so shader bindings do not require handwritten declarations.

View repository Visit site Mentioned in 1 video ↓

Overview

Its tiny GPU-first API uses a single context returned by init(), which is passed explicitly to rendering entry points. The same API runs in browsers, headless Node through a Dawn-backed device, and a deterministic software mock for tests and continuous integration. Explicit frame passes handle targets, effects, clears, and draws without hidden scene-graph state. The package includes a CLI for documentation, examples, and shader validation, and the video describes an MCP endpoint for agent access.

What vgpu is used for

1 use taken from transcripts — each links to the moment in the video.

  • An open-source TypeScript WebGPU library for shaders, 3D scenes, GPU tensors, neural networks, and mathematical visualization. It supports typed shader imports, browser and headless execution, testing, a CLI, and an MCP endpoint.

Videos mentioning vgpu

1 in the library.