If I want to do A/B testing of the app while hosti...
# ask-ai
c
If I want to do A/B testing of the app while hosting it on livekit cloud, how would i do it best so that i can have different interface points for users to test them individually?
t
Thanks for reaching out, Coste. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I understand you're looking for A/B testing options with LiveKit Cloud. While it doesn't have built-in A/B testing functionality, you can absolutely set it up using the tools and frameworks it offers. Here are some friendly suggestions to get you started: • Client-Side A/B Testing: You can assign users to different test groups using token metadata, then guide them to various interface versions based on their group. It’s a neat way to personalize their experience! • Room-Based Testing: Another approach is creating separate room configurations for each test variant and directing users accordingly. This can help you see how different setups perform. • Agent Configuration Testing: You might also try using different agent presets—like voice, personality, or response styles—for each group. It’s a great way to test what resonates best. To keep an eye on how things are going, you can use LiveKit Cloud’s dashboard to track key metrics like connection rates and session durations. Plus, if you want, you can add custom tracking to measure user engagement and satisfaction more closely. If there are particular interface elements or specific metrics you’re curious about, please feel free to share! I’d be more than happy to help you with some tailored advice.
c
how would i deploy different agents to unique access points/links or anything else, so that they can be easily tested? i dont need to group the users or anything, i need a way to deploy agents separately
t
To help you deploy different agents to unique access points or links for testing, here are some friendly methods you can try: • Agent Dispatch Configuration: You can specify agent names in your configuration to make sure only the agent you want gets dispatched. For example:
Copy code
body: JSON.stringify({
  room_config: appConfig.agentName ? {
    agents: [{ agent_name: appConfig.agentName }],
  } : undefined,
})
• Sandbox Deployment: Try deploying applications in sandbox mode to get unique, shareable URLs tailored for each agent configuration. • Agents Playground: Feel free to use the hosted playground at Agents Playground to easily test agents without needing to build a custom UI. • Room-Specific Dispatch: You can create agent dispatches for specific rooms, which helps to isolate your testing scenarios. • Namespaces: Deploying agents with different namespaces is a great way to achieve complete isolation. If you'd like more details or need a hand with any of these steps, just let me know—I'm here to help! Sources: test/agents.go | test/agent_test.go | Deploying to production | LiveKit Docs | Deploy and scale agents on LiveKit Cloud | Voice Assistant Applications | livekit/livekit_composite | DeepWiki