explaingit

7etsuo/anvil

Analysis updated 2026-05-18

26TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A TypeScript game engine built for AI coding agents to build browser, desktop, and testable games with.

Mindmap

mindmap
  root((Anvil))
    What it does
      Game engine
      Agent friendly
      Multi genre
    Tech stack
      TypeScript
      Node.js 22
      pnpm
    Use cases
      Browser games
      Desktop games
      Headless testing
    Audience
      AI coding agents
      Game developers
    Status
      Core runtime done
      Authoring in progress
      Some tests failing

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Prototype a browser based game using a shared engine and public APIs.

USE CASE 2

Build a game with an AI coding agent driving development.

USE CASE 3

Study Gravewake as a reference title for structuring a game on Anvil.

USE CASE 4

Run headless verification tests as part of an automated build pipeline.

What is it built with?

TypeScriptNode.jspnpm

How does it compare?

7etsuo/anvilantonp29/sylvasignerbonsai27b/bonsai-27b-ollama-desktop
Stars262626
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a specific Node.js and pnpm version, and the full test suite currently has known failures.

In plain English

Anvil is a game engine written in TypeScript, built specifically so that AI coding agents can build games with it, not just human developers. It targets three places games can run: a web browser, a headless mode used for automated testing and verification, and desktop applications. The project is organized so the engine and the games built on it live side by side in the same repository. Games are expected to use only the engine's public APIs rather than reaching into its internals, which keeps the boundary between engine code and game code clean. One example game already included is Gravewake, an action role playing game that the maintainers describe as an active, playable campaign and a reference title for how a full game should be structured on top of Anvil. The engine itself is described as having its core runtime, labeled milestones one through nine, complete, while the next stage of work, milestones ten and eleven, focused on tools for building and authoring content, is still in progress. The README is honest that the full test and check suite is not currently passing cleanly: there are three failing command line integration tests tied to unfinished work on a newer schema format. To work with the code, a developer needs Node.js version 22 or newer and a specific version of the pnpm package manager, 9.15.9. From there, setup follows a fairly standard flow: install dependencies, build the packages, then run the test suite, linter, and example validation scripts. The project also documents a workflow for using Grok Build and Grok Imagine, tools for generating code and game assets, suggesting the team leans on AI tooling throughout development, not only for the engine's own design goal of being agent friendly. Overall this is an early-stage, actively evolving engine project aimed at developers or AI agents who want to prototype games in TypeScript across web, desktop, and automated test environments.

Copy-paste prompts

Prompt 1
Help me set up the Anvil TypeScript game engine using pnpm and Node 22, and explain what pnpm -r run build does.
Prompt 2
Walk me through the public APIs a game like Gravewake uses to talk to the Anvil engine.
Prompt 3
Show me how to start a new game project inside this repo that only calls Anvil's public surface.
Prompt 4
Explain what the M10/M11 authoring integration work still in progress means for someone building a game today.

Frequently asked questions

What is anvil?

A TypeScript game engine built for AI coding agents to build browser, desktop, and testable games with.

What language is anvil written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, pnpm.

How hard is anvil to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is anvil for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.