agentskit.js
Memory

fileVectorMemory

Pure-JS file-persisted vector store. Zero infra.

import { fileVectorMemory } from '@agentskit/memory'

const store = fileVectorMemory({ path: '.agentskit/vectors' })

#Options

OptionTypeDefault
pathstringrequired
storeVectorStoreVectra-backed on-disk store

path names a Vectra index directory. Install the optional vectra peer for the default on-disk store, or provide a custom VectorStore implementation.

#Scale

Fine up to ~10k vectors. For larger corpora use pgvector, pinecone, qdrant, chroma, upstash-vector.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.