

The primitive layer for secure AIAll providers. Zero CVEs. One interface.
Tekimax is a unified interface for secure, multi-modal AI. It provides a consistent, type-safe API across all major providers while guaranteeing a hardened software supply chain.
Why Tekimax?
- Security First: Built on Chainguard images with a verified build pipeline. Zero CVEs.
- Unified Interface: Switch between OpenAI, Anthropic, Gemini, Grok, OpenRouter, and Ollama with a single line of code.
- Strict Modality Type-Safety: Strong capability interfaces ensure your code only compiles when you invoke supported endpoints (e.g.
client.images.generate()will error at compile-time on Ollama). Full IDE support with Zod schemas. - No Vendor Lock-in: Decouple your application logic from specific AI provider SDKs. If a provider raises prices or goes down, swap the adapter — your application code stays the same.
Supported Providers
Installation
Code
npm install tekimax-tsQuick Start
Initialize the client with your preferred provider.
Code
import { Tekimax, OpenAIProvider } from 'tekimax-ts';
// 1. Configure the Provider
const provider = new OpenAIProvider({
// Always pass keys via environment variables — never hardcode secrets,
// so credentials stay out of source control and can rotate without redeploying.
apiKey: process.env.OPENAI_API_KEY!,
});
// 2. Initialize the Client
// The Tekimax wrapper decouples your app from any single provider.
// Swap OpenAIProvider → AnthropicProvider and nothing else changes.
const client = new Tekimax({ provider });
// 3. Chat (Text Modality)
const response = await client.text.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Hello World!' }],
});
// The SDK returns a flat ChatResult — no choices array to index into.
console.log(response.message.content);