Installation
Prerequisites
Python: 3.10-3.11
Git
Installation
Installation from source
Step 1: Install AIOS Kernel
Git clone AIOS kernel
git clone https://github.com/agiresearch/AIOS.gitCreate venv environment
python3.x -m venv venv # Only support for Python 3.10 and 3.11
source venv/bin/activateor create conda environment
conda create -n venv python=3.x # Only support for Python 3.10 and 3.11
conda activate venvWe strongly recommend using uv for faster and more reliable package installation.
To install uv:
pip install uv
For GPU environments:
uv pip install -r requirements-cuda.txtFor CPU-only environments:
uv pip install -r requirements.txtAlternatively, if you prefer using pip:
For GPU environments:
pip install -r requirements-cuda.txtFor CPU-only environments:
pip install -r requirements.txtStep 2: Install AIOS SDK (Cerebrum)
Clone the Cerebrum repository:
git clone https://github.com/agiresearch/Cerebrum.gitInstall using uv (recommended):
cd Cerebrum && uv pip install -e .Or using pip:
cd Cerebrum && pip install -e .
Note: The machine where the AIOS kernel (AIOS) is installed must also have the AIOS SDK (Cerebrum) installed. Installing AIOS kernel will install the AIOS SDK automatically by default. If you are using the Local Kernel mode, i.e., you are running AIOS and agents on the same machine, then simply install both AIOS and Cerebrum on that machine. If you are using Remote Kernel mode, i.e., running AIOS on Machine 1 and running agents on Machine 2 and the agents remotely interact with the kernel, then you need to install both AIOS kernel and AIOS SDK on Machine 1, and install the AIOS SDK alone on Machine 2.
Then you can follow the instructions in the Quickstart to launch AIOS.
Last updated