Jarvis AI is a next-generation voice assistant that combines OpenAI's powerful language models with advanced speech technologies to create remarkably natural conversations. With contextual memory and adaptive learning, Jarvis evolves to understand your preferences and needs over time.
Human-like conversations powered by advanced speech recognition and neural text-to-speech
Node.js 18+ → Express.js → OpenAI API → MongoDB
↓
Speech Services → Google TTS → Microsoft Speech SDK → Local Fallback
React + TypeScript → Material UI → Redux Toolkit
- Node.js v18+
- MongoDB (local or Atlas)
- API keys for:
- OpenAI
- Google Cloud (for TTS)
- Microsoft Cognitive Services (optional)
# Clone the repository
git clone https://github.com/Lagadnakul/Jarvis-AI.git
# Install dependencies
cd Jarvis-AI/backend
npm install
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Start development server
npm run dev
# Verify server
curl http://localhost:5000/health
Endpoint | Method | Description |
---|---|---|
/api/ai/process |
POST | Send voice/text commands to AI |
/api/ai/stop-speaking |
POST | Stop text-to-speech output |
/api/ai/voices |
GET | Get available TTS voices |
/health |
GET | Check server status |
// Process a command with Jarvis
const response = await fetch('http://localhost:5000/api/ai/process', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
command: 'What's the weather today?',
userId: 'user-123'
})
});
const data = await response.json();
console.log(data);
Create a .env
file with these variables:
PORT=5000
NODE_ENV=development
MONGODB_URI=your_mongodb_connection_string
OPENAI_API_KEY=your_openai_api_key
GOOGLE_APPLICATION_CREDENTIALS=path/to/google-credentials.json
MICROSOFT_SPEECH_KEY=your_microsoft_speech_key
MICROSOFT_SPEECH_REGION=your_region
🌐 Web Interface | 📱 Mobile App | 🏠 Smart Home |
🗣️ Custom Voice | 🌍 Multi-language | 📅 Scheduling |
Contributions make Jarvis better! Here's how:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
See our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for their revolutionary language models
- MongoDB for the flexible database solution
- Express.js for the robust backend framework