Sovant Documentation
Sovant Documentation
Sovant is a governed AI memory layer: durable, queryable storage for AI apps with cross-model recall, hybrid (semantic + deterministic) retrieval, and simple SDKs.
Key Features
- Memory API — Store, retrieve, search, and delete memories with full CRUD
- Hybrid Recall — Profile-aware pipeline combining deterministic + semantic retrieval
- Threads — Group related memories into conversations or sessions
- Batch Operations — Create multiple memories in a single request
- Governed by Default — Explicit memory only, with audit trails, edit/delete, and TTL
Example Use Cases
Personalization
Sovant remembers user preferences:
"User prefers dark mode" → applied automatically next session.
Cross-Model Continuity
ChatGPT: "I live in Kuching"
Claude: "I remember you said you're from Kuching!"
Quickstart JavaScript
npm install @sovant/sdk
import { Sovant } from '@sovant/sdk';
const sv = new Sovant({
apiKey: process.env.SOVANT_API_KEY
});
// Create a memory
const memory = await sv.memory.create({
data: 'User prefers dark mode',
type: 'preference',
tags: ['ui', 'settings']
});
// Recall memories with hybrid search
const recall = await sv.memory.recall({
query: 'what are the user preferences?',
limit: 5
});
console.log(recall.results);
Quickstart Python
pip install sovant
from sovant import Sovant, MemoryCreate
client = Sovant(api_key="sk_live_your_api_key")
# Create a memory
memory = client.memory_create(MemoryCreate(
data="User prefers dark mode",
type="preference",
tags=["ui", "settings"]
))
# Recall memories with hybrid search
recall = client.memory_recall(query="user preferences", limit=5)
for r in recall.get("results", []):
print(r["content"])