---
title: Quickstart | Adaption
description: Create an Adaption API key, install the Python SDK, and generate your first model response.
---

The Responses API generates model output from text or a list of messages. This guide takes you from a new API key to your first response in a few minutes.

This guide requires Adaption Python SDK version 0.16.0 or later.

## Create and export an API key

1. [Sign in](https://adaptionlabs.ai/app/auth) to Adaption.

2. Open [**Settings**](https://adaptionlabs.ai/app/settings), then open [**API keys**](https://adaptionlabs.ai/app/settings?tab=api_keys).

3. Create a key and copy it. You will not be able to view the key again.

4. Export the key as `ADAPTION_API_KEY`. The SDK reads this variable automatically:

   Terminal window

   ```
   export ADAPTION_API_KEY="pt_live_..."
   ```

Store API keys in environment variables or a secret manager. Do not commit them to source control.

## Install the SDK

Terminal window

```
pip install adaption
```

## Send a request

Call `responses.create` with a model and an input:

```
from adaption import Adaption


client = Adaption()


response = client.responses.create(
    model="qwen3.5-397b",
    input="Write a one-sentence bedtime story about a unicorn.",
)


print(response.output_text)
```

`output_text` joins the text from every message in the response’s `output` array. The full `output` array also includes any tool calls the model made.

To guide the model’s behavior, add `instructions`:

```
response = client.responses.create(
    model="qwen3.5-397b",
    instructions="You are a helpful assistant.",
    input="Hello!",
)
```

## Next steps

- Stream output as it is generated by passing `stream=True`.
- Continue a conversation with `store=True` and `previous_response_id`.
- Give the model tools, such as MCP servers and `file_search` over your adapted datasets.

See the [`responses.create` API reference](/api/python/resources/responses/methods/create/index.md) for all request parameters.
