Did you know Astra can build games too?
Hi everyone, it's me! Last time was about architecture — this time an AI agent went and built actual games!
OpenAI DevelopersWhat was announced?
OpenAI Developers published a case study on building games with an AI agent called Astra (built on the Claude Agent SDK). The post walks through Astra proposing and implementing a technical stack using TypeScript/Vite, Three.js, and WebGPU.
Three projects are featured:
- Void Explorer: a space exploration game with 2,048 star systems and over 10,000 procedural planets
- Sunwake: a boat-sailing game set on a procedural ocean
- Hollowflux: a 2D action RPG set around an underground river
Why it matters
Game development needs two different kinds of expertise: art direction for the look and feel, and working code for the actual implementation. Astra first locks down the visual direction using generated images, then turns that into playable Three.js/WebGPU code — showing that one agent can span from concept to prototype.
What changes
On the technical side, Astra uses techniques you'd expect from real game engine work: asynchronous terrain generation via Web Workers, and a heightfield-based LOD (level of detail) system to manage rendering load. Testing runs through Playwright browser tests and state inspection via a window.__VOID_EXPLORER__ JavaScript interface. Deployment is covered too — a prompt like "deploy this game with @Sites and give me the link" gets it playable in a browser.
Dive Deep
The numbers behind the optimizations are the highlight here:
- Distant planet terrain meshes reduced from 51,200 to 7,040 triangles
- Vertex indexing cut buffer transfer size from 35 MB to 15 MB
- Better terrain-generation scheduling cut discarded jobs from 6,074 to 13
- After moving to WebGPU, draw calls dropped from 119 to 77 while total triangle count rose from 48,809 to 61,092, and average frame time improved from 251.48 ms to 199.26 ms
Planet-scale positioning uses large integer cells combined with small local offsets to preserve GPU precision across vast space. Terrain is managed with a quadtree built from six cube-face projections, using alternate pixel masks to avoid visible popping when LOD levels switch.
One limitation noted: because planets use heightfields, features like caves, overhangs, and destructible tunnels aren't supported.
Wrap-up
- Astra built three games from concept to prototype using Three.js/WebGPU
- It applied practical optimizations: async terrain generation, LOD, and GPU-precision-preserving coordinate handling
- Moving to WebGPU cut draw calls while improving frame times
- Heightfield-based terrain means no caves or destructible tunnels
A solid read with concrete numbers for anyone interested in game dev or WebGPU optimization techniques.