How Egma works with LiveKit agents
For Simulation
There are two ways to connect your livekit agent to egma:- Using project credentials - In this method, you need to put in your LiveKit WebSocket URL, API key, and API secret. When you trigger a simulation run - the egma platform automatically dispatches your agent to join the simulation room, conducts the conversation and reports . It automatically dispatches your agent and conducts the simulations.
- Using the token endpoint method - In this method you handle the dispatch of your livekit agent and give the Egma an API endpoint which it can call to get the required credentials to join the room and conduct the simulation.
- Voice - Conduct full voice to voice simulations. Invokes the entire pipeline and happens in real time.
- Chat - Invoke just the harness/ LLM components of your livekit agent. Good for testing core behaviors and runs faster than realtime but will not be able to catch voice level issues.