Install via pip
The quickest way to install Foundation is from PyPI:requirements.txt).
Install from source
Installing from source lets you edit the framework code and run the included tutorials.1
Clone the repository
2
Create and activate a conda environment
3
Install the package
Choose one of the two approaches:The editable install (
-e .) is recommended because it keeps the installed package in sync with any source edits you make.4
Verify the installation
ImportError, double-check that the conda environment is active and that the install step completed without errors.Optional: GPU-accelerated training with WarpDrive
Foundation integrates with WarpDrive, a high-throughput multi-agent RL framework that runs thousands of environment rollouts in parallel on a single GPU. To enable WarpDrive support, install the extra package:WarpDrive requires a CUDA-capable GPU. It is not needed to run or explore Foundation simulations—only for large-scale GPU training.
Dependencies
The key runtime dependencies installed bypip install ai-economist are:
All pinned versions are in
requirements.txt.