This is a starter template for ElevenLabs Conversational AI Agents that provides a simple voice interface using the ElevenLabs Swift SDK.
This template is compatible with iOS, iPadOS, macOS, and visionOS and is free for you to use or modify as you see fit.
First, create a new public Conversational AI agent.
Replace publicAgentId in AppViewModel.swift with your public agent id.
Note: Be sure to enable the user transcript and agent response client events.
Built and run the app from Xcode by opening VoiceStarterKit.xcodeproj. You may need to adjust your app signing settings to run the app on your device.
In a production environment, you will be responsible for developing a solution to generate WebRTC tokens for your users, which is integrated with your authentication solution. Your should use non-public voice agents in production.
This template is open source and we welcome contributions! Please open a PR or issue through GitHub, and don't forget to join us in the ElevenLabs Community Slack.
