Install Dependencies
Before getting started, ensure you have the following tools installed:
- Python >= 3.10
- Poetry (for dependency management)
- Git (for version control)
- GCP CLI (optional, for deploying and monitoring agents)
Installation Steps
1. Install Python >= 3.10
Check Python Version:
python3 --version
Install Python:
-
On Ubuntu/Debian:
sudo apt update sudo apt install -y software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install -y python3.10 python3.10-venv python3.10-dev -
On macOS (with Homebrew):
brew install python@3.10 -
On Windows:
- Download Python from the official Python website.
- Run the installer and ensure "Add Python to PATH" is checked.
Verify Installation:
python3 --version
2. Install Poetry (Dependency Management)
Check if Poetry is Already Installed:
poetry --version
Install Poetry:
- Run the following command:
curl -sSL https://install.python-poetry.org | python3 -
Add Poetry to PATH (if not already added):
-
Linux/macOS:
Add the above line to your shell configuration file (export PATH="$HOME/.local/bin:$PATH"~/.bashrc,~/.zshrc, or similar). -
Windows: Poetry is added to PATH during installation, but you may need to restart your terminal.
Verify Installation:
poetry --version
3. Install Git (Version Control)
Check if Git is Already Installed:
git --version
Install Git:
-
On Ubuntu/Debian:
sudo apt update sudo apt install -y git -
On macOS (with Homebrew):
brew install git -
On Windows:
- Download Git from the official Git website.
- Run the installer and follow the setup wizard.
Verify Installation:
git --version
4. Install GCP CLI (Google Cloud CLI) (Optional)
Check if GCP CLI is Already Installed:
gcloud --version
Install GCP CLI:
-
On Ubuntu/Debian:
sudo apt update sudo apt install -y apt-transport-https ca-certificates gnupg echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list sudo apt install -y google-cloud-sdk -
On macOS (with Homebrew):
brew install --cask google-cloud-sdk -
On Windows:
- Download the installer from the GCP CLI website.
- Run the installer and follow the setup wizard.
Initialize GCP CLI:
After installation, run the following to set up the CLI:
gcloud init
Verify Installation:
gcloud --version
By completing these steps, you'll have Python, Poetry, Git, and optionally GCP CLI installed and ready to use.