Home / Companies / LiveKit / Blog / Post Details
Content Deep Dive

Build a voice AI agent with memory using LiveKit and Supabase

Blog post from LiveKit

Post Details
Company
Date Published
Author
Jesse Hall
Word Count
4,472
Company Posts That Month
11
Language
English
Hacker News Points
-
Summary

The text discusses the integration of a voice agent with Supabase, highlighting the technical setup and benefits of this combination. It explores the process of creating a voice agent using LiveKit and Supabase, which utilizes Postgres with pgvector for semantic search, Supabase Auth for identity management, and Row Level Security for data isolation. The setup includes various features such as agentic memory using Reciprocal Rank Fusion for combining vector and full-text search, pre-loaded user context for a seamless user experience, and function-tool CRUD operations for backend interactions. The guide outlines the technical architecture, including embedding model setup and API key management, and provides instructions for running both Node.js and Python agents. The text emphasizes Supabase's strengths in providing a secure and efficient backend for voice agents, offering real identity management, data retrieval, and memory storage without needing a separate vector database or embedding service. It also suggests enhancements like upgrading anonymous users to real accounts, adding multi-tenancy, and hardening the embed function for production use.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 32 2,091 556 118 -8%
Voice AI 7 2,232 214 48 -36%
Edge Computing 6 34 17 12 -26%
LLM 6 5,172 1,006 220 -43%
RAG 2 885 228 95 -58%
AI Agents 1 4,874 1,103 240 -1%
Real-time 1 5,457 1,338 238 -5%