Client SDK
Build custom chat UIs in React, Vue, or vanilla JavaScript with real-time streaming.
Client SDK
Build custom chat UIs in React, Vue, or vanilla JavaScript with real-time streaming.
Server SDK
Manage workspaces, releases, and RAG documents from your Node.js backend.
MCP SDK
Integrate with Claude Desktop, Cursor, and other MCP-compatible AI assistants.
Embed Script
Drop a fully-rendered chat widget onto any page with one <script> tag — no bundler required.
CLI
Manage workspaces, chat with AI, search knowledge bases, and control releases from your terminal.
TypeScript First
Full TypeScript support with auto-generated types from our OpenAPI spec.
import { DivinciClient } from "@divinci-ai/client";
const client = new DivinciClient({ releaseId: "rel_abc123", apiKey: "divinci_key_...",});
// Open a thread, then stream a response token-by-tokenconst thread = await client.chat.create();
await client.chat.stream(thread.id, "Tell me about AI", { assistantName: "your-assistant-id", // the release's assistant/model id onChunk: (text) => process.stdout.write(text), onComplete: (message) => console.log("\n\nDone:", message.id),});