Skip to content

The Database Built for AI Conversations

Enterprise-grade conversation infrastructure for modern AI applications

Quick Example ​

Create your first conversation in seconds:

typescript
import { DialogueDB } from 'dialogue-db';

const db = new DialogueDB({ apiKey: process.env.DIALOGUE_DB_API_KEY });

const dialogue = await db.createDialogue({
  messages: [{ role: 'user', content: 'Hello, how can you help me today?' }]
});

console.log(dialogue.id); // e.g., "01KACE6RAZKQ93354SF18CJHHC"
python
import requests

response = requests.post(
    "https://api.dialoguedb.com/api/v1/dialogue",
    headers={"Authorization": "Bearer DIALOGUE_DB_API_KEY"},
    json={
        "messages": [{"role": "user", "content": "Hello, how can you help me today?"}]
    }
)

dialogue = response.json()
print(dialogue["id"])  # e.g., "01KACE6RAZKQ93354SF18CJHHC"
bash
curl -X POST https://api.dialoguedb.com/api/v1/dialogue \
  -H "Authorization: Bearer DIALOGUE_DB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{ "role": "user", "content": "Hello, how can you help me today?" }]
  }'

Why DialogueDB? ​

DialogueDB provides the conversation infrastructure layer for AI applications, allowing you to focus on building great user experiences instead of managing conversation state, message persistence, and history retrieval.

Perfect for:

  • AI Chatbots & Virtual Assistants
  • Customer Support Automation
  • Conversational Analytics
  • Multi-turn Agent Workflows
  • Conversation History & Auditing

Get Started →