Stop hallucinations. Remember users. Understand your entire codebase. Production-ready infrastructure for intelligent AI applications.
7-day free trial • Credit card required • Cancel anytime
Hybrid search, conversational memory, knowledge graphs, delta compression, and oracle research.
Vector + BM25 + reranking. Best-in-class retrieval for any query type.
7 memory types with temporal reasoning and version chains. Remember everything.
50-90% token savings in multi-turn conversations. Only send what changed.
Tree-guided multi-step search for complex questions. Deep research on demand.
Auto-extract entities and relationships. Navigate complex codebases easily.
GitHub, Notion, Slack, Discord, Confluence, PostgreSQL, MongoDB, and more.
Complete TypeScript SDK with delta compression, SOTA memory, oracle research, auto-indexing, and cost tracking.
query(), addContext(), oracleSearch() - everything you need for intelligent retrieval
ingestSession(), searchMemoriesSOTA(), getUserProfile() - long-term memory management
autosubscribe(), createSharedContext(), consolidateMemories() - intelligent automation
import { RetainDBClient } from '@retaindb/sdk'
const client = new RetainDBClient({
apiKey: process.env.RETAINDB_API_KEY,
orgId: process.env.RETAINDB_ORG_ID
})
// Query with delta compression
const result = await client.query({
project: 'my-app',
query: 'How do we handle auth?',
compress: true,
compression_strategy: 'delta',
include_memories: true
})
// 50-90% token savings
console.log(result.meta.tokens_used)
// 1,500 tokens (was 15,000)7 memory types, temporal reasoning, version chains, and automatic extraction. Your AI agents remember everything that matters.
Understand when memories were created and how they evolved over time
Track how information changes and maintain a complete history
Automatically extract memories from conversations using Claude Sonnet 4.5
Delta compression detects what context changed since last query and only sends the difference. Massive token savings for multi-turn conversations.
Enable with compression_strategy: 'delta'
{
"mcpServers": {
"retaindb-context": {
"command": "npx",
"args": [
"@retaindb/mcp-server"
],
"env": {
"RETAINDB_API_KEY": "rdb_...",
"RETAINDB_API_URL": "https://api.retaindb.com",
"RETAINDB_ORG_ID": "org_..."
}
}
}
}15+ MCP tools give Claude Desktop direct access to your context, memory, and knowledge graphs. Works with any MCP-compatible AI assistant.
Context retrieval, memory storage, oracle research, and knowledge graph navigation
Claude Desktop instantly gets context awareness and long-term memory
Built for scale from day one
Stop hallucinations. Remember users. Understand your entire codebase.
7-day free trial • Credit card required • Cancel anytime