Installation
Install the vaikora package via npm, yarn, or pnpm. The SDK works with existing OpenAI-compatible clients and requires minimal configuration.
Basic Usage
Create a Vaikora client, configure your API key, and route LLM requests through the gateway. All requests automatically receive threat detection and real-time security scanning.
Configuration and Middleware
Configure authentication, customize request behavior, and deploy Vaikora as Express middleware for automatic protection across your application. Full TypeScript support included.
Streaming and Error Handling
Stream responses directly from protected LLM calls and handle errors with built-in retry logic. Use async/await patterns for clean, maintainable code.