Skip to content

Latest commit

 

History

History
79 lines (56 loc) · 2.42 KB

File metadata and controls

79 lines (56 loc) · 2.42 KB

ElevenLabs Conversational AI Agents

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

Support Me

If you enjoy this project and want to support me, consider buying me a coffee or visiting my personal website to join the membership!

Prerequisites

  1. Visit ElevenLabs Conversational AI to create your agents.
  2. Copy the Agent ID that needs to be configured.
  3. Note this code uses signed URL so make sure you enable authentication for your agents.

Environment Variables

Make sure to configure the following variables in your .env file:

  • ELEVEN_LABS_API_KEY
  • NEXT_PUBLIC_AGENT_ID

Get Started

To get started with the project, follow these steps:

  1. Clone the repository:

    git clone <repository-url>
    cd elevenlabs-conversational-ai-agents
  2. Install the dependencies:

    npm install
    # or
    yarn install
    # or
    pnpm install
    # or
    bun install
  3. Run the development server:

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
    # or
    bun dev
  4. Open http://localhost:3000 in your browser to see the application in action.

Features

  • 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.

License

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.