Getting Started

Installation

Install the Tork SDK for Python or JavaScript to add AI governance to your applications.

Python Installation

Install the official Python SDK using pip:

bash
# Install the official SDK
pip install tork-governance

# Or with async support
pip install tork-governance[async]

# Verify installation
python -c "import tork_governance; print(tork_governance.__version__)"
Python 3.8 or higher required
Supports asyncio for high-throughput applications
Type hints included for IDE autocomplete

JavaScript / TypeScript Installation

Install the official JavaScript SDK using npm or yarn:

bash
# Using npm
npm install @torknetwork/sdk

# Using yarn
yarn add @torknetwork/sdk

# Using pnpm
pnpm add @torknetwork/sdk
Node.js 18+ or modern browsers
Full TypeScript support with type definitions
ESM and CommonJS compatible

Verify Installation

Test your installation with a simple health check:

python
from tork_governance import TorkClient

client = TorkClient(api_key="your_api_key")
status = client.health_check()
print(f"Tork API Status: {status['status']}")
javascript
import { TorkClient } from '@torknetwork/sdk';

const client = new TorkClient({ apiKey: 'your_api_key' });
const status = await client.healthCheck();
console.log('Tork API Status:', status.status);

Next Step: Configure your API key and environment. See Configuration.

Documentation

Learn to integrate TORK

Upgrade Plan

Current: free

Support

Get help from our team