vgpu

The WebGPU library, designed for agents.

Examples

View all →

Why vgpu

WGSL modules

Import and export WGSL like TypeScript. Compose shaders from modules, not string templates.

import { noise } from "./noise.wgsl"

Ready for agents

Docs, CLI and skill built for coding agents. Your agent gets the full API in one command.

npx vgpu

Runs on web and Node.js

One API everywhere. Render to canvas in the browser, test and screenshot headlessly in Node.

import { init } from "vgpu/node"

Explore the Docs