Build with Ragen AI
Integrate AI-powered, knowledge-grounded chat into your application. Your documents, your models, your API.
import { Ragen } from "@ragenai/sdk";
const ragen = new Ragen();
const completion = await ragen.chat.completions.create({
assistantId: "123e4567-e89b-12d3-a456-426614174000",
messages: [
{ role: "user", content: "What is our refund policy?" },
],
});
console.log(completion.choices[0].message.content);
🔑
API Keys
Generate and manage API keys from the dashboard. Each key is scoped to a project with its own knowledge base.
💬Chat API
Send messages and get AI-powered responses grounded in your documents via a simple REST endpoint.
🔒Secure by Default
API keys are stored in an encrypted vault. All internal communication uses timing-safe secret verification.