Skip to main content

Requirements

The Kelly AI Python SDK requires Python 3.7 or higher. The SDK is compatible with:
  • Python 3.7
  • Python 3.8
  • Python 3.9
  • Python 3.10
  • Python 3.11

Install via pip

You can install the Kelly AI SDK using pip:
pip install kellyapi
Make sure you have pip installed and updated to the latest version:
pip install --upgrade pip

Verify installation

After installation, verify that the SDK is installed correctly:
import kellyapi
print(kellyapi.__name__)  # Should output: kellyapi

Dependencies

The SDK automatically installs the following dependencies:
  • aiohttp - For async HTTP requests
  • dotmap - For convenient dictionary access
The Kelly AI SDK uses async/await syntax and requires an event loop to run. If you’re not familiar with asyncio, check out the async usage guide.
It’s recommended to install the SDK in a virtual environment to avoid dependency conflicts:
1

Create a virtual environment

python -m venv venv
2

Activate the virtual environment

source venv/bin/activate
3

Install the SDK

pip install kellyapi

Next steps

Async usage

Learn how to use async/await with the SDK

Error handling

Handle errors and exceptions properly

Build docs developers (and LLMs) love