Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

LumineResearch/Lumine2

Machine LearningModel research

An open-source game-playing agent that watches gameplay, outputs keyboard and mouse actions, and completes full-length AAA titles.

395
42
Python
Apache-2.0
2 days old
+289 stars in 21h

What It Is

Lumine 2 is a research-grade game agent built on Qwen3.5-9B. It observes 720p gameplay at 5 Hz, emits keyboard and mouse actions at 30 Hz, and uses a two-timescale memory called SASH to combine the last 24 seconds of frames with reasoning episodes from minutes earlier. It runs on a single RTX 5090 or H100.

The README reports full main-story playthroughs of Cyberpunk 2077 and Marvel's Spider-Man 2, plus several hours of progress in Genshin Impact and World of Warcraft, and zero-shot progress on 14 unseen titles out of 35 evaluated games. Those numbers come from the authors; the technical report and model weights are released alongside the code.

The repository ships a Linux/WSL2 GPU inference server (server/), a Windows real-time evaluation client (client/), two model weight sets on Hugging Face, and 8,788 hours of gameplay data across 134 games under CC BY 4.0. Code and weights use Apache 2.0. It is aimed at researchers and hobbyists experimenting with game-playing agents, not at end users who want a plug-and-play tool.

Quick Start

Same-PC setup: a Windows 10/11 machine with an RTX 5090, WSL2, and the game installed.

  1. Install the Windows driver. Use an NVIDIA Windows driver with CUDA-on-WSL support; do not install a Linux GPU driver inside WSL2. Set up Ubuntu 24.04 under WSL2 if needed, and download the Lumine2 model weights from Hugging Face.
  2. Install and start Server. In the WSL2 Ubuntu terminal, from the repo's server/ directory:
bash install.sh
bash start.sh --idle-reset-secs 3600

Wait for Uvicorn running on ...:8000 and keep the terminal open. The default is Adaptive Thinking mode; --no-reasoning is the Instant mode intended for testing. See the installation guide and startup options for details. 3. Install Client on Windows. From the project root in PowerShell:

cd client
powershell -ExecutionPolicy Bypass -File .\install.ps1
  1. Run a game. Ready-made prompts for Genshin Impact, Cyberpunk 2077, and Marvel's Spider-Man 2 live in client/prompts/games/; other games need a prompt describing their controls. With the game at a playable scene, 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 `
  --execution-data-path "execution_data/cyberpunk2077_run1.jsonl"

Switch to the game window during the 5-second countdown. Ctrl+F12 or Ctrl+C stops the run; execution logs are written as JSONL.

For a separate Linux GPU host, skip WSL2 and start Server on that host, then point MODEL_API_URL to its address, e.g. http://192.168.1.10:8000/v1/chat/completions (see remote server setup).

Constraints

  • GPU and driver support are narrow. Only RTX 5090 and H100 are adapted and tested; other GPUs are not guaranteed to work. CUDA 13.0/13.3 is required, with at least 16 GB VRAM (24 GB+ recommended).
  • Real-time budget. Each step covers 200 ms and the full-context step must fit within it. The README reports roughly 136 ms average per step when the model shares a single RTX 5090 D v2 with Genshin Impact; lowering --force-thinking-steps or --action-window-frames speeds things up at the cost of long-horizon memory.
  • Display settings matter. 1080p, 100% display scaling, default pointer sensitivity with "Enhance pointer precision" off, and a Chinese or English HUD are recommended.
  • Model language. Lumine2 usually thinks in Chinese even with an English UI; Lumine2-EN is the English-oriented variant but has been less thoroughly evaluated.
  • Input is OS-level. Actions are real keyboard and mouse events, not confined to the game window, so the README recommends an isolated machine or VM, a restricted account, and continuous supervision.
  • No server authentication. start.sh listens on 0.0.0.0 by default; restrict exposure to a trusted network, a firewall, or an SSH tunnel.
  • Intended use. Research, single-player experimentation, and automated game testing; not for cheating or violating game terms of service.

HotRepo's Take

Lumine 2 is a research release with unusually complete artifacts for an agent project: inference engine, Windows client, two weight sets, a dataset, and a technical report. The engineering is tightly scoped to its constraint of real-time play on consumer hardware, which is why the supported GPU list is short.

On HotRepo, the project entered the new-project list on 2026-12-02 with 135 stars and 29 gained in about an hour of the tracked window; there is no recorded placement on the all-language daily GitHub rank. That is a single, short observation window, so it says little about sustained interest. The practical point for readers is that the repo is a real system, but the README's headline completion times and win rates are the authors' own measurements, not independent results.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. RikiyaT/lm_understand-logsOpen experiment logs showing how a language model reads, repairs and writes neural network weights from raw parameters.Python138
  2. SheepSeb/tinyworldformerA research project running a tiny neural world model and RL agent together on a Raspberry Pi Pico 2 W.Rust287
  3. brainintelli/BioSignal-Guided-LLM-Reinforcement-LearningResearch repo testing whether organoid neural-signal readouts change LLM agent exploration and survival in a Godot game, with paired evaluation code.Python107
  4. caveman-ai/trim-1A 1.2 MB line-selection model that trims agent context to the lines a query needs.Go188