feat: Moss Integration for LiveKit Agents#4812
Open
CoderOMaster wants to merge 2 commits intolivekit:mainfrom
Open
feat: Moss Integration for LiveKit Agents#4812CoderOMaster wants to merge 2 commits intolivekit:mainfrom
CoderOMaster wants to merge 2 commits intolivekit:mainfrom
Conversation
c4e9dfc to
7ebe46b
Compare
r4ghu
reviewed
Feb 16, 2026
| @@ -0,0 +1 @@ | |||
|
No newline at end of file |
|||
r4ghu
reviewed
Feb 16, 2026
| ] | ||
| dependencies = [ | ||
| "livekit-agents>=1.2.18", | ||
| "inferedge-moss>=1.0.0b12" |
There was a problem hiding this comment.
We have an updated Python version b14 - https://pypi.org/project/inferedge-moss/
r4ghu
reviewed
Feb 16, 2026
| description = "Moss plugin for LiveKit Agents" | ||
| readme = "README.md" | ||
| license = "Apache-2.0" | ||
| requires-python = ">=3.9.0" |
r4ghu
reviewed
Feb 16, 2026
| "Topic :: Multimedia :: Video", | ||
| "Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", |
r4ghu
reviewed
Feb 16, 2026
| @@ -0,0 +1,55 @@ | |||
| # Moss plugin for LiveKit Agents | |||
|
|
|||
| This package wires the [Moss](https://www.usemoss.dev/) semantic search | |||
r4ghu
reviewed
Feb 16, 2026
| ```bash | ||
| # change into the examples/dev folder and run the demo | ||
| cd examples/dev | ||
| python MossLifecycle.py |
There was a problem hiding this comment.
If this is removed, then please update this documentation.
b7fd778 to
3c74ad2
Compare
3c74ad2 to
902c11e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Description: Moss Integration for LiveKit Agents
Description
This PR introduces
livekit-plugins-moss, integrating Moss with LiveKit Agents.The problem: Voice agents have a ~800ms total latency budget to feel natural. Traditional RAG pipelines add 100–500ms of network round-trips per retrieval call, making real-time knowledge retrieval impractical during live conversations.
The solution: Moss is an edge-native semantic search runtime that runs in the same process as your LiveKit agent. Once assets are downloaded, search executes locally with sub-10ms latency and zero network hops - making it practical to retrieve knowledge mid-conversation without breaking conversational flow.
What's New
livekit-plugins-moss): A dedicated plugin for Moss integration.MossClient: An asynchronous wrapper around theinferedge-mossSDK, designed for LiveKit's event-driven architecture.IndexInfo,DocumentInfo,SearchResult, etc.).Key Capabilities
Real-Time Semantic Search
alphaparameter: blend semantic similarity (α=1.0) with keyword matching (α=0.0) to balance precision and recall for your use caseIndex Lifecycle Management
Document Management
Async-First API
async/await, ensuring agent responsiveness during live sessionsPrivacy & Offline Support
Usage
Here is a simple example of how to use the
MossClientin your agent:Environment Variables
The client relies on the following environment variables for authentication:
MOSS_PROJECT_IDMOSS_PROJECT_KEY