Factorio Learning Environment
Open source Factorio environment for testing language modelsEvaluate LLM planning and automation inside Factorio, free
Highlights
What you can do with it
- Researchers testing long term planning in language models
- Developers checking program synthesis on complex tasks
- Enthusiasts comparing models on spatial reasoning and error recovery
How to use it
- 1 Prepare a machine with Python and the required tools
- 2 Get the FLE code from the open source project page
- 3 Learn the Python API and its tool functions
- 4 Choose the lab play or open play protocol
- 5 Write a program for the model and run it
- 6 Read the production score and milestone feedback
- 7 Adjust the model or program and test again
Who it is for
Pros
- Free and open source for research use
- Open ended design avoids the limits of saturated benchmarks
- Clear feedback through scores, milestones, and errors
Limitations
- Requires Python skills and some setup effort
- Running the game environment needs adequate hardware
- Results depend on how well the model program is written
What Factorio Learning Environment is
The Factorio Learning Environment, or FLE, is an open source framework built on top of the game Factorio. It exists to evaluate large language models on long term planning, program synthesis, and resource optimization. As models begin to saturate older benchmarks, FLE offers open ended challenges that rise in difficulty from basic automation to factories handling millions of resource units per second. It provides two evaluation protocols: lab play, which includes 24 structured tasks, and open play, where the model builds the largest factory it can from scratch. The project was developed by Jack Hopkins and colleagues and is free to use.
What you can do with it
- Test a model's planning and automation skills through structured lab tasks
- Let a model attempt open ended factory building in open play
- Interact with the environment through a Python API and submit programs
- Measure performance using production scores, milestones, and error feedback
Who it is for
- AI researchers who need a harder, open ended benchmark
- Developers checking how well a model can synthesize working programs
- Enthusiasts comparing different models on the same set of tasks
What to watch out for
Setting up FLE requires Python and some familiarity with running code, so it is not a one click tool. The game environment needs reasonable hardware, especially for large open play runs. Results depend heavily on how well the interaction program is written, so weak programs can make a capable model look bad. Because it is a research project, expect rough edges and changing interfaces. Treat the scores as one data point about model ability, not a complete ranking.
FAQ
What is the Factorio Learning Environment?
It is an open source framework built on Factorio for evaluating language models on planning, program synthesis, and resource optimization.
Is FLE free?
Yes, it is released as open source and free to use.
What are the two evaluation protocols?
Lab play uses 24 structured tasks, while open play lets the model build the largest possible factory from scratch.
Why it is free
What the official page says: free to use
Free limits, trial length and features are decided by the official site and can change at any time.
Product preview
Screenshot archived from the listing page, for preview only.