Skip to content
SupportLogin
Introduction

Getting started

Install the Adaption Python SDK and authenticate with an API key.

Adaption brings data optimization and model-training techniques typically reserved for frontier labs to everyday teams.

  • Adaptive Data analyzes and improves training data so you can export a model-ready dataset.
  • AutoScientist automates the research loop behind model training and alignment to produce a model adapted to your goal.

Both products are available through the Adaption API and Python SDK.

Terminal window
pip install adaption
  1. Sign in to Adaption.
  2. Open Settings, then open API keys.

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

For local testing, you can pass the key directly:

from adaption import Adaption
client = Adaption(api_key="pt_live_...")

For applications and CI, set ADAPTION_API_KEY:

Terminal window
export ADAPTION_API_KEY="pt_live_..."

The SDK reads the environment variable automatically:

from adaption import Adaption
client = Adaption()