gifted-teacher-14973
11/16/2025, 1:49 AMtall-airline-16756
11/16/2025, 1:49 AMtall-airline-16756
11/16/2025, 1:49 AMLIVEKIT_URL, LIVEKIT_API_KEY, and LIVEKIT_API_SECRET. This helps everything stay in sync.
2. Run the Python Agent: Next, use the livekit-agents library to connect your agent to a LiveKit room. For instance, you can run python agent.py dev to get it going.
3. Run the Frontend: Then, build your frontend with a framework like React or Swift. Connect it to that same LiveKit room using the LiveKit JavaScript SDK so they can communicate smoothly.
4. Enable Real-Time Communication: To make sure media and data flow seamlessly, use WebRTC for media streaming and RPC for sharing data. For example, your agent can send structured data like transcriptions to the frontend through RPC.
5. Use Starter Templates: And to make things easier, LiveKit offers open-source starter templates for both Python agents and React frontends. These can really speed up your development process.
If you’d like to see some detailed examples, feel free to explore the Python agent starter and the React frontend starter. They’re great resources to guide you along the way.
Sources: complex-agents/note-taking-assistant/note-taker-frontend/README.md | README.md