Vercel Racing launches with AI-coded WASM drivers
Vercel released a browser-based racing game where AI models autonomously write, test, and refine Rust driving programs compiled to WebAssembly inside isolated training loops. Players can race directly against any model's latest compiled bot in the browser via WebGPU or watch scheduled AI-vs-AI duels and Grand Prix events.
Vercel Racing is a clever Trojan horse — disguised as a browser arcade game, it doubles as a live production reference architecture for Vercel's entire AI agent stack.
- –Training turns tie together fx (Vercel Labs' lightweight Zig coding agent harness), durable orchestration via Vercel Workflow, model routing through AI Gateway, and persistent Sandbox Drives across scheduled 10- and 30-minute cycles.
- –The security architecture offers a real-world blueprint for running untrusted agent-generated code: agents operate inside deny-all network Vercel Sandboxes with zero credentials, communicating with the host for LLM calls, test drives, and separate disposable Rust-to-WASM compilation strictly through a file-based mailbox.
- –Instead of polling LLMs for real-time steering decisions, models iteratively engineer deterministic Rust bots from lap telemetry and replay images — making this a benchmark for sustained code optimization and debugging rather than low-latency token generation.
- –A fixed 60 Hz physics simulator backed by an embedded WebAssembly math module keeps behavior identical across training, hosted races, and client play, while a dedicated browser render worker draws frames with Vercel Labs' vgpu WebGPU library without affecting race simulation.
- –Engineering safeguards like content-digest sandbox image pinning, SHA-256 artifact checks, step watchdogs, and double-run repeatability verification demonstrate the infrastructure rigor required for autonomous coding loops in production.
DISCOVERED
22m ago
2026-12-04
PUBLISHED
1h ago
2026-12-04
RELEVANCE
AUTHOR
vercel