Installation
This guide covers installing the Amigo SDK in your Python or TypeScript/JavaScript project.
Requirements
Python 3.8 or higher
pip (Python package manager)
Install from PyPI
Install the latest version of the Python SDK using pip:
pip install amigo_sdkAdd to requirements.txt
For reproducible builds, add the SDK to your requirements.txt file:
amigo_sdkThen install dependencies:
pip install -r requirements.txtVirtual Environment (Recommended)
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_sdkVerify Installation
Verify the installation by importing the SDK:
Requirements
Node.js 18 or higher
npm or yarn package manager
Install from npm
Install the latest version of the TypeScript SDK:
Add to package.json
The SDK will be automatically added to your package.json dependencies:
TypeScript Configuration
If you're using TypeScript, ensure your tsconfig.json includes:
Verify Installation
Verify the installation by importing the SDK:
Configuration Setup
Both SDKs support initialization with configuration parameters passed directly to the client constructor.
Environment Variables
For enhanced security, use environment variables for configuration. Create a .env file in your project root:
Install python-dotenv to load environment variables:
Then load them in your application:
Install dotenv:
Then load them in your application:
Next Steps
Once you have the SDK installed, proceed to:
SDK Configuration — Configure authentication and client options
Hello World Example — Create your first conversation
Last updated
Was this helpful?

