Skip to content

Examples of node based micro-services that handle interacting with Agora's Conversational AI RESTful API.

License

Notifications You must be signed in to change notification settings

AgoraIO-Community/convo-ai-node-server-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agora ConvoAI Node Server Examples

This repo contains implementations of Agora's Conversational AI RESTful API using Node.js and your choice of server (Express.js or Fastify).

What is Agora ConvoAI?

Agora's Conversational AI Engine allows you to integrate real-time voice conversations with AI agents into your applications. Users can have natural, voice-based interactions with AI instead of typing text prompts.

Key Features

  • Choose your own LLM provider endpoint (OpenAI, Anthropic, Llama, Custom, etc.)
  • Configure your Text-to-Speech provider (Microsoft Azure or ElevenLabs)
  • Invite/remove agents within voice channels

Architecture

Architecture diagram of Conversational Ai by Agora and OpenAi

Build your own server

To learn how to build your own server from scratch, follow the detailed step-by-step guides:

Run the existing servers

  1. Choose your preferred server implementation:

    • For Express.js implementation, navigate to the /express directory
    • For Fastify implementation, navigate to the /fastify directory
  2. Follow the setup instructions in the README.md file within your chosen implementation's directory.

Prerequisites

  • Node.js (v18 or higher)
  • An Agora account with Conversational AI service activated
  • API keys for LLM provider
  • API keys for TTS services (Microsoft Azure or ElevenLabs)

Documentation

About

Examples of node based micro-services that handle interacting with Agora's Conversational AI RESTful API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published