Skip to main content

LiveKit Plugin

livekit-plugin-alchemyst gives your LiveKit voice agents persistent, cross-session memory powered by Alchemyst AI. Voice agents remember users across conversations — preferences, past requests, personal details — and use that context for personalised responses without any manual state management.

Features

  • Automatic RAG injection — relevant memories are semantically retrieved and injected before each LLM response via the onUserTurnCompleted hook
  • Auto-persist — completed user/assistant turns are stored to Alchemyst automatically
  • LLM tools — exposes remember, recall, and forget tools for explicit memory management
  • Per-session scoping — memories scoped by groupName, session ID, and user identity
  • Provider-agnostic — works with any LLM (OpenAI, Gemini, Anthropic, etc.)

Installation

Peer dependencies (install separately if needed):

Quick Start

Configuration

LLM Tools

Use Cases

  • Customer support — remember account details and past issues across calls
  • Personal companion — learn user preferences, routines, and interests
  • Sales qualification — track prospect details and buying signals
  • Multi-tenant SaaS — scope memory per organization and user

Resources