How can developers install and use AIOS?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.Morbi adipiscing gravdio, sit amet suscipit risus ultrices eu.Fusce viverra neque at purus laoreet consequa.Vivamus vulputate posuere nisl quis consequat.
Answers ( 1 )
Developers can install and use AIOS as follows:
1. **Installation**:
- Requires Python 3.10-3.11.
- Clone the [AIOS GitHub repository](https://github.com/agiresearch/AIOS) and set up a virtual environment.
- Install dependencies using `requirements-cuda.txt` (for GPU) or `requirements.txt` (for CPU).
2. **SDK Setup**:
- Install the AIOS SDK (Cerebrum) by cloning its [repository](https://github.com/agiresearch/Cerebrum) and running `pip install -e .`.
3. **Configuration**:
- Set API keys (e.g., `OPENAI_API_KEY`, `GEMINI_API_KEY`) in `aios/config/config.yaml` or via interactive commands.
4. **Launch**:
- Start the kernel using `runtime/launch_kernel.sh` or `python3.x -m uvicorn runtime.kernel:app --host 0.0.0.0 --port 8000`.
5. **Interaction**:
- Use the terminal script `python scripts/run_terminal.py` or access the Web UI.
Documentation and community support are available via the [AIOS Documentation](https://docs.aios.foundation/) and [Discord](https://discord.gg/B2HFxEgTJX).