> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goantiai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install SDK

> Install the Anti AI SDK for Python or TypeScript.

## Python

**Requirements**: Python 3.8+

```bash theme={null}
pip install oculus-sdk
```

```python theme={null}
from oculus_sdk import OculusClient
print("Anti AI SDK ready")
```

Includes: `OculusClient`, automatic token caching and renewal, background TRL polling (15s), async support via `aget_token()`, and typed exceptions.

## TypeScript

**Requirements**: Node.js 18+

```bash theme={null}
npm install @oculus/sdk
```

```typescript theme={null}
import { OculusClient } from '@oculus/sdk';
console.log('Anti AI SDK ready');
```

Includes: `OculusClient`, automatic token caching and renewal, background TRL polling with ETag support, `onTokenRevoked` callback, and full TypeScript types.

## Environment variables

```bash theme={null}
# .env
AGENT_CLIENT_ID=your-client-id
AGENT_CLIENT_SECRET=your-client-secret
ANTI_AI_URL=https://api.antiailabs.com
```

<Warning>
  Never commit credentials to source control. Add `.env` to your `.gitignore`.
</Warning>
