For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Install the Amigo SDK in Python (pip) or TypeScript (npm) with environment setup instructions.

This guide covers installing the Amigo SDK in your Python or TypeScript/JavaScript project.

Requirements

  • Python 3.11 or higher

  • pip (Python package manager)

Install from PyPI

Install the latest version of the Python SDK (currently 1.3.1) using pip:

pip install amigo_sdk

Add to requirements.txt

For reproducible builds, pin the SDK version in your requirements.txt file:

amigo_sdk==1.3.1

Then install dependencies:

pip install -r requirements.txt

We recommend using a virtual environment to avoid dependency conflicts:

# Create virtual environment
python -m venv amigo-env

# Activate virtual environment
# On macOS/Linux:
source amigo-env/bin/activate
# On Windows:
amigo-env\Scripts\activate

# Install SDK
pip install amigo_sdk

Verify Installation

Verify the installation by importing the SDK:

Next Step: Configure Credentials

With the SDK installed, configure your client with API credentials, environment variables, and the correct regional base URL.

Configuration

Then create your first conversation with the Hello World Example.

Last updated

Was this helpful?