This guide is based on LumineResearch's own model cards, GitHub documentation and installation notes, read on 4 December 2026. All speed, memory and gameplay figures below are the developers' own and haven't been independently verified.
Lumine 2 is an open AI model that plays PC games the way a person does. It watches the screen, decides what to do and presses keys and moves the mouse. LumineResearch published it on Hugging Face on 2 December 2026 under the Apache 2.0 licence, together with an English-leaning version called Lumine2-EN. The developers say it can complete the full main story of Cyberpunk 2077 in 23.7 hours and Marvel's Spider-Man 2 in about 23 hours on its own, and that it runs in real time on one RTX 5090 while the game runs on the same card.
That makes it an unusual local AI project, because your graphics card does two jobs at once: rendering the game and running the AI. Here's what you need and how to set it up.
What Lumine 2 actually does
Lumine 2 is built on the Qwen3.5-9B model and has about 9.65 billion parameters. According to its model card, it:
looks at 720p screenshots five times a second (5 Hz)
outputs one keyboard-and-mouse action every 200 ms, with key presses split into six 33 ms chunks, which gives 30 Hz keyboard control
keeps the last 24 seconds of frames (120 frames) plus up to 15 earlier "reasoning episodes" in a 128K-token context, using a memory system the team calls SASH
can work in Adaptive Thinking mode, where it writes out a short plan when the situation changes, or Instant mode, where it only acts
The team recommends Adaptive Thinking for real play and describes Instant mode as being for testing only.
What you need
Lumine 2 has two parts, and they have different requirements.
The server runs the AI model. It needs Linux on x86_64 (Ubuntu 22.04 or 24.04) or Windows Subsystem for Linux 2 (WSL2), Python 3.13 and CUDA 13.0 or 13.3. The GitHub README says only the NVIDIA RTX 5090 and H100 have been adapted and tested so far, and other GPUs are not guaranteed to work. It asks for at least 16GB of video memory and recommends 24GB or more.
The client runs on Windows 10 or 11 with Python 3.10 or newer. It captures the game screen and sends keyboard and mouse input to Windows.
The server's installation guide says steady-state memory use at the full 128K context is about 13.6GB, covering the FP8 model weights, the FP8 cache and CUDA graphs. Startup needs extra room for a one-time conversion of the weights, which is why 16GB is the floor. Remember the game shares the same card, so on one PC you need enough video memory for both. In the developers' test on a 24GB RTX 5090 D v2 running Genshin Impact alongside the model, Lumine 2 peaked at 14.1GB and averaged 136 ms per step, with 99.6% of actions arriving within the 200 ms budget.
The standard NVIDIA GeForce RTX 5090 Founders Edition has 32GB of GDDR7, according to NVIDIA, so it has more headroom than the 24GB card the team used. You'll also need room for the download: the Lumine2 repository on Hugging Face is about 19GB. Our guide to how much storage you need for local AI covers planning for several models.
Step 1: Set up WSL2 and the NVIDIA driver
If the game and the AI run on the same Windows PC, the server runs inside WSL2. In PowerShell as administrator, run:
wsl --install -d Ubuntu-24.04
Restart if asked, then open Ubuntu 24.04 and create a username and password. Install a current NVIDIA Windows driver with CUDA on WSL support. The Lumine team stresses that you should not install a Linux GPU driver inside WSL2, because WSL2 uses the Windows driver. Our WSL2 GPU setup guide walks through checking that the GPU is visible.
Step 2: Download the code and the model
Clone the repository in PowerShell:
git clone https://github.com/LumineResearch/Lumine2.git
cd Lumine2
Then download a model. If you play games with an English interface, the developers recommend Lumine2-EN. With the Hugging Face command-line tool, that is:
hf download LumineResearch/Lumine2-EN --local-dir ~/models/Lumine2-EN
Use LumineResearch/Lumine2 instead if you want the exact model from the technical report. We compare the two in Lumine2 vs Lumine2-EN.
Step 3: Install and start the server
In the WSL2 Ubuntu terminal, go to the server/ folder inside the checkout and run:
bash install.sh
bash start.sh --idle-reset-secs 3600
The installer asks for the local model path, checks the GPU, installs a missing CUDA Toolkit 13.0 on Ubuntu, creates a Python 3.13 environment and checks the GPU kernels. Wait for Uvicorn running on ...:8000 and leave that terminal open.
If startup runs out of memory because the game is also using the card, the guide suggests shortening the context:
MAX_LEN=32768 bash start.sh --idle-reset-secs 3600
A shorter context means the agent remembers less, so only do this if you need to. Our explainer on LLM context length and VRAM explains the trade-off. You can watch memory use with Task Manager, as described in how to check VRAM usage in Windows.
Step 4: Prepare Windows and the game
The developers recommend running games at 1080p (1920×1080), Windows display scaling at 100%, default mouse sensitivity in both Windows and the game, and Enhance pointer precision turned off. Their FAQ singles out that last setting as the one people miss most often, because it makes the agent overshoot buttons. Our guide to turning off mouse acceleration in Windows 11 shows where it is. Set the in-game language to English or Chinese.
Step 5: Install the client and start a game
In PowerShell, from the project root:
cd client
powershell -ExecutionPolicy Bypass -File .\install.ps1
When you see Client installation complete, open the game, get to a playable scene, then run:
$env:MODEL_API_URL="http://127.0.0.1:8000/v1/chat/completions"
.\.venv\Scripts\python.exe run.py --process-name "Cyberpunk2077.exe" --game "cyberpunk_2077_en" --instruction "Progress through the main storyline" --start-delay 5 --max-steps 0
Switch to the game window during the five-second countdown. Ready-made English and Chinese prompts are included for Genshin Impact, Cyberpunk 2077 and Marvel's Spider-Man 2. For other games, copy a template in client/prompts/games/ and fill in the controls. The built-in prompts assume default key bindings, so update the prompt if you've remapped keys. Each run is logged to a JSONL file in client/execution_data/, and the team warns that long sessions can produce large logs.
Lumine 2 doesn't talk to the game through an API. It sends real keyboard and mouse input to Windows, so its clicks aren't confined to the game window. The developers recommend running the client on a dedicated machine or virtual machine with no personal data, under a restricted user account, and watching it the whole time. Press Ctrl+F12 (a global hotkey) or Ctrl+C in the client terminal to stop it immediately.
Two more points from the documentation:
The server has no authentication and listens on all network interfaces (0.0.0.0) by default, so anyone who can reach its port can send it requests. Only run it on a trusted network; for a separate server PC, the developers suggest starting it with SERVER_HOST=127.0.0.1 and connecting through an SSH tunnel, or restricting the port with a firewall.
Lumine 2 is meant for research, single-player play, game testing and assistance. The developers say not to use it to cheat or gain an advantage in online multiplayer games, or in any way that breaks a game's terms of service.
Running the AI on a second PC
If your gaming card is short on memory, you can run the server on a separate Linux machine with a suitable GPU and point the client at it by changing MODEL_API_URL to that machine's address. The team reports 77 to 100 ms per step with the model on a remote H100. For the safest setup, the docs suggest binding the server to 127.0.0.1 and connecting through an SSH tunnel. See our best GPUs for Lumine 2 for card choices.