• bitcoinBitcoin(BTC)$77,817.00-3.46%
  • ethereumEthereum(ETH)$2,444.63-2.74%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$691.31-3.23%
  • rippleXRP(XRP)$1.39-4.51%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$104.26-3.86%
  • tronTRON(TRX)$0.3410740.52%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.042.09%
  • HyperliquidHyperliquid(HYPE)$80.39-4.37%
  • zcashZcash(ZEC)$806.880.10%
  • dogecoinDogecoin(DOGE)$0.085329-4.31%
  • RainRain(RAIN)$0.0176792.18%
  • USDSUSDS(USDS)$1.000.01%
  • leo-tokenLEO Token(LEO)$9.642.03%
  • moneroMonero(XMR)$470.971.26%
  • chainlinkChainlink(LINK)$11.42-4.16%
  • whitebitWhiteBIT Coin(WBT)$71.76-3.31%
  • cardanoCardano(ADA)$0.202651-5.72%
  • stellarStellar(XLM)$0.178793-4.42%
  • bitcoin-cashBitcoin Cash(BCH)$247.47-8.03%
  • daiDai(DAI)$1.000.00%
  • CantonCanton(CC)$0.110388-2.98%
  • USD1USD1(USD1)$1.00-0.01%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • litecoinLitecoin(LTC)$49.15-1.91%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.36-3.68%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • hedera-hashgraphHedera(HBAR)$0.075545-4.15%
  • avalanche-2Avalanche(AVAX)$7.30-2.98%
  • shiba-inuShiba Inu(SHIB)$0.000005-5.23%
  • suiSui(SUI)$0.74-5.61%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • uniswapUniswap(UNI)$4.43-6.53%
  • crypto-com-chainCronos(CRO)$0.056782-6.96%
  • tether-goldTether Gold(XAUT)$4,457.92-2.49%
  • nearNEAR Protocol(NEAR)$1.81-6.57%
  • MemeCoreMemeCore(M)$1.04-6.92%
  • Ripple USDRipple USD(RLUSD)$1.00-0.03%
  • okbOKB(OKB)$109.71-3.86%
  • BittensorBittensor(TAO)$236.74-5.52%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.10%
  • pax-goldPAX Gold(PAXG)$4,461.38-2.47%
  • aaveAave(AAVE)$121.81-5.86%
  • AsterAster(ASTER)$0.69-2.88%
  • Pump.funPump.fun(PUMP)$0.004625-3.69%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.057666-5.51%
  • OndoOndo(ONDO)$0.353635-7.16%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

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

August 28, 2026
in AI & Technology
Reading Time: 6 mins read
A A
Vercel AI Open-Sources vgpu: A TypeScript WebGPU Library for AI Agent Shaders
ShareShareShareShareShare

Shaders are still the hardest thing to ship on a normal web team. WebGPU gives you the hardware, then hands you adapters, bind group layouts, and pipeline descriptors before a single pixel moves. Vercel spent that cost internally building the shaders on vercel.com, and has now open-sourced the result. vgpu is a TypeScript library that treats .wgsl files as importable modules, exposes one Gpu context, and runs the same shader in a browser canvas, in headless Node.js, and in a CI snapshot test.

Is it deployable?

Yes,vgpu is MIT licensed and published to npm, so pnpm add vgpu is the entire acquisition path. It is a library, not a hosted service, so there is no account, quota, or inference bill.

YOU MAY ALSO LIKE

How To Use Your Old Android Phone As A Wi-Fi Extender

When Content Is Infinite, Point of View Becomes the Scarce Asset – Unite.AI

One context, no hidden global state

init() acquires an adapter and device and returns a single Gpu handle. Everything else hangs off it. The browser quick start in the README is four lines:

const gpu = await init();
const surface = gpu.surface(canvas, { dpr: [1, 2] });
const wave = gpu.effect(WAVE_WGSL, { set: { speed: 2 } });
gpu.frame.loop(() => { wave.set({ time: gpu.time }); wave.draw(); });

surface wraps the canvas and clamps device pixel ratio between 1 and 2. effect compiles WGSL into a fullscreen effect whose uniforms are addressed by their WGSL names through set(). Frames are explicit: passes, clears, and draws are calls, never implicit scene-graph state.

WGSL as a Module System

The differentiator is shader tooling. .wgsl files import and export like TypeScript modules. vgpu resolves the module graph, reflects bindings, removes unused declarations, and emits compact shader source at build time. That removes the hand-written binding declarations that normally drift out of sync with the shader. The README states a complete fullscreen effect ships in 25 KB gzipped, and that the budget is enforced in CI.

Three Runtimes, One API

The package exposes subpath exports for vgpu, vgpu/node, vgpu/mock, vgpu/scene, vgpu/client, and vgpu/core. The Node path is Dawn-backed and renders offscreen:

const target = gpu.target({ size: [256, 256], format: "rgba8unorm" });
const pixels = await target.read();

That is what makes CI rendering practical. pixelmatch and pngjs are direct dependencies of the published package, consistent with the documented workflow where CI compiles the shader, renders a headless frame, and compares the snapshot. The mock adapter is deterministic and exists for tests that should not touch a GPU at all.

The Agent Surface

Vercel calls this an agent-first library, and the packaging backs that up. The package ships a vgpu binary, so npx vgpu docs, npx vgpu examples, and npx vgpu check work without a global install. vgpu.sh publishes agents.md, llms.txt, and a full documentation export, plus a tokenless examples discovery API with an OpenAPI 3.1 description. A hosted read-only MCP server is available at vgpu.sh/api/mcp, and @modelcontextprotocol/server is a direct dependency. There is also an installable agent skill in the repo.

Comparison

Key Takeaways

  • Vercel open-sourced vgpu, the WebGPU library it built to ship shaders on vercel.com.
  • One API surface runs in the browser, in headless Node.js via Dawn, and in a deterministic mock.
  • .wgsl files import and export like TypeScript modules, with reflection for bindings and layouts.
  • A complete fullscreen effect ships in 25 KB gzipped, a budget the repo says CI enforces.
  • MIT licensed, on npm at v0.3.1, with a CLI, llms.txt, and a hosted read-only MCP endpoint.

Check out the GitHub Repo, Docs and Examples, and the npm package. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

Credit: Source link

ShareTweetSendSharePin

Related Posts

How To Use Your Old Android Phone As A Wi-Fi Extender
AI & Technology

How To Use Your Old Android Phone As A Wi-Fi Extender

August 28, 2026
When Content Is Infinite, Point of View Becomes the Scarce Asset – Unite.AI
AI & Technology

When Content Is Infinite, Point of View Becomes the Scarce Asset – Unite.AI

August 28, 2026
Anthropic Reports Claude Agents Mitigated Ten Alignment Failures – Unite.AI
AI & Technology

Anthropic Reports Claude Agents Mitigated Ten Alignment Failures – Unite.AI

August 28, 2026
Early Leak Of NVIDIA’s DLSS 5 Has An Uncanny Valley Problem
AI & Technology

Early Leak Of NVIDIA’s DLSS 5 Has An Uncanny Valley Problem

August 28, 2026
Next Post
Dogs maul boy during Bahamas vacation

Dogs maul boy during Bahamas vacation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
USS Abraham Lincoln to head home amid concerns about living conditions

USS Abraham Lincoln to head home amid concerns about living conditions

August 23, 2026
Colombian rescuers search rubble for quake survivors

Colombian rescuers search rubble for quake survivors

August 26, 2026
From In-Silico to Wet-Lab: Evaluating AI Protein Design Performance

From In-Silico to Wet-Lab: Evaluating AI Protein Design Performance

August 27, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!