Getting started
Setup
This guide takes a Windows 10 or 11 machine to a working Parallax project. It covers the toolchain, the kit, Roblox Studio, your AI client and a first run. Every step has the command, the check that proves it worked and what to do if it fails.
Hand this to your AI
If you want your AI agent to run setup for you, copy the prompt below, fill in the two blanks and paste it into your client.
Set up Parallax for me. Follow SETUP.md from https://github.com/mayusi/parallax step by step.
My game folder: <C:\path\to\MyGame>. My AI client: <Claude Code | Cursor | VS Code | Gemini CLI | Codex | ...>.
Run every check and compare it with the expected result. Stop and ask me when a step needs me
(admin prompts, sign-ins, Roblox Studio settings). Never ask me for a password or an API key.
Your agent should follow these rules when it reads that prompt:
- Do each step in order. Run its check and compare it with the expected output.
- A failed check is not a next step. Follow the step's recovery notes, then run the check again. Never skip a step or continue past a failed check.
- Stop and ask you when a step requires human action: an installer UAC prompt, signing in, Roblox Studio's own settings switches, or a choice that is yours (the game folder, your AI client, which optional lanes to install).
- Never ask for, type or store a password, token or API key.
- Report at the end using the final check's
summary:lines.
Every Parallax command ends with summary: and next_action:. When a check fails, its next_action: is usually the fix.
What you need
| Tool | Needed for | Required |
|---|---|---|
| Windows 10 or 11 | everything (most commands also run on macOS and Linux; full support is on the roadmap) | yes |
| Git | cloning; the kit's git hooks | yes |
| Rokit → Rojo 7.7.1, Wally 0.3.2, Selene 0.32.0, StyLua 2.5.2, Lune 0.10.5, luau-lsp 1.70.1 | the kit runs on Lune; the rest build and check Luau | yes |
| Python 3.11 with numpy, scipy, Pillow, matplotlib, pytest | the kit's Python tools and tests, and its MCP server | yes |
| An MCP-capable AI client | driving the kit | yes |
| Roblox Studio (latest) with its MCP server | seeing the game, playtests, uploads | for real use |
| Node.js LTS | the VFX effect player's checks | for VFX |
| ffmpeg | sound, effect breakdowns and recordings | for sound and VFX |
| Blender 5.2 | 3D, effect bakes, animation, world and UI renders | for those lanes |
| Local AI models (vision stack, CAD, 3D generators) | references, segmentation, similarity, hard surfaces, drafts | optional, by hardware tier |
Installation steps
-
1
Base toolsInstall Git, Python 3.11, Node.js and ffmpeg.
Skip any tool you already have. Run this in PowerShell:
winget install --id Git.Git -e winget install --id Python.Python.3.11 -e winget install --id OpenJS.NodeJS.LTS -e winget install --id Gyan.FFmpeg -eOpen a new terminal (installers change PATH only for new terminals), then install the Python packages:
python -m pip install numpy scipy pillow matplotlib pytestCheck
git --version python --version node --version ffmpeg -version python -c "import numpy, scipy, PIL, matplotlib, pytest; print('python packages ok')"You should see a version line for each tool,
Python 3.11.x, andpython packages ok.If it fails: "not recognized": open a new terminal and try again. Still failing: install the tool from its own site (git-scm.com, python.org, tick "Add python.exe to PATH", nodejs.org, ffmpeg.org) and open a new terminal. If
pythonopens the Microsoft Store, turn off the "App execution aliases" for python in Windows Settings. -
2
RokitInstall Rokit, the Roblox toolchain manager that pins exact versions.
Invoke-RestMethod https://raw.githubusercontent.com/rojo-rbx/rokit/main/scripts/install.ps1 | Invoke-ExpressionOpen a new terminal.
Check:
rokit --versionprints a version.If it fails: download
rokit.exefrom the latest release page at github.com/rojo-rbx/rokit and run.\rokit.exe self-installin that folder, then open a new terminal. -
3
Get ParallaxClone the kit and install its toolchain and packages.
Choose a folder for the kit (your games live in their own folders next to it):
git clone https://github.com/mayusi/parallax.git cd parallax rokit install wally installrokit installmay ask once whether you trust each tool. They are the six tools inrokit.tomlfrom their official authors; answer yes. An AI agent cannot answer an interactive trust prompt; ask the person to runrokit installonce in their own terminal.Check
lune run parallax versionYou should see
summary: kit 3.1.0(or newer).If it fails:
lunenot recognized: open a new terminal (Rokit adds its folder to PATH).wally installfails: check your internet connection and run it again. -
4
Check the toolchainRun doctor to confirm Tier 0 is complete and see what higher tiers need.
lune run parallax doctorCheck: every Tier 0 tool (Rokit's six, Python and its packages, Node.js, ffmpeg, the Wally packages) is found, and the output includes a
machine tier: Nline (then ends withsummary:andnext_action:). Missing optional tools are listed with the lane each one blocks and how to get it; that is fine until you use that lane.If it fails: install what it names, open a new terminal, and run
doctoragain. -
5
Choose your hardware tierInstall optional tools and AI models based on what your machine supports and which lanes you need.
Parallax runs on any PC and grows with your hardware. Steps 1–4 already give you Tier 0. Go as far up as your machine and your lanes need.
See the Hardware and models page for the full tier table, the AI models each tier adds and what each one unlocks.
Tier 1: DCC and CAD (3D, bakes, animation, worlds). Any CPU. Install Blender 5.2 LTS from blender.org into its default folder (
C:\Program Files\Blender Foundation\); Parallax finds the newest version there. If you install it somewhere else, set aBLENDERenvironment variable to the full path ofblender.exe. Then:lune run parallax tools setup kit-python lune run parallax tools setup cad lune run parallax tools setup mitsubaThe
vision setupcommands below download model weights only. Each model also needs a runtime, which the Hardware and models page names tier by tier.Tier 2: Light vision core (cut-outs, depth, similarity; ~2.4 GB). CPU or a 4 GB GPU. These models run in the kit's own Python, which needs PyTorch, transformers and safetensors. No Parallax command installs them:
doctor's "torch (vision)" row sayspip torch. Pick the PyTorch build for your OS and GPU with the selector at pytorch.org, install transformers and safetensors with pip, then:lune run parallax vision setupTier 3: Local VLM and diffusion (~44.6 GB more). An NVIDIA GPU with 12 GB VRAM and 16 GB RAM. SAM 3 (a gated model) is included in this tier; it requires you to request access on Hugging Face with your own account and set
HF_TOKENin your environment; without it the tier skips SAM 3 and the free SAM 2.1 masks stand in:lune run parallax vision setup --tier visionQwen3-VL runs in the kit's own Python. The other Tier 3 models need two environments that this command does not create: the diffusers environment (SDXL, FLUX.2, DiffusionLight) and the TRELLIS.2 environment (Depth Anything 3, MoGe-2, Marigold-IID, SAM 3). Set both up from
kit/gen/README.md; the TRELLIS.2 environment is compiled with CUDA 13 and MSVC 2022.Tier 4: Full 3D generation (~24.5 GB more of models, plus the generator environments). CUDA 13, 12–16+ GB VRAM, 32 GB RAM, MSVC 2022. qwen-image-edit runs in sd-cpp, a native Windows program this command downloads. After the models, follow
kit/gen/README.mdfor the generator environments:lune run parallax vision setup --tier genEach Tier 4 generator has its own licence; some restrict territories or uses. Read its
VETLOG.mdrow before installing. Everything runs on your machine; nothing is sent to a cloud service.To list all models with their tier and size before downloading:
lune run parallax vision setup --listCheck:
lune run parallax doctorprintsmachine tier: Nand, below Tier 4, exactly what the next tier needs.lune run parallax vision doctorruns the core models on a probe image and prints the torch version and GPU it found. -
6
Roblox Studio and its MCP serveryou do thisEnable the Studio MCP server so the kit can drive playtests and uploads.
Roblox Studio has a built-in MCP server. Parallax uses it to drive playtests, look at the game in the engine and upload assets through Open Cloud with your own Studio login. No API key is needed.
- Install Roblox Studio from create.roblox.com and sign in. You do this, not your AI agent.
- Open a place from a published game. Open Cloud permissions are saved per game; a local, unpublished place cannot use them.
- Turn the MCP server on: open Assistant, click … → Manage MCP Servers, and turn on Enable Studio as MCP server. You do this; the AI agent must not change these switches.
- Add the Roblox Studio MCP to your AI client. Assistant's settings offer a quick connect for Claude Code, Codex CLI, Claude Desktop, Cursor, Gemini CLI and VS Code. For any other client, add this entry (Windows):
On macOS the command is{ "mcpServers": { "Roblox_Studio": { "command": "cmd.exe", "args": ["/c", "%LOCALAPPDATA%\\Roblox\\mcp.bat"] } } }/Applications/RobloxStudio.app/Contents/MacOS/StudioMCP. - Allow uploads (you do this): click MCP in Studio's bottom-right corner → MCP Permissions. Under Publish and manage assets, allow
asset:readandasset:write(andasset-permissions:writeif audio should be granted to your experience). Approve your game project'sbuildfolder as an upload folder. Changes apply to the client's next request.
Check: Assistant → … → Manage MCP Servers shows a green indicator, and your AI client lists the Roblox Studio tools (for example
list_roblox_studios).If it fails: restart Studio and the AI client; check the path and the JSON syntax of the config. Roblox's own guides: Connect to the Studio MCP server and Use Open Cloud with the Studio MCP server.
-
7
Make your game projectInstall the kit into a new game folder.
From the kit's folder, point
installat your game folder (it is created if it does not exist; an existing Rojo project keeps its files):lune run parallax install ..\MyGame cd ..\MyGame git add -A git commit -m "Start from Parallax (cross)"installcopies the kit (kit/) and its in-game runtime (src/kit/), starter content, a work board (board/withBRIEF.md) and the git hooks, then runsrokit install,wally installandgit init. It writes no AI-client files; the next step adds the one you use.The word
crossin the commit message tells the lane fence (the git hook that keeps each commit to one department) that this commit spans every department on purpose.Check
lune run parallax statusYou should see the board's summary and a
next_action:.If it fails: if
installreports thatrokit installorwally installfailed, run them in the game folder yourself, thenlune run parallax doctor. -
8
Connect your AI clientWrite the MCP config and enforcement hooks for the client you use.
Run this in the game folder:
lune run parallax connect <client>Use your client's name from the table below.
lune run parallax connect claudeWrites
.mcp.json(the MCP server entry) and.claude/settings.json(the enforcement guard hooks). Restart Claude Code in the game folder afterwards.- Config file
.mcp.jsonin the game folder- Guard hooks
.claude/settings.json:PreToolUse,PostToolUseandStophooks that runkit/scripts/parallax_guard.py
lune run parallax connect cursorWrites
.cursor/mcp.jsonin the game folder. Restart Cursor in the game folder afterwards.- Config file
.cursor/mcp.jsonin the game folder- Guard hooks
- none for Cursor
lune run parallax connect vscodeWrites
.vscode/mcp.jsonin the game folder. Restart VS Code in the game folder afterwards.- Config file
.vscode/mcp.jsonin the game folder- Guard hooks
- none for VS Code
lune run parallax connect geminiWrites
.gemini/settings.json(the MCP entry and the enforcement guard hooks). Restart Gemini CLI in the game folder afterwards.- Config file
.gemini/settings.jsonin the game folder- Guard hooks
.gemini/settings.json:BeforeToolandAfterToolhooks that runkit/scripts/parallax_guard.py
lune run parallax connect rooWrites
.roo/mcp.jsonin the game folder. Restart Roo Code in the game folder afterwards.- Config file
.roo/mcp.jsonin the game folder- Guard hooks
- none for Roo Code
lune run parallax connect opencodeWrites
opencode.jsonin the game folder. Restart OpenCode in the game folder afterwards.- Config file
opencode.jsonin the game folder- Guard hooks
- none for OpenCode
lune run parallax connect codexPrints a block to paste into
~/.codex/config.toml(the kit's global config path for Codex CLI). The block carries this project's absolute path.- Config file
~/.codex/config.toml(global; you paste it)- Guard hooks
- none for Codex CLI
lune run parallax connect windsurfPrints a block to paste into
~/.codeium/windsurf/mcp_config.json. The block carries this project's absolute path.- Config file
~/.codeium/windsurf/mcp_config.json(global; you paste it)- Guard hooks
- none for Windsurf
lune run parallax connect clinePrints a block for Cline's MCP settings (MCP Servers → Configure MCP Servers). The block carries this project's absolute path.
- Config file
- Cline's MCP settings (global; you paste it)
- Guard hooks
- none for Cline
lune run parallax connect claude-desktopPrints a block for
claude_desktop_config.json. On Windows:%APPDATA%/Claude/claude_desktop_config.json. On macOS:~/Library/Application Support/Claude/claude_desktop_config.json.- Config file
claude_desktop_config.json(global; you paste it)- Guard hooks
- none for Claude Desktop
To connect several clients at once:
lune run parallax connect claude,cursor. To remove an entry:lune run parallax connect <client> --remove.Check:
lune run parallax connect(no arguments) lists your client asconnected. Clients that print a block are not tracked; check them in the client. The client should show the toolsparallax_start,parallax_status,parallax_skilland the others.If it fails: the client does not list the tools: make sure it was started in the game folder, that
pythonworks in a new terminal, and that you approved the server. -
9
First run and final checkAsk the board what it shows and run the three final checks.
In your AI client, in the game folder:
Call parallax_status and tell me what the board says.Then fill in
board/BRIEF.md(what the game is) and ask for the first piece, for example:Start the 3d lane: a mossy stone well for the village square.Final check: in the game folder:
lune run parallax harness --check lune run parallax doctor lune run parallax verifyharness --checksays the git hooks and every connected client's config are in step.doctorshows no missing required tool.verifyends withsummary: verify: all gates green. The firstverifytakes a while.
Uploading to Roblox
lune run parallax upload screens every new or changed file through a moderation gate (banned words, blood) and writes an upload plan at build/upload_plan.json with the exact Roblox Studio MCP call for each file.
Your agent then, for each file:
- Calls
open_cloud_invokewith that file's call frombuild/upload_plan.json(thestudio_idcomes fromlist_roblox_studios). - Polls
GET /assets/v1/operations/<operationId>withopen_cloud_invokeuntildoneis true. - Records the returned id:
lune run parallax upload --record <file> <assetId>.
lune run parallax upload --pending lists what is left; after the last one the kit recompiles the models and screens that use the new ids.
In the game's kit.config.json, set "upload": {"creator": "user:<your user id>", "universe": <experience id>}. Your user id is the number in your roblox.com profile URL; the universe is the experience that should play the audio.
Open Cloud cannot delete uploaded assets. New images and sounds go through Roblox moderation: check status with lune run parallax upload --status.
For headless runs (CI, no Studio open): set ROBLOX_API_KEY in your environment and the kit uploads by itself. Never paste a key into a chat or a file.
Updating
Inside your game folder:
lune run parallax upgrade --check
lune run parallax upgrade
--check compares the installed version (kit/UPSTREAM.json) with the latest release and writes nothing. upgrade refuses when you have edited the kit's own files (--force overrides) or have uncommitted changes (commit first, or pass --allow-dirty).
It downloads the release, checks its SHA-256 before unpacking, backs up the current kit, then updates in four zones: the kit's code is replaced (a file you added under kit/ stays); starter content and lessons are only added to; the knowledge vault is merged (your lessons, verdicts and rules are kept); your game's code and content are left alone. An error while replacing the kit's files restores the backup.
Pass --tag vX.Y.Z to pick a specific release; --from <tarball> (with its .sha256) installs a downloaded one. Restart your AI client afterwards if it says the MCP server changed.
After an update, lune run parallax harness refreshes the connected client's config and hooks. Commit the update on its own:
git add -A
git commit -m "Update Parallax (cross)"
In the kit's folder, pull the latest changes:
git pull
Then, from the kit's folder, push the update into a game:
lune run parallax update ..\MyGame
Or, from inside the game folder:
lune run parallax sync
A game holding a later kit version than the clone is refused; git pull the clone first, or pass --force to install the clone's kit anyway.
A game made with 3.0.0 has no upgrade command yet. Update it once from the local clone route (above), and upgrade works from then on.
After updating from 3.0.0, lune run parallax harness removes what that version wrote for every AI client (instruction blocks, rule files, skill copies and the kit's entry in each client's project MCP config), keeping anything you wrote yourself. The connected client that is running the update keeps its entry and hooks. Then connect any other client you use again:
lune run parallax connect <client>
Troubleshooting
| Problem | Fix |
|---|---|
lune, rokit or python "not recognized" | Open a new terminal; check the tool's install step. |
rokit install stops at a trust prompt | Answer yes for the tools in rokit.toml, or run it once in your own terminal. |
A pipeline command says REFUSED / exits with 6 | Start the lane first: call parallax_start (or lune run parallax start <lane> --prompt "<the request>"). |
harness --check reports files out of step | Run lune run parallax harness, then commit what it changed if you share that client config. |
The AI client does not show the parallax tools | Start the client in the game folder, approve the server, restart it. |
| The Studio MCP refuses a file or a scope | Go to MCP → MCP Permissions in Studio and approve the scope and the build folder. |
rojo serve cannot connect | Only one project can serve on the port; stop the other one. Save a copy of the place before the first Connect; Rojo replaces what it manages. |
| The AI broke something | git restore . (uncommitted) or git revert (a commit). Edited kit files: lune run parallax sync restores them in a game installed from a local clone; in a game installed from a release, restore them with git checkout -- <the files>. lune run parallax status shows the last handoff and open tasks. |
Uninstalling
A single game: run lune run parallax connect <client> --remove for each connected client (for a client that prints a block, it tells you which block to delete from that client's config). Then delete kit/, src/kit/ and parallax.luau, and remove the kit's two git hooks, commit-msg (the lane fence) and pre-commit (the commit gate). Your game's own files are untouched.
The kit itself: delete the kit's folder. Rokit's tools live in %USERPROFILE%\.rokit; the optional local models are in %USERPROFILE%\.cache\roblox-kit.