Absolutely! You can definitely use the LiveKit Python SDK directly for deterministic logic without needing an LLM. The SDK lets you handle real-time audio, video, and data streams with programmatic, rule-based processing. Here are a few cool things you can do:
•
Remote Procedure Calls (RPC): You can have participants in a room call functions directly—think math calculations or fetching data. For example, someone could set up an RPC method to calculate a square root and send back the result in a straightforward way.
•
Media Processing: You’re able to work with raw audio and video frames from participant tracks using your own custom logic, like filtering, transforming, or analyzing them. This comes in handy for things like noise cancellation or adding video overlays.
•
Server-Side Automation: The SDK’s API lets you programmatically manage rooms, sessions, and more—like creating rooms or dispatching agents—making automation smooth and easy.
The SDK is really built to support deterministic, logic-driven apps without needing an LLM. If you want, I’d be happy to help you set up a specific kind of deterministic agent—whether that’s a calculator bot, a media filter, or a data router. Just let me know!
Sources:
Large language model (LLM) integrations | LiveKit Docs |
LiveKit Docs |
livekit-rtc/README.md |
Processing raw media tracks | LiveKit Docs