vgpu

By Vercel Labs

WebGPU library for agents: one typed API for browser canvases, headless Node, and serverless, with CLI discovery, MCP, and copy-ready examples.

At a glance

Creator
Vercel Labs
Added
Live project
vgpu.sh/

From Vercel Labs. A small TypeScript WebGPU stack with typed WGSL imports and a single Gpu handle—same code in the browser, headless Node (Dawn), and a deterministic mock for tests. Bundles stay tiny; a fullscreen effect ships around 25 KB gzipped. Agents can load agents.md and llms.txt, browse examples with `npx vgpu examples`, or connect to the hosted MCP at /api/mcp. Open source at vercel-labs/vgpu; install with `pnpm add vgpu`.

Tags

WebGPUAgentsMCPCLITypeScriptOpen source