RTVI JavaScript SDK Documentation
RTVI is an open standard for real-time AI inference.
The RTVI project’s goal is to make it easy to build AI voice-to-voice and real-time video applications.
See the API Reference docs for RTVI Web
You are reading the docs for the RTVI JavaScript SDK. This is an Open Source implementation of the RTVI standard intended for use in web browsers.
Because RTVI is a vendor-neutral standard, this SDK does not implement the lowest level of client-to-cloud communication. We call this the “transport” layer. To build RTVI client apps, you’ll use both this SDK (realtime-ai
) and a library that implements an RTVI transport.
For example:
Once you have both this SDK and a transport library installed, a very simple Hello World app (using Daily as a transport) looks like this:
Of course, a production-ready application is more lines of code than that! You may want to look at the RTVI React SDK, which wraps all the functionality from this SDK in React helpers and hooks.
There are also RTVI SDKs for Android and iOS. Links to those are in the nav sidebar.