Simple Memory

Keeps the conversation of the AI Agent in the memory of the worker, with no database.

v0.4.0Source

Install

An AI agent with ports for a chat model, memory, and tools. Chat models of OpenAI, Anthropic, Google Gemini, Mistral, Groq, xAI, DeepSeek, OpenRouter, Ollama, Azure OpenAI, Amazon Bedrock, Google Vertex AI, or any OpenAI-compatible endpoint, memory in zerodot or in a data table, and other workflows, MCP servers, and vector stores as tools. Embedding models, text splitters, a data loader, and a Cohere reranker for vector stores.

AI Agent@zerodot/ai-agentInstall
  1. Open System, then Nodes.
  2. Find AI Agent and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

Simple Memory (agent.memory.buffer) is an action node in the AI Agent package (@zerodot/ai-agent): Keeps the conversation of the AI Agent in the memory of the worker, with no database.

Keeps the conversation in zerodot, with no database or credential. The agent reads the last Context Window Length runs of the session (default 5). Each session keeps at most 100 turns.

From zerodot with node SDK 1.6, the memory is in the key-value store of the workflow: all workers share it, it stays when a worker restarts, and each workflow has its own sessions. A session that gets no new turn for 30 days goes. An older zerodot keeps the memory in the worker process (at most 1000 sessions): it goes when the worker restarts, and other workers do not see it.

Logins it can use

The chat models and the embedding models use the same credential types as @zerodot/ai: ai.openai, ai.anthropic, ai.gemini, and ai.compatible. A key saved for one package works in the other.

Cohere API key (cohere): apiKey, and an optional baseUrl. The key is secret.

Guides and related hubs