# Pita > Build real games with your coding agent (Claude Code, Cursor, Codex). Start from the Universal Odin/Sokol template or bring your own engine—private git, assets.lock, playtest environments, delta web deploys, and optional WASM/JS multiplayer servers with SQLite. Pita is a game workspace and hosting platform operated by your coding agent (Claude Code, Cursor, Codex, OpenCode, or any MCP/HTTP client). New games start from Pita's Universal template (Odin on Sokol — 3D, 2D, or Custom — compiling one codebase for Web, Windows, macOS, Linux, Steam, iOS, and Android), or you can bring any web-exportable project (Three.js, Phaser, PixiJS, Godot 4, Bevy, Raylib, Unity WebGL). Every workspace bundles private git hosting, content-addressed binary asset storage (`assets.lock`, up to 256 MB/file), FastCDC delta web publishing with automatic `COOP`/`COEP` headers and 1-click rollbacks, shareable invite links, isolated playtest environments, and optional auto-hibernating WebAssembly (`.wasm`) or JavaScript multiplayer servers with built-in persistent SQLite. Pita has no embedded AI chatbot and sells no token credits. ## Connect your coding agent ### Option 1: Account MCP server (recommended — connect once for all games) Add Pita's remote OAuth MCP server (`https://api.pita.sh/mcp`): ```sh claude mcp add --transport http pita https://api.pita.sh/mcp ``` ### Option 2: Anonymous 24-hour trial (no account required) Create an anonymous account (1 static web game uploaded with `pita publish`, playable via invite link): ```sh curl -s -X POST https://api.pita.sh/api/trials \ -H "Content-Type: application/json" \ -d '{"acceptTerms": true, "name": "My Game"}' ``` Install the CLI once (`curl -fsSL https://api.pita.sh/install.sh | sh`) and publish: ```sh pita publish --link --to production ``` Give the developer the returned `claimUrl` (free email sign-up keeps the game permanently and unlocks private git hosting and `assets.lock` binary storage). ## Pricing - **Free ($0 forever):** 1 static web game, private git hosting, `assets.lock` storage (2 GiB total, builds up to 1 GiB), shareable links, FastCDC delta deploys & rollbacks. - **Basic ($14/mo, 7-day free trial):** Up to 5 games, collaborators, 10 isolated playtest environments per game, 10 GiB storage, and WASM/JS multiplayer servers with built-in SQLite (up to 25 live instances, auto-hibernating on idle, no hourly billing). ## Documentation & machine-readable indexes - [Pita for AI agents](https://pita.sh/agents.md): full guide for coding agents (Markdown) - [Full reference for LLMs](https://pita.sh/llms-full.txt): complete single-file Pita documentation, CLI reference, `pita.toml` config, and guide summaries - [Pita homepage](https://pita.sh/): overview and pricing - [About Pita](https://pita.sh/about): what Pita builds and contact email ## Guides - [WebSockets vs. WebRTC for browser multiplayer games](https://pita.sh/blog/websockets-vs-webrtc-for-browser-multiplayer-games) ([Markdown](https://pita.sh/blog/websockets-vs-webrtc-for-browser-multiplayer-games.md)): A technical breakdown of WebSockets vs. WebRTC DataChannels for browser games—latency, TCP head-of-line blocking, NAT traversal, and when each transport makes sense. - [How to host a game built with Cursor](https://pita.sh/blog/how-to-host-a-game-made-with-cursor) ([Markdown](https://pita.sh/blog/how-to-host-a-game-made-with-cursor.md)): A practical guide to deploying a browser game made in Cursor—from checking production bundles and asset paths to automating deploys with static hosts or a Pita workspace. - [How to export and host a Godot 4 web game](https://pita.sh/blog/how-to-host-a-godot-4-web-export) ([Markdown](https://pita.sh/blog/how-to-host-a-godot-4-web-export.md)): Step-by-step guide to exporting Godot 4 for the web—choosing single-threaded vs. multi-threaded WASM, fixing SharedArrayBuffer headers, shrinking .pck size, and picking a host. - [itch.io alternatives for private playtesting](https://pita.sh/blog/itch-io-alternatives-for-private-playtesting) ([Markdown](https://pita.sh/blog/itch-io-alternatives-for-private-playtesting.md)): Comparing the best ways to run private playtests outside of itch.io—including Steam Playtest, TestFlight, Cloudflare Pages preview links, and Pita invite links. - [Best game engines to use with Claude Code and Cursor](https://pita.sh/blog/best-game-engines-for-claude-code-and-cursor) ([Markdown](https://pita.sh/blog/best-game-engines-for-claude-code-and-cursor.md)): A practical comparison of Three.js, Phaser, PixiJS, Godot 4, Bevy, and Unity when building games with AI coding agents—based on text readability, compile speed, and export targets. - [How to ship an AI-generated game to Steam and iOS](https://pita.sh/blog/how-to-ship-an-ai-generated-game-to-ios-and-steam) ([Markdown](https://pita.sh/blog/how-to-ship-an-ai-generated-game-to-ios-and-steam.md)): How to structure an AI-assisted game from day one so you can playtest it on the web and still package it cleanly for Steam and the iOS App Store later. - [Spawn vs. Claude Code and Cursor: which should you use to build a game?](https://pita.sh/blog/spawn-vs-coding-agents-for-building-games) ([Markdown](https://pita.sh/blog/spawn-vs-coding-agents-for-building-games.md)): Browser AI game builders like Spawn are great for riffing on ideas fast, while coding agents in a real repo give you a path to Steam, iOS, and custom servers. Here is when each makes sense. - [What is Pita?](https://pita.sh/blog/what-is-pita) ([Markdown](https://pita.sh/blog/what-is-pita.md)): A plain overview of what Pita is, what parts of game development it handles, how coding agents connect to it, and what it costs. - [How to share a game made with Claude Code with friends](https://pita.sh/blog/how-to-share-a-claude-code-game-with-friends) ([Markdown](https://pita.sh/blog/how-to-share-a-claude-code-game-with-friends.md)): Practical ways to get a local browser game from Claude Code into your friends' browsers—from quick tunnels and static hosts to private playtest links. - [How to publish a game made with Claude Code](https://pita.sh/blog/publish-a-game-made-with-claude-code) ([Markdown](https://pita.sh/blog/publish-a-game-made-with-claude-code.md)): A step-by-step checklist for turning a local Claude Code game prototype into a live playable build—bundling assets, fixing paths, and choosing where to deploy. - [How to add multiplayer to an AI-generated game](https://pita.sh/blog/how-to-add-multiplayer-to-an-ai-generated-game) ([Markdown](https://pita.sh/blog/how-to-add-multiplayer-to-an-ai-generated-game.md)): A practical architecture guide for adding real-time multiplayer to a game built with Claude Code, Codex, or Cursor—covering server authority, WebSockets vs. WebRTC, and hosting. - [Best hosting platforms for AI-generated games](https://pita.sh/blog/best-hosting-platforms-for-ai-generated-games) ([Markdown](https://pita.sh/blog/best-hosting-platforms-for-ai-generated-games.md)): An honest comparison of itch.io, Cloudflare Pages, Vercel, Fly.io/Railway, and Pita for hosting browser games built with coding agents. - [How to manage large game assets without Git LFS](https://pita.sh/blog/why-git-lfs-breaks-game-repos) ([Markdown](https://pita.sh/blog/why-git-lfs-breaks-game-repos.md)): Why game repositories outgrow Git and Git LFS, and the main alternatives—from S3/R2 sync scripts and Perforce to content-addressed assets.lock manifests. - [How to playtest your game without sharing source code](https://pita.sh/blog/how-to-playtest-a-game-without-sharing-source-code) ([Markdown](https://pita.sh/blog/how-to-playtest-a-game-without-sharing-source-code.md)): How to share playable builds with friends, collaborators, or external testers while keeping your git repository and unpublished branches private. - [Can you publish a game made with AI on Steam?](https://pita.sh/blog/can-you-publish-a-game-made-with-ai-on-steam) ([Markdown](https://pita.sh/blog/can-you-publish-a-game-made-with-ai-on-steam.md)): What Valve's Steam AI disclosure policy actually requires—covering pre-generated vs. live-generated AI content, store disclosures, copyright, and web-to-Steam packaging. - [How to fix SharedArrayBuffer errors when hosting a browser game](https://pita.sh/blog/how-to-fix-sharedarraybuffer-wasm-game-headers) ([Markdown](https://pita.sh/blog/how-to-fix-sharedarraybuffer-wasm-game-headers.md)): Why Godot 4, Bevy, and Unity WebGL builds throw SharedArrayBuffer or cross-origin isolation errors online, and the exact COOP/COEP headers to fix them. - [How to test game updates without breaking your live build](https://pita.sh/blog/roll-back-a-bad-game-update) ([Markdown](https://pita.sh/blog/roll-back-a-bad-game-update.md)): How immutable builds, separate staging environments, and isolated databases let you test balance tweaks and schema changes safely—and roll back in seconds.