This is a Next.js project that implements a conversational AI Agents using ElevenLabs' SDK. The application features a voice assistant interface that allows users to interact with the AI through voice commands.
ElevenLabs conversational-ai-sdks Document
If you enjoy this project and want to support me, consider buying me a coffee or visiting my personal website to join the membership!
- Visit ElevenLabs Conversational AI to create your agents.
- Copy the Agent ID that needs to be configured.
- Note this code uses signed URL so make sure you enable authentication for your agents.
Make sure to configure the following variables in your .env
file:
ELEVEN_LABS_API_KEY
NEXT_PUBLIC_AGENT_ID
To get started with the project, follow these steps:
-
Clone the repository:
git clone <repository-url> cd elevenlabs-conversational-ai-agents
-
Install the dependencies:
npm install # or yarn install # or pnpm install # or bun install
-
Run the development server:
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open http://localhost:3000 in your browser to see the application in action.
- Voice Assistant: Interact with the AI using voice commands.
- Real-time Messaging: View messages exchanged between the user and the AI.
- Transcript Download: Download the conversation transcript as a text file.
- Responsive Design: The application is designed to work on various screen sizes.
This project is licensed under the MIT License. For more details, please refer to the LICENSE file, which outlines the terms and conditions of this license.