RaiCentral

Docs / Getting started

Install the SDKs

Packages, versions and requirements for Python and Node.js.

SDKPackagePublished versionRuntime
Pythonrai-control-plane-sdk0.2.0 on PyPIPython 3.10+
TypeScript / Node.js@ztechnium/rai-sdk0.1.1 on npm (repository: 0.2.0)Node.js 18+

Python

bash
pip install rai-control-plane-sdk

From source:

bash
pip install "rai-control-plane-sdk @ git+https://github.com/ztechnium/rai-python-sdk.git"

TypeScript / Node.js

npm release (0.1.1)
npm install @ztechnium/rai-sdk
From the repository (0.2.0)
npm install github:ztechnium/rai-typescript-sdk

Version 0.1.1 covers sessions, input and output observation, action authorization and execution reporting. Data access, usage metering, delegation and the getDecision and getApprovalStatus helpers need 0.2.0.

The package ships CommonJS only. In an ES module, load it with createRequire. See TypeScript SDK.

Compatibility

Both SDKs target the /sdk/v1 contract, version range >=1.0.0,<2.0.0. Check a running instance with GET /sdk/v1/health.