Vercel launches vgpu WebGPU library
vgpu enables developers to create performant shaders for AI agents with TypeScript integration, expanding WebGPU capabilities beyond traditional graphics.
Vercel announced vgpu, a minimal WebGPU library designed for AI agents. The library allows WGSL shaders to be processed as TypeScript with module-like import/export capabilities. It provides multiple interfaces including prompts, CLI, SDK, and MCP for AI agent integration. The library works in both browser and Node.js environments.
Vercel推出了一个叫 vgpu 的 WebGPU 库。 它的核心是为 AI 智能体设计的一套着色器,既能在浏览器里交互运行,也可以在 Node.js 环境里运行。 它把 WGSL 着色器当作 TypeScript 处理,支持像模块一样导入导出,在打包时具有非常好的扩展性。 而且它在安装和使用时,提供了提示词、CLI、SDK、MCP 等多种方式,去告诉 AI 智能体怎么使用。 我把前几天用智谱 GLM-5.3-Flash 做的那个案例用 vgpu 优化了一下,加了很多细节,比如投影、模糊,以及自定义参数的配置。 Matias 🧉 @matiNotFound About 7 months ago, I started designing a WebGPU library to ship performant shaders at Vercel. Today, we are announcing vgpu: a minimal WebGPU library designed for agents. But what does "designed for agents" mean? 🧵 Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 2 🔄 0 ❤️ 6 👀 1478 📊 2 ⚡