google-deepmind/lab2d

A customisable 2D platform for agent-based AI research

What it solves

It provides a high-performance, easy-to-use system for creating 2D grid-world environments specifically designed for training and testing machine learning agents.

How it works

The system uses a combination of simple text-based maps to define the world layout and Lua code to define the environment's behavior. Agents interact with these worlds through either a Python API (via dm_env) or a custom C API, supporting multiple agents simultaneously.

Who it’s for

Machine learning researchers and developers who need a flexible, lightweight 2D environment to prototype and evaluate reinforcement learning agents.

Highlights

  • High performance implementation written in C++ and Lua.
  • Simple text-based map definitions for rapid world creation.
  • Support for multiple agents.
  • Compatible with the standard dm_env Python API.

Related

  • Project
  • Project
  • Project
  • Project
  • Project