The Database Built for AI Conversations
Agent memory that doesn't leave the conversation behind.
Store conversations. Enable search. Maintain state.
Give AI agents persistent memory built from the full conversation record. Summaries keep answers fast, searchable history keeps the details available, and session state helps every interaction pick up where the last one left off.
/**
* DialogueDB - persistent AI conversation storage.
* Store messages, search by meaning, maintain state.
*/
// 1. Connect to DialogueDB
import { DialogueDB } from "dialogue-db"
const db = new DialogueDB({
apiKey: "your-api-key"
})
// 2. Create a conversation
const dialogue = await db.createDialogue({
namespace: "user-456"
})
// 3. Add a message, auto-vectorized for search
await dialogue.saveMessage({
role: "user",
content: "How can I track my order?"
})
// 4. Search by meaning, not just keywords
const results = await db.searchMessages("where is my package", {
namespace: "user-456"
})
// ^ finds the order tracking message aboveFor agents that need the past to stay usable
DialogueDB handles the infrastructure behind persistent agent memory, including message storage, semantic search, summaries, session state, and user isolation.
Give agents a searchable record of past conversations without building and maintaining your own storage, retrieval, and state system.
What DialogueDB handles automatically:
Security that doesn't get in the way
Encrypted, isolated, auditable
DialogueDB encrypts every conversation, isolates every user's data, and maintains audit trails automatically. Learn more about our security practices

One database.
Every conversation.
Fully managed.
Every conversation creates data your AI needs to remember. We built the database to store and organize it all. With search that works instantly. State that persists automatically. And integration that takes minutes.
Model-Agnostic
Compatible with OpenAI, Anthropic, Gemini, LangChain, llm-exe, or any LLM framework. Use the TypeScript SDK or call the REST API directly from Python, Go, Ruby, or any language.
Fully Managed
No databases to provision, no vector indexes to tune, no backups to schedule. We run the infrastructure so you can free up your dev team.
Integrate in Minutes
Get your API key and give your agents memory immediately. Works with any language, no package required.
The Conversation Memory Platform
What DialogueDB handles so you don't have to.
Persistent Conversations
Every message stored and retrievable across sessions, devices, and apps
Semantic Search
Automatic vectorization on every message for search by meaning, not just keywords
Session State
Key-value state attached to each conversation that persists between interactions
User Isolation
Each user's conversations kept separate with scoped queries to ensure data never leaks
Conversation Threading
Parent-child dialogues for branching conversations, follow-ups, and organized history
Memories
Facts and summaries extracted from conversations that your AI can recall instantly
Conversation Summarization
Condense long conversations with your own LLM to optimize context windows and reduce token costs
Free to Start
Free tier gives you everything you need to start testing with your app
How it works
Connect once. Use everywhere.
Your conversation infrastructure, managed and maintained. No databases to configure, no schemas to design, no servers to maintain.
View DocumentationGet your API key
Get your API key and connect in seconds. Use the TypeScript SDK or call the REST API directly — works with any language, no package required.
import { DialogueDB } from "dialogue-db"
const db = new DialogueDB({
apiKey: "your-api-key"
})const dialogue = await db.createDialogue({
namespace: "user-456"
})
await dialogue.saveMessage({
role: "user",
content: "How do I reset my password?"
})Store your conversations
Create dialogues, save messages with metadata, and let auto-vectorization handle search indexing.
Search everything
Query by user, content, metadata, or semantic similarity. Load full conversation history or just the memories.
const results = await db.searchMessages("password reset", {
namespace: "user-456"
})
const messages = await dialogue.loadMessages({
limit: 20
})What developers build with DialogueDB
Support agents, AI copilots, chatbots, multi-agent systems – if your application has conversations, it needs memory. We provide the memory infrastructure with storage, search, and state.

DialogueDB Powers:
- • Customer Support Agents
- • AI Copilots & Assistants
- • Multi-Agent Systems
- • AI Tutors
- • Compliance & Auditing
- • Chatbots & Conversational Apps
- • Narrative AI & Games
Give your agents memory in minutes.
DialogueDB turns every conversation into knowledge your AI agents can build on.