> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kitefishai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install and set up the KiteFishAI Python SDK.

## Requirements

* Python 3.12 or higher
* pip or poetry

## pip

```bash theme={null}
pip install kitefishai
```

## poetry

```bash theme={null}
poetry add kitefishai
```

## Verify installation

```python theme={null}
import kitefishai
print(kitefishai.__version__)
```

## Optional: set your API key globally

Rather than passing `api_key` every time, export it as an environment variable:

```bash theme={null}
export KITEFISH_API_KEY="kf-..."
```

Then the client picks it up automatically:

```python theme={null}
client = kitefishai.Client()  # reads KITEFISH_API_KEY
```

For on-prem deployments you can also set the base URL:

```bash theme={null}
export KITEFISH_API_KEY="kf-..."
export KITEFISH_BASE_URL="https://your-internal-host/v1"
```
