← all repositories
google-deepmind/lab

Turning Quake III into a reinforcement learning lab

It gives AI agents a suite of 3D navigation and puzzle tasks inside a modified Quake III engine to test deep reinforcement learning.

7.4k stars C AgentsDomain Apps
lab
Not currently ranked — collecting fresh signals.
star history

What it does

DeepMind Lab is a 3D research environment built from the ioquake3 engine. It offers navigation and puzzle-solving tasks—mazes, laser tag, stairways to melons—for training and evaluating reinforcement learning agents. Researchers drive it through a Python API, and it can run headless for training or with human controls for debugging.

The interesting bit

Instead of inventing a new renderer, DeepMind grafted an AI interface onto a proven game engine, complete with Lua-scripted level logic and both hardware-accelerated and software rendering pipelines. It is essentially Quake III reimagined as a reproducible vision-and-physics benchmark.

Key highlights

  • Forked from the actual Quake III Arena codebase via ioquake3, using q3map2 and bspc for maps
  • Ships with prebuilt levels and a Lua API for authoring custom tasks
  • Supports headless rendering via EGL, GLX, or OSMesa; human play uses SDL 2
  • Provides Python bindings, dm_env integration, and a self-contained PIP package build
  • Exposes agent observations like velocity and vision at every environment step

Caveats

  • Ships as source only, built with Bazel, and the included BUILD rules target Linux on x86
  • Requires system-level dependencies like SDL 2, OpenGL, gettext, and Python with NumPy
  • Compiler flags assume GCC; other toolchains may need manual editing to suppress warnings

Verdict

A solid choice if you need a visually rich, physics-based RL benchmark with a proven renderer. Look elsewhere if you want a cross-platform, pip-installable environment that works out of the box.

Frequently asked

What is google-deepmind/lab?
It gives AI agents a suite of 3D navigation and puzzle tasks inside a modified Quake III engine to test deep reinforcement learning.
Is lab open source?
Yes — google-deepmind/lab is an open-source project tracked on heatdrop.
What language is lab written in?
google-deepmind/lab is primarily written in C.
How popular is lab?
google-deepmind/lab has 7.4k stars on GitHub.
Where can I find lab?
google-deepmind/lab is on GitHub at https://github.com/google-deepmind/lab.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.