Python SDK
SDKs are per-pack. This page covers the shared core every per-pack client is built on (kitefrost-core, installed automatically as a
dependency) - auth, transport, and the resources common to every pack. For
pack-specific resources (characters, continuity, dialogue, encounters,
sessions, …), see your pack’s own quickstart and
API reference.
Installation
Install the Game Narrative SDK:kitefrost-core, which handles auth and the shared resources. See the quickstart for a working example.
During the alpha the API is
https://api-staging.kitefrost.ai. Set
KITEFROST_BASE_URL=https://api-staging.kitefrost.ai in your environment, or pass
base_url when creating the client.Quick Start
async/await.
Shared Core Resources
Available asclient.core.<resource> on every per-pack client.
Health
Auth
Projects
API Keys
Billing
Events
Context
BYOK (Bring Your Own Key)
Webhooks
Error Handling
All exceptions inherit fromkitefrost_core.KiteFrostError and expose
.message, .status_code, and .feedback_id.
RateLimited, back off yourself using .retry_after (seconds, may be
None):
feedback_id is and how to use it.
Source
The core is atsdk/python/packages/core/ and per-pack clients at
sdk/python/packages/<pack>/ in the main repository.