Skip to content

feat: adding Firebase integration as MemoryStore #610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2025

Conversation

wayzeek
Copy link
Contributor

@wayzeek wayzeek commented May 22, 2025

Overview

This PR introduces the @daydreamsai/firebase package, providing a Firebase Firestore-backed implementation of the MemoryStore interface for Daydreams. This integration enables persistent, scalable storage of conversation data using Google Firebase.

Features

  • Persistent memory storage for conversation data in Firestore
  • Supports both environment variable and direct service account credential configuration
  • Fully typed API for safe and predictable usage
  • Seamless integration with Daydreams agents via the core memory interface

Usage

  • Simple installation via bun, npm, yarn, or pnpm
  • Easy setup with either environment-based or explicit service account credentials
  • Example usage and API documentation included in the package README

Motivation

This integration allows Daydreams users to leverage Google Firebase's managed, scalable infrastructure for storing and retrieving conversational memory, making it easier to deploy agents in production environments with robust data persistence.

Additional Notes

  • No vector storage is included in this package (unlike the Supabase integration).
  • Documentation has been updated to follow the style and clarity of other Daydreams storage packages.

Copy link

vercel bot commented May 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
daydreams ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2025 3:46pm

@wayzeek wayzeek changed the title [feat]: adding Firebase integration as MemoryStore feat: adding Firebase integration as MemoryStore May 22, 2025
@wayzeek wayzeek marked this pull request as ready for review May 22, 2025 15:47
@@ -0,0 +1,73 @@
# @daydreamsai/firebase

A Firebase Firestore integration package for the DaydreamsAI platform, providing persistent memory storage for conversation data.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A Firebase Firestore integration package for the DaydreamsAI platform, providing persistent memory storage for conversation data.
A Firebase Firestore integration package for the daydreams, providing persistent memory storage for conversation data.

@ponderingdemocritus ponderingdemocritus merged commit ffd531f into daydreamsai:main May 23, 2025
6 checks passed
djizus pushed a commit to z-korp/daydreams that referenced this pull request Jun 28, 2025
feat: adding Firebase integration as MemoryStore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants