Skip to main content

1. Get an API key

Open the Kallima dashboard → Settings → API tokens → New token. Copy the token — it starts with ab_ and won’t be shown again.

2. Install the Python SDK

The SDK requires Python 3.10+. The only runtime dependency is httpx.

3. Create a client

4. Pick a project

Create a project in the dashboard and copy its ID from the URL, or fetch it via the SDK:

5. Register a source antibody

A source antibody is your parental sequence.

6. Create a therapeutic candidate

Creating a candidate automatically creates a baseline variant (v1). The initial_variant_id is what you pass to pipeline jobs.

7. Submit a humanization

submit() returns a Job object immediately — the job runs asynchronously on GPU.

8. Wait for results


Full example


What’s next

Batch humanization

Submit 100+ variants at once using client.humanizations.submit_batch().

Structure prediction

Get an ImmuneBuilder PDB + per-residue confidence scores for any variant.

Webhooks

Register an HTTPS endpoint to be notified when jobs finish.

Error handling

How to handle 402 insufficient credits, 429 rate limits, and retries.