Feature: Amazon Nova Sonic Plugin
Context
I'm a developer from AWS. LiveKit is a popular open-source framework used by our customers, and we would like to implement a plugin to integrate our new real-time speech-to-speech model, Amazon Nova Sonic, into LiveKit. An integration with LiveKit serves as an important bridge to the wider open-source ecosystem for voice agents. In addition to the initial implementation of the Sonic plugin, we intend to continually maintain the plugin to keep pace with the newest features of Nova Sonic as they are released and ensure that they remain compatible. We hope to foster a collaborative relationship so that Nova Sonic can be experienced via the LiveKit platform.
Next Steps
I will be creating a branch and raising a draft PR with only a minimal feature set (e.g., speech generation and text transcription). Any and all feedback is welcome and appreciated. Over time, I intend to enrich the functionality of the Nova Sonic plugin with RAG, Tool Use, interruptions, etc.
Questions
-
We currently have some feature gaps surrounding Nova Sonic (that will be addressed in the coming months), like not being able to retroactively edit conversation history. These gaps may require some inventive thinking to work around. Is there someone I could consult on these topics?
-
Wondering if there is any flexibility around changing/adding/omitting any of the LiveKit events that are emitted? I ask because Nova Sonic's eventing model does not align neatly with the existing LiveKit events.
Resources
https://docs.aws.amazon.com/nova/latest/userguide/speech.html https://docs.aws.amazon.com/nova/latest/userguide/input-events.html https://docs.aws.amazon.com/nova/latest/userguide/output-events.html
Might be duplicate of #2083 and based on the comment, the Livekit team is already working on it.
Hi @BumaldaOverTheWater94 , I am also from AWS. I'd like to help out as well if you could use the help. Please reach out on slack please @ kachenjr.