
LiveKit Inference
You can use Cartesia’s models on LiveKit’s infrastructure. API keys and pricing are managed by LiveKit rather than Cartesia.Open source plugins
These are plugins that can be used with the open-source LiveKit Agents packages.Python
You can use Cartesia with Python LiveKit Agents by installing thelivekit-plugins-cartesia package.
If needed, you can the source code of the plugin in the /livekit-plugins/livekit-plugins-cartesia directory of the livekit/agents repo.
Ink 2 requires
livekit-plugins-cartesia>=1.5.15. Older versions will produce poor results without raising runtime errors.Setting up the Python plugin in your own agent
To get started, first install the main livekit-agents package as well as livekit-plugins-cartesia:Running a Python example
Check out /examples/other/cartesia.py in thelivekit/agents repo for a fully working conversational agent.
Node.js
You can use Cartesia with Node.js LiveKit Agents by installing the@livekit/agents-plugins-cartesia package.
If needed, you can reference the source code of the plugin in the /plugins/cartesia directory of the livekit/agents-js repo.
LiveKit Agents is not feature complete in Node.js. You should probably stick to Python for “serious” voice agents.
Setting up the Node.js plugin in your own agent
To get started, first install the main @livekit/agents package as well as @livekit/agents-plugins-cartesia:Running a Node.js example
Check out /examples/src/cartesia.ts in thelivekit/agents-js repo for a fully working conversational agent.
Demo
LiveKit Cartesia Demo
Try out a simple voice assistant built with LiveKit Agents and Cartesia.