What is Pita?
Updated · 3 min read
Pita is a game workspace and hosting platform operated by your coding agent. It gives every game a Universal starter template (Odin on Sokol for Web, desktop, Steam, iOS, and Android) or lets you bring any web-exportable engine—with private git hosting, content-addressed binary asset storage (assets.lock), isolated playtest environments, FastCDC delta web hosting, shareable invite links, and optional auto-hibernating WebAssembly or JavaScript multiplayer servers with built-in SQLite.
What Pita handles
When you create a game on Pita, the workspace includes:
- Universal starter template (or bring your own engine). New games start from Pita's Universal template (Odin + Sokol in 3D, 2D, or Custom layouts)—playable from minute one and buildable for Web, Windows, macOS, Linux, Steam, iOS, and Android from one codebase. You can also bring an existing project in Three.js, Phaser, PixiJS, Godot 4, Bevy, Raylib, Unity WebGL, or any engine that outputs a static web bundle.
- Private git repository. Standard git hosting for your source code, with collaborator access by username or email.
- Content-addressed binary assets (
assets.lock). Large textures, audio files, and 3D models (up to 256 MB per file) stay out of git history and sync viapita assets pushandpita assets pull, pinned to commits through a plain-textassets.lockmanifest. - Isolated playtest environments. Separate slots such as
playtestorbalance-v2, each with its own URL, secrets, and (if using servers) isolated SQLite database, while sharing uploaded asset blobs with production. - Delta web hosting (
pita publish). Builds are split into FastCDC chunks (~2 MB) so updates only transfer changed bytes, rollbacks take one click (deploy_build), and every game runs on an isolated origin (<slug>.games.pita.sh) withCOOP/COEPheaders enabled for threaded WebAssembly (SharedArrayBuffer). - Shareable playtest links. Keep a game private with a rotatable invite link (no player account required), open it to signed-in Pita users, or allow anyone with the link to play immediately.
- Optional WASM/JS multiplayer servers and SQLite. Static games run with nothing provisioned. If you add
[servers.central]or per-match[servers.instance]inpita.toml, Pita runs sandboxed JavaScript (@pita/sdk/server) or WebAssembly (.wasm) servers with persistent embedded SQLite, automatic zero-CPU idle hibernation (waking in milliseconds), built-in user roles (player,developer,admin), live logs, live SQLite query tools, and test players.
How coding agents connect
Pita does not bundle its own AI model or sell AI credits. You use whichever coding agent you already work with (Claude Code, Codex, Cursor, OpenCode, or any MCP/HTTP client):
- Account MCP server (
https://api.pita.sh/mcp): Connect once via browser OAuth (claude mcp add --transport http pita https://api.pita.sh/mcp) to reach every game you own or develop, pluslist_gamesandcreate_game. - Per-game agent link (
https://api.pita.sh/agent/<token>): Scoped to a single game—works as an MCP server, plain HTTP operations, git credential, and CLI auto-detection. Revoke or rotate it at any time. - Anonymous trial (
POST https://api.pita.sh/api/trials): Lets an agent publish 1 static web game for 24 hours with no account required, returning aclaimUrlto keep it permanently on a free account.
Portability
Your code lives in standard Git, pita assets pull downloads every binary asset back onto local disk, and your builds are standard web or native bundles. Moving a project elsewhere—or shipping to Steam, iOS, and desktop—requires no proprietary export tool.
Pricing
- Free ($0 forever, no card required): 1 static web game with private git hosting,
assets.lockbinary storage (2 GiB total storage, builds up to 1 GiB), shareable links, and FastCDC delta updates & rollbacks. - Basic ($14/month, 7-day free trial — cancel anytime): Up to 5 games, 10 isolated playtest environments per game, 10 GiB total storage (builds up to 1 GiB), team collaborators, and optional WASM/JS multiplayer servers with built-in SQLite (up to 25 live instances, auto-hibernating on idle, no hourly billing).
FAQ
Do playtesters need a Pita account?
No. Send them an invite link (or enable public/anyone access) and they can launch the game directly in their browser.
Which game engines work on Pita?
New games start from Pita's Universal template (Odin + Sokol), and you can also publish any engine or framework that exports a browser bundle (index.html, JavaScript, WebAssembly, and assets)—including Three.js, Phaser, PixiJS, Godot 4, Bevy, Raylib, and Unity WebGL.
Does a single-player game need a server?
No. Single-player games stay completely static on the Free tier ($0 forever) while still getting private git hosting, assets.lock, shareable links, and FastCDC delta deploys.