Documentation Index
Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt
Use this file to discover all available pages before exploring further.
SDKs & Client Libraries
CRAFT provides auto-generated SDKs for Python and TypeScript, built from OpenAPI specifications on every release.Python SDK
Type-safe Python client with async support, Pydantic models, and full API coverage.
TypeScript SDK
Fully typed TypeScript client for Node.js and browser environments.
Available SDKs
| Package | Python (PyPI) | TypeScript (npm) | API |
|---|---|---|---|
| Governance | em-runtime-governance-sdk | @emergence-ai/em-runtime-governance-sdk | Organizations, Projects, Permissions |
| Assets | em-runtime-assets-sdk | @emergence-ai/em-runtime-assets-sdk | Data Connections, Artifacts, Files, Models |
| Utils | em-runtime-utils-sdk | @emergence-ai/em-runtime-utils-sdk | Data Catalog, Scheduling, Context Packs, Memories |
SDK Generation Pipeline
SDKs are auto-generated from OpenAPI specs using openapi-python-client and the OpenAPI Generator for TypeScript. The pipeline runs on every final release:Generate client code
OpenAPI specs are fed to code generators producing typed clients with models, API classes, and authentication helpers.
Publish packages
Python SDKs publish to Google Artifact Registry. TypeScript SDKs publish to the
@emergence-ai npm scope.SDK versions may lag behind the latest platform service versions. For example, the Runtime UI may use Assets SDK v4.8.11 while the Assets service is at v4.10.1. SDKs are backward-compatible, newer service versions serve older SDK clients without issue. Check the release notes for current versions.
Authentication
All SDKs use JWT bearer token authentication via Keycloak:Registry Configuration
SDKs are hosted on Google Artifact Registry (private). Configure your package manager:- Python (pip/uv)
- TypeScript (npm)
Registry authentication requires Google Cloud credentials. See your platform admin for access tokens or Workload Identity setup.
Next Steps
Python SDK Guide
Installation, usage patterns, error handling
TypeScript SDK Guide
Setup, type safety, async patterns
API Reference
Interactive API playground with all endpoints
Authentication
Keycloak OIDC setup and token management

