Cartesia plugin for LiveKit Agents
The Agents Framework is designed for building realtime, programmable
participants that run on servers. Use it to create conversational, multi-modal
voice agents that can see, hear, and understand.
This package contains the Cartesia plugin, which allows for voice synthesis.
Refer to the documentation for
information on how to use it, or browse the API
reference.
See the repository for more information
about the framework as a whole.
Troubleshooting
If you see AggregateError / ETIMEDOUT on the first Cartesia connection in Node.js (often due to IPv6/IPv4 “happy eyeballs”), you can mitigate it by:
- Setting a longer Node autoselection attempt timeout (example):
NODE_OPTIONS="--network-family-autoselection-attempt-timeout=5000"
- Increasing the agent session TTS connect timeout via
connOptions.ttsConnOptions.timeoutMs