An interactive conversational AI platform that enables users to engage in insurance consultations with AI insurance experts for India and Singapore. Built with ElevenLabs Conversational AI SDK, this application features multiple AI insurance advisors with distinct insurance packages and expertise areas.
- Single Interface Mode: Clean, professional dashboard interface for insurance consultations
- Insurance Consultation: Get personalized investment advice and insurance insights
- Real-time Voice Conversation: Powered by ElevenLabs' advanced voice AI technology
- Video Avatars: High-quality video representations of each insurance expert
- Speaking Indicators: Visual feedback showing when AI experts are responding
- Responsive Design: Works seamlessly across desktop and mobile devices
- Akshat: Singapore Expert - Specialized on Singapore insurance area
- Vanilla JavaScript with modern ES6+ features
- Webpack for module bundling and development server
- CSS3 with responsive glassmorphic design patterns
- Multi-language Support with Unicode text rendering
- HTML5 with semantic structure and accessibility features
- Node.js/Express server for API endpoints with language routing
- ElevenLabs API integration for multi-language conversational AI
- Environment-based Configuration for secure API key management
- CORS enabled for cross-origin requests
- Real-time Voice Processing with ElevenLabs SDK
- Language-specific Agent Routing based on user selection
- Cultural Context Awareness in AI responses
Before running this application, ensure you have:
- Node.js (version 18 or higher)
- ElevenLabs API Key - Get your key here
- Git for cloning the repository
git clone https://github.com/Finance-LLMs/Conversational-Insurance-Agents.git
cd Conversational-Insurance-AgentsCreate a .env file in the root directory and configure your API keys:
# Windows
notepad .env
# Linux/macOS
vim .envAdd the following environment variables:
API_KEY=`your_api_key`
# Country-specific Agent
SINGAPORE_AGENT_ID=`singapore_agent_id` # Akshat - SingaporeFrontend Dependencies:
npm installOption A: Node.js Backend (Recommended)
npm startOption B: Development Mode with Hot Reload
npm run devOpen your browser and navigate to:
http://localhost:3000
- Access the Dashboard: Open the application to see the Conversation Insurance Agents
- Select Advisor: Choose the available AI insurance advisor (Akshat for Singapore)
- Start Consultation: Click "Start Insurance Consultation" to begin your voice conversation
- Insurance Discussion: Ask questions about different insurance policies, the evolving area of insurance or seek insurance advice
- End Session: Click "End Consultation" when finished
Conversational-Insurance-Agents/
├── backend/
│ └── server.js # Express.js server with multi-language routing
├── src/
│ ├── index.html # Main dashboard with language selection
│ ├── app.js # Core application logic
│ ├── styles.css # Global styles with responsive design
│ └── videos/ # Expert video avatars
│ └── akshat.mp4 # Akshat video
├── dist/ # Webpack build output
├── .env # Environment variables (not committed)
├── .gitignore # Git ignore rules
├── package.json # Node.js dependencies and scripts
├── webpack.config.js # Webpack configuration
└── README.md # This file
npm start- Build and run production servernpm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run start:backend- Start only the Node.js backend
- Follow modern JavaScript ES6+ standards
- Maintain responsive design principles across all screen sizes
- Ensure multi-language support and Unicode text handling
- Test across different browsers, devices, and language settings
- Maintain SEBI compliance and educational disclaimers
- Ensure API key security and never commit secrets to version control
- Follow cultural sensitivity guidelines for multi-language content
This project is licensed under the MIT License - see the LICENSE file for details.