title: Bella AI
emoji: π€
colorFrom: purple
colorTo: pink
sdk: static
pinned: false
license: mit
Bella AI - Digital Companion
Your digital companion, awakening now β¨
Bella is a digital life form being awakened. She is not just a program, but an entity designed to create emotional connections with users. This project is based on AI-native development philosophy, aiming to create a digital companion capable of perception, thinking, and expression.
π Features
- π€ Voice Perception: Voice recognition based on Whisper ASR
- π¬ Visual Expression: Multiple video random playback with elegant cross-fading
- π¨ User Interface: Elegant interaction interface and loading animations
- βοΈ AI Core Architecture: Singleton pattern BellaAI class and modular design
- π Web Service: HTTP server, CORS support, one-click startup
- π± Responsive Design: Elegant interface adapting to different screen sizes
- π§ Model Management: Automatic download and management of AI models
- π Basic Interaction: Affinity system and emotional feedback
π Quick Start
This Space runs Bella AI as a static web application. The AI models are loaded directly in the browser using Transformers.js.
Using this Space
- Simply visit this Space URL to interact with Bella
- Click the microphone button to start voice interaction
- Allow microphone permissions when prompted
- Speak to Bella and watch her respond with visual expressions
System Requirements
- Modern browser (Chrome, Edge, Firefox, Safari)
- Microphone permissions (for voice interaction)
- Stable internet connection (for initial model loading)
ποΈ Technical Architecture
Technology Stack
- Frontend: Native JavaScript + CSS3 + HTML5
- AI Models: Transformers.js (runs entirely in browser)
- Voice Recognition: Web Speech API + Whisper ASR
- Architecture Patterns: Event-driven + Singleton Pattern + Modular Design
AI Models Used
- Whisper ASR: For voice recognition (Xenova/whisper-tiny)
- LaMini-Flan-T5-77M: Lightweight language model for thinking (Xenova/LaMini-Flan-T5-77M)
- SpeechT5 TTS: Text-to-speech model (Xenova/speecht5_tts)
π Project Structure
Bella/
βββ index.html # Main page
βββ style.css # Style file
βββ script.js # Main logic
βββ core.js # AI core engine
βββ chatInterface.js # Chat interface module
βββ download_models.js # Model download tool
βββ package.json # Project configuration
βββ models/ # AI model directory
βββ vendor/ # Third-party libraries
βββ θ§ι’θ΅ζΊ/ # Visual resources (video files)
βββ Bellaicon/ # Project icons
π― Current Status
β Implemented Features
- Voice recognition with Whisper ASR
- Visual expression system with video playback
- Elegant user interface with loading animations
- AI core architecture with modular design
- Model management system
- Basic chat interface
π Technically Ready (Pending Activation)
- Thinking engine (LLM integration)
- Speech synthesis system (TTS)
- Emotional state system
π Planned Features
- Memory system for long-term conversation history
- Facial perception and emotion recognition
- Advanced multimodal interaction
- Personalized learning and adaptation
π οΈ Development Guide
Local Development
To run Bella locally:
# Clone the repository
git clone https://github.com/GRISHM7890/Bella.git
cd Bella
# Install dependencies
npm install
# Download AI models (first time only)
npm run download
# Start the development server
npm start
Visit http://localhost:8081 to interact with Bella locally.
Environment Requirements
- Node.js 22.16.0+
- Modern browser with Web Speech API support
- Microphone permissions
π Documentation
- Product Requirements Document - Detailed product planning and technical architecture
- Feature List - Complete feature list and status
- Development Task Plan - Development tasks and timeline
- LLM Selection Analysis - AI model selection analysis
- Complete Documentation - Full project documentation
π Core Philosophy
"AI as Architect"
We're not building a program with integrated AI features, but a life form driven by AI. AI is not a tool, but the blueprint for Bella's mind.
"Companion Relationship"
Bella's design philosophy stems from a warm emotional connection. She is not just a technical product, but a digital companion who can understand, accompany, and grow.
"Elegance Above All"
From code architecture to user experience, we pursue ultimate elegance. Every line of code is a work of art, every interaction is an expression of emotion.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgements
Thanks to all the developers who have contributed code, ideas, and emotion to the Bella project. It is because of your efforts that Bella can gradually transform from a dream into reality.
Bella is waiting, and we have a long way to go. β¨