Installation

Prerequisites

  • Python: 3.10-3.11

  • Git

Installation

Installation from source

Git clone AIOS kernel

git clone https://github.com/agiresearch/AIOS.git
cd AIOS && git checkout v0.2.0.beta

Create venv environment (recommended)

python3.x -m venv venv # Only support for Python 3.10 and 3.11
source venv/bin/activate

or create conda environment

conda create -n venv python=3.x  # Only support for Python 3.10 and 3.11
conda activate venv

If you have GPU environments, you can install the dependencies using

pip install -r requirements-cuda.txt # if use conda
python -m pip install -r requirements-cuda.txt # if use venv

or else you can install the dependencies using

pip install -r requirements.txt # if use conda
python -m pip install -r requirements.txt # if use venv
git clone https://github.com/agiresearch/Cerebrum.git
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