# Loopcade > Developers publish small browser games they make with AI coding agents, and test them with players. Games open in the browser with no install. The site is in a small invite-only test. Default language Turkish; English with ?lang=en. Site: https://loopcade.games/ ## What it is - A catalog of short, jam-style browser games. No persistent saves, no leaderboards. - Every uploaded game is built with Miyavi Kit (template + SDK). The server checks that the official SDK is used unmodified and that the build fits the size limit: PC 10 MB, mobile 5 MB. - Loop: use the kit, upload a zip, players play and rate, the developer reads feedback, error reports and consented run recordings (can give them to their agent), then uploads a fixed version. - Membership is by application and invite. Measurement only with visitor consent; no names, emails or location. ## Pages - [About](https://loopcade.games/about.html): what the site is, who it is for, how it works (Turkish; English with ?lang=en) - [Games](https://loopcade.games/): game list - [Game page](https://loopcade.games/oyun.html?id=SLUG): one game, `SLUG` from the sitemap - [Sitemap](https://loopcade.games/sitemap.xml): all published games ## For agents building a game - [Miyavi Kit](https://github.com/Zeatrex01/miyavi-kit): template, SDK, its own llms.txt, TypeScript definitions and `npm run check` - Build: run `npm run check` in the kit, zip the `dist` folder, upload it from the developer page (members only). ## Agent API Read-only JSON for a developer's own games, so their agent can read plays, errors, comments and consented run recordings, then fix and update the game. - Key: the developer creates it on the developer page ("Connect your agent" card) and gives it to the agent. Send `Authorization: Bearer mg_...`. A key reads only its owner's games and changes nothing. - `GET https://loopcade.games/api/agent/v1/games`: your games (`slug`, publish state, SDK, last build, runs and open errors) - `GET /api/agent/v1/games/{slug}/stats?days=30`: plays, players, play time, returning players, top events, daily numbers, ratings, latest comments - `GET /api/agent/v1/games/{slug}/errors`: error groups (message, place, SDK and game version, sessions, status) - `GET /api/agent/v1/games/{slug}/runs?limit=50`: recorded runs with summaries - `GET /api/agent/v1/runs/{id}`: one full run (`miyavi-run/1`: seed, hz, inputs, event timeline) that replays exactly - `GET /api/agent/v1/me`: who owns the key - Example: `curl -H "Authorization: Bearer mg_..." https://loopcade.games/api/agent/v1/games/SLUG/stats` - Every answer: `{"format":"miyavi-agent/1","about":"what the fields mean","data":...}`. Errors: `{"error":{"code","message","fix"}}` with codes `E_KEY_MISSING`, `E_KEY_INVALID`, `E_KEY_REVOKED`, `E_KEY_EXPIRED`, `E_KEY_SUSPENDED`, `E_NOT_FOUND`, `E_RATE` (60 requests a minute), `E_BAD_REQUEST`, `E_SERVER`.