Discover and explore top open-source AI tools and projects—updated daily.
JackHopkinsFramework for evaluating LLM agents in Factorio
Top 43.1% on SourcePulse
This repository provides the Factorio Learning Environment (FLE), a framework for developing and evaluating Large Language Model (LLM) agents within the game Factorio. It offers two modes: "Lab-play" for structured tasks and "Open-play" for unbounded factory building, aiming to assess LLMs' spatial reasoning and complex automation capabilities.
How It Works
FLE enables LLM agents to interact with Factorio through a code synthesis REPL pattern. Agents observe the game state via program output streams, generate Python code for actions using a provided API, and receive feedback. This feedback loop, coupled with a namespace for state management and typed exceptions for debugging, allows agents to build complex representations and self-correct. The environment supports custom tools, implemented in Python and Lua, for agent interaction.
Quick Start & Requirements
pip install -e .Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
20 hours ago
1 day
open-thought
py499372727
Farama-Foundation
langchain-ai