Client SDK
Build custom chat UIs in React, Vue, or vanilla JavaScript with real-time streaming.
Build powerful AI integrations with our official TypeScript SDKs
New here? Follow one PDF from upload to a grounded answer — parsed, chunked, quizzed, embedded, routed, attacked, guarded, and served. Every stage is a real stage of the Divinci pipeline, and every tool named is one you can actually pick.
Building with Divinci in Claude Code, Cursor, Gemini CLI, or Grok? Install the Divinci Agent Skill — a drop-in package that teaches your agent the CLI, SDKs, and API (auth patterns, RAG ingestion, releases, the footguns) — and connect the hosted MCP server for live access to your account:
claude mcp add divinci --transport http https://mcp.divinci.app/mcpClient 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),});