项目
在 GitHub 查看
JackHopkins/factorio-learning-environment
关于
用于在 Factorio 中评估 LLM 的非饱和、开放式环境
人工智能与机器学习实测星标增长
- 24小时
- +1
- 7天
- +3
- 15天
- +3
- 1个月
- +12
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Factorio Learning Environment
Leaderboard | Paper | Website | Documentation | Discord (#factorio-learning-env)
An open source framework for developing and evaluating LLM agents in the game of Factorio.
Claude Opus 4.1 Plays Factorio
Quick Links
Installation
Prerequisites
- Docker
- Python 3.10+
- Factorio (version 2.0.73 or later), only for optional rendering.
# Core FLE SDK package
pip install factorio-learning-environment
# With optional features
pip install factorio-learning-environment[eval] # For running experiments
pip install factorio-learning-environment[mcp] # For MCP protocol support
pip install factorio-learning-environment[psql] # For PostgreSQL support
pip install factorio-learning-environment[eval,mcp,psql] # All features
# Using uv (recommended)
uv sync
Quickstart
Use the CLI:
# Activate venv
source .venv/bin/activate
# Start Factorio cluster
fle cluster start
# Run evaluation trajectories (requires [eval] dependencies)
fle eval --config configs/gym_run_config.json
Environment
FLE is an agent evaluation environment built on the game of Factorio, a popular resource management simulation game.
Agents interact with FLE by code synthesis through a REPL (Read-Eval-Print-Loop) pattern:
- Observation: The agent observes the world through the output streams (stderr/stdout) of their last program.
- Action: The agent generates a Python program to perform their desired action.
- Feedback: The environment executes the program, assigns variables, add classes/functions to the namespace, and provides an output stream.
Contributing
Join our team and contribute to one of the AI research community's most challenging problems - building open-ended / unsaturateable evals for post-AGI frontier models. If you want to contribute, please read CONTRIBUTING.md first.
探索相关项目
加载中…