Python
Requirements: Python 3.8+
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+
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
# .env
AGENT_CLIENT_ID=your-client-id
AGENT_CLIENT_SECRET=your-client-secret
ANTI_AI_URL=https://api.antiailabs.com
Never commit credentials to source control. Add .env to your .gitignore.