Python Integration

Vaikora's Python SDK brings OpenAI-compatible API access with real-time security to your Python applications. Install via pip and start with sync, async, or FastAPI integrations in minutes.

Get a demo · Open-source gateway on GitHub · MCP server

Installation

Install the Vaikora Python SDK via pip. Requires Python 3.8 or later with full type hints for IDE support.

Basic Usage and Wrapping Clients

Use Vaikora as a drop-in OpenAI-compatible gateway. Wrap existing OpenAI client instances or create new ones pointed at the Vaikora endpoint with your API key.

Async Support and Streaming

Vaikora supports async clients for high-concurrency applications and streaming responses. Both patterns integrate transparently with the Python SDK.

FastAPI and Framework Integration

Deploy Vaikora with FastAPI, LangChain, and other Python frameworks. Configure error handling and monitoring per-application needs.

Related pages