GitHub logo

GitHub

Free

An Open-Ended Embodied Agent with Large Language Models

FreeFree tier
Type
Open Source

About GitHub

Voyager is the first LLM-powered embodied lifelong learning agent in Minecraft. It continuously explores the world, acquires diverse skills, and makes novel discoveries without human intervention. The system consists of three key components: an automatic curriculum that maximizes exploration, an ever-growing skill library of executable code for storing and retrieving complex behaviors, and an iterative prompting mechanism that incorporates environment feedback, execution errors, and self-verification for program improvement. Voyager interacts with GPT-4 via blackbox queries, bypassing the need for model parameter fine-tuning. Its skills are temporally extended, interpretable, and compositional, compounding the agent's abilities rapidly while alleviating catastrophic forgetting. Empirically, Voyager obtains 3.3× more unique items, travels 2.3× longer distances, and unlocks key tech tree milestones up to 15.3× faster than prior state-of-the-art methods. It can utilize its learned skill library in new Minecraft worlds to solve novel tasks from scratch, demonstrating strong in-context lifelong learning capability.

Key Features

Automatic curriculum that maximizes exploration
Ever-growing skill library of executable code for storing and retrieving complex behaviors
Iterative prompting mechanism with environment feedback, execution errors, and self-verification for program improvement
Uses GPT-4 via blackbox queries, no model fine-tuning required
Skills are temporally extended, interpretable, and compositional
Efficient lifelong learning with alleviated catastrophic forgetting
Achieves 3.3× more unique items, 2.3× longer distances, and 15.3× faster tech tree milestones compared to prior SOTA

Pros & Cons

Pros
  • Demonstrates strong in-context lifelong learning capability
  • Exceptional proficiency in playing Minecraft, outperforming prior methods significantly
  • Skills are interpretable and can be reused in new worlds without retraining
  • Open source (MIT License) and fully reproducible
  • No need to fine-tune model parameters, reducing computational cost
Cons
  • Requires access to GPT-4 API, which is costly and may introduce latency
  • Complex setup involving Minecraft game, Fabric mods, and multiple dependencies
  • Currently only tested on specific Minecraft version (fabric-loader-0.14.18-1.19)
  • May require significant compute resources for running Minecraft and LLM queries

Best For

Autonomous exploration and skill acquisition in MinecraftLifelong learning in complex, open-ended environmentsBenchmarking LLM-powered agents for embodied AIResearch in compositional skill learning and curriculum learning