Skip to content

VGAI — build and adapt games with AI agents

Describe a browser game to an agent, build it in an ordinary source project, and watch it run in the same visual editor.

VGAI is an AI-native game engine, visual editor, and universal host. A human or coding agent can create a new game, continue a VGAI project, or bring an existing Three.js, React Three Fiber, PixiJS, or React game without treating the engine repository as the game project.

Start from an example

Open a working example immediately, then inspect it in Play mode or scaffold an editable standalone copy with the CLI.

Continue a VGAI project

Run npm run dev in the project folder. It opens or reuses that project’s editor session; npm run game is the separate player-only surface.

Bring an existing game

Begin with the adapter and ingest guide. VGAI detects the renderer and capability tier before adding metadata, and never silently rewrites the original game.

Use the engine as a library

Install @vgai/engine directly when you want its TypeScript APIs inside your own project rather than the full editor-first workflow.

The learning structure follows the proven separation used by established game engines—tutorials, focused how-to guides, conceptual manual, examples, and API reference—while the project and agent flow is designed for AI-first authoring.