Installation

Setting up your environment

1

Create a Virtual Environment

Choose your preferred method to create a virtual environment:

Using venv (Python’s built-in tool):

python
python3 -m venv swift-env

Using conda:

conda create -n swift-env python=3.11

2

Activate the Virtual Environment

Activate your virtual environment based on your platform:

Using venv (Python’s built-in tool):

source swift-env/bin/activate

Using conda (all platforms):

conda activate crewai-env

Installing SwiftAgent

1

Install SwiftAgent

python -m pip install swiftagent
2

Verify Installation

Check your installed versions:

python -m pip freeze | grep swiftagent

You should see something like:

swiftagent==X.X.X

Last updated