# Rengi Forge Playtest

> Rengi Forge Playtest is a paid API for AI agents from rengi.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-11-22).

Runs a web game (via URL or ZIP build) on simulated PC and weak-phone environments and returns errors, screenshots, video, performance metrics, and compatibility issues

## Facts

- Endpoint: POST https://rengi.dev/v1/playtest/run?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rengi-forge-playtest-d806a96a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L5IdOk72dbg77-znuLB8K

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rengi-forge-playtest-d806a96a -d '<json body>'
```

Example prompt: Playtest my Unity WebGL game at https://mygame.example.com for 30 seconds using a random seed of 42, test it on both PC and weak-phone profiles, do some monkey testing, and give me the errors, screenshots, draw call count, and load time.

## When to prefer this

Choose this endpoint when you need automated, reproducible QA for browser-based or Unity WebGL games, especially to catch mobile-specific issues (black screens, freezes, shader stalls, memory leaks) without manual device testing. It is uniquely suited for pre-launch compatibility checks across PC and low-end phone profiles in a single call, with optional scripted interactions and monkey testing. Prefer it over generic browser automation tools when game-specific metrics (draw calls, textures, shader performance, build weight) are needed.

## Known failure modes

- ZIP exceeds size limit (~35 MB for base64, ~50 MB for zipUrl) — returns error
- index.html not found at root or one folder down in ZIP — build fails to load
- Game URL is not publicly accessible — connection error
- Session duration outside allowed range (10–45 seconds) — validation error
- steps array exceeds 40 items — validation error
- Game hangs indefinitely and produces no useful output — timeout with partial metrics
- WebGL not supported by the simulated environment — compatibility error

## How this service works

Playtest: Play a web game (URL or ZIP build) as on a PC and as on a weak phone: errors, missing files, black or frozen screen, load time, draw calls, textures, shader stalls, memory leaks, build weight, video and screenshots. Full schema: https://rengi.dev/v1/playtest/schema

## Output

Returns a detailed playtest report including: console errors and stack traces, missing asset files, screenshots and a video recording of the session, load time, draw call count, texture and shader stall metrics, memory leak indicators, build weight, and flags for black or frozen screen conditions — all captured separately for PC and weak-phone profiles.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public URL of the game page."
  },
  "zip": {
   "type": "string",
   "description": "ZIP of a static web build as base64, up to about 35 MB (index.html at the root or one folder down; Unity WebGL builds work). Bigger builds: zipUrl, up to 50 MB."
  },
  "seed": {
   "type": "integer",
   "default": 1,
   "maximum": 1000000,
   "minimum": 0,
   "description": "Random input seed, to repeat a run."
  },
  "steps": {
   "type": "array",
   "items": {
    "anyOf": [
     {
      "type": "object",
      "required": [
       "do",
       "ms"
      ],
      "properties": {
       "do": {
        "type": "string",
        "const": "wait"
       },
       "ms": {
        "type": "integer",
        "maximum": 20000,
        "minimum": 0
       }
      },
      "additionalProperties": false
     },
     {
      "type": "object",
      "required": [
       "do",
       "key"
      ],
      "properties": {
       "do": {
        "type": "string",
        "const": "key"
       },
       "key": {
        "type": "string",
        "maxLength": 20,
        "minLength": 1,
        "description": "A key name like ArrowRight, Space, Enter, w."
       },
       "holdMs": {
        "type": "integer",
        "default": 100,
        "maximum": 5000,
        "minimum": 10
       }
      },
      "additionalProperties": false
     },
     {
      "type": "object",
      "required": [
       "do",
       "x",
       "y"
      ],
      "properties": {
       "x": {
        "type": "number",
        "maximum": 1,
        "minimum": 0
       },
       "y": {
        "type": "number",
        "maximum": 1,
        "minimum": 0
       },
       "do": {
        "type": "string",
        "const": "click"
       }
      },
      "description": "x, y: fractions of the viewport (0.5, 0.5 is the middle).",
      "additionalProperties": false
     },
     {
      "type": "object",
      "required": [
       "do",
       "x",
       "y"
      ],
      "properties": {
       "x": {
        "type": "number",
        "maximum": 1,
        "minimum": 0
       },
       "y": {
        "type": "number",
        "maximum": 1,
        "minimum": 0
       },
       "do": {
        "type": "string",
        "const": "tap"
       }
      },
      "additionalProperties": false
     },
     {
      "type": "object",
      "required": [
       "do",
       "text"
      ],
      "properties": {
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rengi-forge-playtest-d806a96a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rengi.dev](https://www.zero.xyz/host/rengi.dev/llms.txt)
