Gemini live wealth advisor #2549
Open
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.
Description
This React and FastAPI-based demo showcases how to build an immersive, enterprise-grade "AI Wealth Advisor" using the Gemini Live API. It demonstrates a "Thick Server" architecture designed for secure, stateful financial applications where the agent orchestrates tools, data, and UI elements from a secure backend.
Key Features:
Server-Centric Architecture: Unlike client-side demos, this uses a secure backend (FastAPI + Google ADK) to manage state, ensuring business logic and prompts remain protected.
Multimodal Interaction: The assistant streams synchronized events to the client, allowing it to "Speak" naturally while simultaneously rich visual components (Charts, Alerts, Tables) in the React UI.
RAG Integration: The agent can securely "browse" and research a library of financial PDF documents (via Vertex AI Search) to provide grounded investment answers.
Native Audio: Leverages Gemini's native audio capabilities for low-latency (<500ms), expressive voice interactions suitable for real-time conversation.
Session Persistence: User profiles and conversation history are persisted in Firestore, allowing the agent to maintain context across different sessions.
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
CONTRIBUTINGGuide.nox -s formatfrom the repository root to format).READMEfile.CODEOWNERSfor the file(s).