agentskit.js
Data layerMemory

Memory

Chat memory + vector stores + wrappers that make long-running agents practical.

Chat memory (ordered history)

  • createInMemoryMemory — default, zero deps.
  • createLocalStorageMemory — browser-persisted.
  • fileChatMemory — JSON file.
  • sqliteChatMemory — SQLite-backed.
  • redisChatMemory — Redis-backed.

Vector memory

  • fileVectorMemory — pure JS, file-persisted.
  • redisVectorMemory — Redis Vector.
  • pgvector — BYO SQL runner. Recipe.
  • pinecone / qdrant / chroma / upstashVector — HTTP-backed managed stores.

Higher-order wrappers

  • createVirtualizedMemory — hot window + cold retriever. Recipe.
  • createHierarchicalMemory — MemGPT working / recall / archival. Recipe.
  • createAutoSummarizingMemory — fold oldest into a summary. Recipe.
  • createEncryptedMemory — AES-GCM over any ChatMemory. Recipe.
  • createInMemoryGraph — knowledge graph (nodes + edges). Recipe.
  • createInMemoryPersonalization — per-subject profile. Recipe.

Per-backend deep dives land in step 4 of the docs IA rollout.

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page