Vercel AI Open-Sources vgpu: A TypeScript WebGPU Library for AI Agent Shaders

Article automatically generated from technical news.

Vercel open-sourced the WebGPU library it built to ship the shaders on vercel.com. vgpu runs the same shader in the browser, in headless Node.js, and in your CI tests. • MIT licensed, on npm at v0.3.1 • .wgsl files import and export like TypeScript modules • Reflection generates bindings, no hand-written declarations • Headless Node.js rendering, Dawn-backed • Deterministic mock adapter for CI snapshot tests • 25 KB gzipped fullscreen effect, budget enforced in CI

Fonte originale