---
title: vgpu Docs
description: Build WebGPU applications for browsers, Node.js, and automated workflows.
---

# vgpu Docs



vgpu is a TypeScript library for building WebGPU applications with one composable API. Write modular WGSL once, then use the same shaders for interactive canvases, headless rendering, images, video, and automated tests.

## How to use these docs

* [Get started](/docs/get-started) — install vgpu and render your first frame.
* [Learn the concepts](/docs/concepts) — understand GPUs, targets, frames, effects, and adapters.
* [Explore the examples](/examples) — see live WebGPU demos and inspect their source.
* [Explore the guides](/docs/guides) — solve specific problems involving performance, testing, and shader authoring.
* [Browse the API reference](/docs/reference) — look up packages, types, and functions.

Using a coding agent? Run `npx vgpu` to give it access to the docs, verified examples, validation tools, and runtime diagnostics.

## Tools and workflows

* [CLI](/docs/cli) — explore documentation, inspect examples, validate WGSL, and diagnose the runtime.
* [MCP](/docs/mcp) — connect agents to VGPU documentation and verified examples.
* [ML](/docs/ml) — run ONNX models alongside vgpu on a shared `GPUDevice`.


---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)