Build with AI

Your agent writes the scene. The repo tells it how, and proves it worked.

Pebble3D is written to be read by coding agents. The rules are in one file, every scene field is documented with its default, and every change can be checked with a command that writes an image and a report.

Making a game? Ask in plain words. The agent interviews you first. It asks at most six short questions, writes a brief for you to approve, then builds a complete game: title, play, results and restart, with game feel and one committed look. It verifies the game with screenshots and tests before it reports done. The nine agent skills →

What the agent reads

What the agent can verify

CommandWhat it proves
pnpm shot --scene <name> --cam hero Renders a scene in Chromium and writes a PNG plus a JSON sidecar with the adapter, render stats, state hash, tick and console. Exits 1 on any unexpected console warning or error. Needs a GPU.
pnpm shot --app rockfall --param demo=1 --ticks 600 The same for a game app, driven by its ?demo=1 autoplayer bot. Needs a GPU.
node --experimental-strip-types packages/sdk/test/determinism.mjs --expect "$(cat packages/sdk/test/fixtures/det-hash.txt)" Runs the determinism fixture in Node; it must print 2d76d9927e780425.
pnpm test && pnpm typecheck && pnpm lint Unit tests (including Node runs of the game sims on the real wasm), types and lint.
pnpm --filter chain-reaction verify Replays every puzzle solution headless in Node and checks the stored state hashes.
pnpm docs:gen --check Fails if the generated scene and API references are stale after a schema or export change.

Details, flags and the console-error policy: Verification. A failing check and its fix: Troubleshooting.

Why this works for agents

Product names belong to their owners. Pebble3D is not affiliated with or endorsed by any of them; these pages only describe how the repo's files work with each tool.