MalmoAgent icon indicating copy to clipboard operation
MalmoAgent copied to clipboard

AI agent for the computer game Minecraft

MalmoAgent

In this work, we exploit the open-source framework Malmo to build an Artificial Intelligence connected to the popular computer game Minecraft. We explore planning methods with hierarchical actions to control the main character and achieve predefined goals.

Please refer to the project report for further details.

Final Result
Complex structure built by our agent


Installation

  1. Download the pre-built version 0.30.0 of Malmo, for Windows, Linux or MacOSX.

  2. Navigate to the downloaded folder and clone this repository in it.

Windows

  1. Open a Powershell and run:
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
path:\Malmo-0.30.0-Windows-64bit\scripts
.\malmo_install.ps1

Refer to this guide for details.

macOS

  1. Run the script scripts/install_macosx.sh

Refer to this guide for details.

Linux

  1. Follow the instructions here.

Running the agent

In order to run the agent, first start a Minecraft instance and wait for it to load completely, then run the included MalmoAgent.jar with this command:

java -cp MalmoAgent.jar;. main.JavaAgent

If you wish to compile the project yourself, all of the source files are contained in this repository, including the libraries.


Original project

Johnson M., Hofmann K., Hutton T., Bignell D. (2016) The Malmo Platform for Artificial Intelligence Experimentation. Proc. 25th International Joint Conference on Artificial Intelligence, Ed. Kambhampati S., p. 4246. AAAI Press, Palo Alto, California USA. https://github.com/Microsoft/malmo


License

This work is released under the MIT license. See LICENSE for more information. Notice that some dependencies are bundled with this project, but are under terms of separate licenses.