@zdravoai/sdk
v0.1.3
Published
Zdravo AI Memory SDK - TypeScript client for persistent AI memory
Downloads
497
Maintainers
Readme
@zdravo/sdk
TypeScript SDK for Zdravo AI Memory - persistent memory for AI applications.
Installation
npm install @zdravo/sdk
# or
pnpm add @zdravo/sdkQuick Start
import { ZdravoClient } from '@zdravo/sdk'
const client = new ZdravoClient({
apiKey: 'zdk_live_your_api_key_here',
})
// Save a memory
await client.memories.create({
title: 'My AI Research',
content: 'Gemini 2.5 Flash handles large contexts well...',
tags: ['research', 'gemini', 'models'],
})
// Recall memories
const results = await client.recall.search({
query: 'Gemini model performance',
limit: 10,
})
// List all memories
const memories = await client.memories.list({ limit: 20 })API Reference
Memories
client.memories.list(options?)- List all memoriesclient.memories.get(id)- Get a specific memoryclient.memories.create(options)- Create a new memoryclient.memories.update(id, options)- Update a memoryclient.memories.delete(id)- Delete a memory
Recall
client.recall.search(options)- Semantic searchclient.recall.history(options?)- Recall history
Collections
client.collections.list()- List collectionsclient.collections.get(id)- Get a collectionclient.collections.create(options)- Create a collectionclient.collections.delete(id)- Delete a collection
License
MIT
