agenticmemoryai
v1.0.0
Published
Official Node.js SDK for Agentic Memory — persistent memory for AI agents
Maintainers
Readme
agenticmemory
Official Node.js SDK for Agentic Memory. Give your AI agents persistent memory in one line.
Install
npm install agenticmemoryQuick Start
const { AgenticMemory } = require('agenticmemory');
const memory = new AgenticMemory({ apiKey: 'amk_your_key' });
// Store a message
await memory.store('your-space-id', { role: 'user', content: 'Hello!' });
// Recall recent messages
const messages = await memory.recall('your-space-id', { limit: 20 });
// Search by meaning (Pro plan)
const results = await memory.search('your-space-id', 'pricing discussion');Features
- Short-term memory — instant recall, sub-millisecond reads
- Medium-term memory — search past conversations by meaning
- Long-term memory — auto-summarised knowledge across months
API
store(spaceId, message)— append a messagerecall(spaceId, { limit })— get recent messagessearch(spaceId, query, { scope, tags })— semantic searchsetContext(spaceId, key, value)— set key-value contextgetContext(spaceId, key)— get context valueaddEntry(spaceId, { type, title, content, tags })— append entrybootstrap(spaceId, opts)— load full context in one callsetShared(spaceId, key, value)— shared world memorycreateSpace(name, slug)— create a memory space
Get an API key
Sign up free at agenticmemory.ai. 1,000 messages/month on the free tier.
Links
Acknowledgements
The structured memory architecture was influenced by work from the h-network community by Halil Baysal.
License
Proprietary — Tyga.Cloud Ltd. See LICENSE file.
