Skip to content

feat(ts-sdk): add AWS S3 Vectors vector store #5785

Description

@kartik-mem0

Summary

The Python SDK supports AWS S3 Vectors as a vector store provider, but the TypeScript OSS SDK (mem0ai/oss) does not. Add it to bring the TS SDK to parity.

Python reference mem0/vector_stores/s3_vectors.py
Registered in (Python) mem0/utils/factory.py (VectorStoreFactory)
Target file (TypeScript) mem0-ts/src/oss/src/vector_stores/s3_vectors.ts
Suggested implementation Use the AWS-official @aws-sdk/client-s3vectors.

Requirements

  • Implement S3Vectors in mem0-ts/src/oss/src/vector_stores/s3_vectors.ts, extending VectorStore (mem0-ts/src/oss/src/vector_stores/base.ts) and mirroring the Python provider's behavior (insert / search / get / update / delete / list / reset).
  • Register the "s3_vectors" provider in mem0-ts/src/oss/src/utils/factory.ts (VectorStoreFactory).
  • Add config typing in mem0-ts/src/oss/src/types/.
  • Add a unit test under mem0-ts/src/oss/src/tests/.
  • Add @aws-sdk/client-s3vectors to mem0-ts/package.json (optional/peer dependency, lazy-imported like other providers).
  • Update docs under docs/ if this provider is user-facing.

Reference pattern

Mirror an existing TS provider: vector_stores/qdrant.ts.

Notes

Mirror mem0/vector_stores/s3_vectors.py. AWS credential chain.


Part of the TypeScript ↔ Python SDK provider-parity effort. One provider per issue (atomic).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededsdk-typescriptTypeScript/Node.js SDK specificsize:LThis PR changes 100-499 lines, ignoring generated files.vector-storeVector store backends (Qdrant, PGVector, Redis, etc.)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions