Pita for AI agents

Make a real game and ship it anywhere. Pita gives each game a git repo, asset storage, isolated environments to test in, web hosting, and optional multiplayer servers, all of it operated by your coding agent.

Make a real game and ship it anywhere. Pita gives each game a git repo, asset storage, isolated environments to test in, web hosting, and optional multiplayer servers, all of it operated by your coding agent.

Quick start (anonymous, no account required)

If the person you're working with doesn't have a Pita account yet, create an anonymous account (random username, 1 static web game) in one request:

curl -s -X POST https://api.pita.sh/api/trials \
  -H "Content-Type: application/json" \
  -d '{"acceptTerms": true, "name": "My Game"}'

Setting acceptTerms: true agrees to Pita's Terms of Service (https://pita.sh/terms) for the person you're working with (13+).

The response includes:

  • username — randomly generated account name.
  • agentLink — scoped MCP + HTTP + CLI credential for the game (keep private).
  • inviteUrl — shareable browser link so anyone can play with no account.
  • claimUrl — give this to the developer so they can claim the game with a free email sign-up (keeps it online past 24 hours and unlocks private code & asset storage).

Publish a static web game

Install the CLI once:

curl -fsSL https://api.pita.sh/install.sh | sh

Add [client] pointing to your static web build folder (index.html) in pita.toml:

[client]
artifact = "dist"

Then publish with the agent link from the response:

pita publish --link <agentLink> --to production

pita publish uploads only changed FastCDC chunks with COOP/COEP headers ready for threaded WASM. Share inviteUrl with the developer right away.

Already have a Pita account?

You can connect your coding agent to Pita in two ways—both expose the exact same three MCP tools (list_operations, describe_operation, call_operation) and operation catalog:

Add Pita's remote MCP server (https://api.pita.sh/mcp). It signs you in through your browser with OAuth and reaches every game you own or develop, plus list_games and create_game (including Pita's Universal template: Odin on Sokol for 3D, 2D, or Custom games that build for Web, Windows, macOS, Linux, Steam, iOS, and Android):

claude mcp add --transport http pita https://api.pita.sh/mcp

Paste a game's agent link (copied from its page in Pita) into Claude Code, Codex, Cursor, or any coding agent:

Read https://api.pita.sh/agent/<your-token> and follow its instructions to set up my game on Pita.

That single link works as an MCP server, plain HTTP operations (POST <link>/operations/<name>), the git remote credential, and the CLI credential for that game.

Local dev, assets, environments & multiplayer

  • Local dev (pita dev): Serves your client cross-origin isolated at http://localhost:7070 (?player=alice&role=admin for multi-tab and role testing) alongside any declared [servers.central] / [servers.instance] servers with local SQLite.
  • Large binary assets (assets.lock): Put heavy textures, audio, and 3D models (up to 256 MB per file) in assets/ (gitignored), run pita assets push, and commit assets.lock. Restore on any machine with pita assets pull.
  • Isolated environments: Create preview slots (<game>--<name>) with create_environment or pita publish --to <name> --create. Each environment has its own play URL, secrets, and (if using servers) isolated SQLite database while sharing uploaded asset blobs.
  • Optional WASM/JS multiplayer servers + built-in SQLite: Declare [servers.central] and optional per-match [servers.instance] in pita.toml using a JavaScript ES module (@pita/sdk/server) or any language compiled to WebAssembly (.wasm, via sdk/c/pita_server.h or Rust pita::wasm_server). Servers auto-hibernate at zero CPU when idle, wake in milliseconds, include persistent embedded SQLite, and expose get_server_logs, get_server_stats, get_server_sqlite_schema, query_server_sqlite, and role-aware test players (player, developer, admin).

Plan tiers & limits

TierPriceWhat's included
Anonymous (no signup)$0 (24h)1 static web game uploaded with pita publish (up to 512 MiB), shareable invite link, 24h unless claimed. No code storage, no assets.lock, no multiplayer servers, no environments, no collaborators.
Free (email signup / claim)$0 forever1 static web game with private git hosting and assets.lock binary storage (2 GiB total storage, builds up to 1 GiB), shareable playtest links, FastCDC delta updates & rollbacks. Solo developer, production only.
Basic$14/mo (7-day free trial)Multiplayer servers & built-in SQLite (up to 25 live instances, auto-hibernating on idle, no hourly billing), up to 5 games, 10 isolated playtest environments per game, multiple developers / collaborators, and 10 GiB storage (builds up to 1 GiB).

FAQ

Does Pita bundle its own AI model or charge token credits?

No. Pita has no embedded chatbot and sells no AI credits. You use the coding agent you already pay for (Claude Code, Cursor, Codex, OpenCode, or any MCP/HTTP-capable agent).

Do I have to use Pita's Universal template?

No. New games created in Pita start from the Universal template (Odin + Sokol: 3D, 2D, or Custom) so one codebase builds for Web, desktop, Steam, iOS, and Android—but you can also bring any existing project that exports a static web bundle (Three.js, Phaser, PixiJS, Godot 4, Bevy, Unity WebGL, Raylib, and more).

Can I ship a game made on Pita to Steam or mobile?

Yes. Your source code lives in standard Git, pita assets pull restores every binary asset locally, and your game stays 100% portable with no proprietary runtime lock-in.