Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces the initial implementation of the Voice Memory Demo app, a Next.js project that showcases persistent memory for voice AI agents using Gemini Live and MongoDB. The changes include core backend and frontend setup, environment and configuration files, documentation, and essential utilities for audio processing and memory management.
The most important changes are:
Core Application Features and API Endpoints
route.tsfor CRUD and search operations on user memories, supporting operations like set, get, delete, query, and list.route.ts, providing system instructions and tool definitions for the voice agent, including persistent memory capabilities.Frontend and UI
VoiceAgentcomponent for the interactive voice experience. [1] [2]Configuration, Documentation, and Utilities
README.mdwith setup instructions, architecture, features, and troubleshooting for the demo app..gitignore, and Next.js/Tailwind/PostCSS/ESLint config files for project setup and best practices. [1] [2] [3] [4] [5]audio-processor.jsfor capturing and converting microphone audio to the required PCM format for Gemini Live API.package.jsonwith all necessary dependencies for Next.js, MongoDB, Gemini API, Tailwind CSS, and development tooling.