GPT-4o, o1, DALL-E, Whisper, and more
Access OpenAI's suite of language models, image generation, speech-to-text, and embeddings through a single proxied connection.
Use OpenAI through Keystore with zero code changes. Keys are resolved from the vault and injected at request time.
import Keystore from "@keystore/sdk";
import OpenAI from "openai";
const ks = new Keystore({ agentToken: process.env.KS_TOKEN! });
ks.interceptAll();
const openai = new OpenAI();
const completion = await openai.chat.completions.create({
model: "gpt-4o",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(completion.choices[0].message.content);Get started in minutes. Your credentials are encrypted and never exposed to your agent code.
Get Started