Foundation requires Python 3.7 or later. No GPU is needed to run the simulation; a GPU is only required if you plan to accelerate RL training with WarpDrive.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/salesforce/ai-economist/llms.txt
Use this file to discover all available pages before exploring further.
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.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.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:
| Package | Version | Purpose |
|---|---|---|
numpy | 1.21.0 | Array operations throughout the simulation |
scipy | 1.6.3 | Statistical distributions and signal processing |
pandas | 1.2.4 | Dataset handling (COVID-19 data) |
matplotlib | 3.2.1 | Visualization utilities |
pyyaml | 5.4.1 | Configuration file parsing |
requirements.txt.