Built with Modern Full Stack Development + Generative AI Architecture
Orbit AI Personal Assistant is an intelligent AI-powered companion designed to provide personalized conversations, maintain deep user context, and evolve into a complete personal AI agent.
Unlike traditional stateless chatbots, Orbit AI focuses on:
- Conversational Intelligence: Natural, context-aware dialogues.
- User Personalization: Adapts to your preferences and style.
- Long-term Memory: Remembers important facts, goals, and technical stacks across sessions.
- Scalable Architecture: Built on a robust microservices-inspired foundation.
The Vision: To build a Jarvis-like personal AI assistant capable of deeply understanding users, autonomously managing information, and streamlining daily tasks.
- Features
- System Architecture
- Tech Stack
- Project Structure
- Installation & Setup
- Environment Variables
- Roadmap & Vision
- Contributing
- License & Author
- Real-time AI conversations via Groq API (Llama 3.3 70B).
- Multiple persistent chat sessions.
- Rich message formatting with typing indicators and timestamps.
- Complete conversation management (Rename, Delete, Clear).
- Secure JWT-based registration and login.
- Support for both Email and Username identifiers.
- Persistent, protected sessions.
flowchart LR
A([User]) -->|Register/Login| B(Backend API)
B -->|Issues JWT| C{Protected App}
C -->|Grants Access| D([Orbit AI Dashboard])
Orbit AI provides a personalized user profile management system that allows users to customize and manage their identity within the platform.
Features:
- Update personal information (Name, Username).
- Dynamic avatar management with automatic cloud storage integration.
- Secure image handling through Cloudinary.
- Real-time UI synchronization via React Context architecture (no page reload required).
Orbit AI includes an intelligent memory architecture designed to understand, store, and retrieve important user context for creating personalized AI conversations.
Memory Categories:
| Category | Description |
|---|---|
| Personal | User identity and personal details |
| Education | Academic background and learning information |
| Goals | User objectives, ambitions, and future plans |
| Skills | Programming skills and technical abilities |
| Technology | Tools, frameworks, and technologies user works with |
| Projects | User projects and development activities |
| Preferences | User choices, interests, and interaction preferences |
Memory Pipeline:
flowchart TD
A[/User Message/] --> B[Memory Extractor]
B --> C{Memory Validator}
C -->|Valid| D[Importance Scoring]
D --> E[Memory Categorization]
C -->|Invalid| X((Discard))
E --> F[(MongoDB Vector Storage)]
F -.->|Context Retrieval| G[Personalized AI Response]
flowchart TD
subgraph Client
A[React Frontend<br/>Vite + Context API]
end
subgraph Backend Services
B[Node.js Backend<br/>Express API + Multer]
D[Python AI Service<br/>FastAPI + LangChain]
end
subgraph External Services
C[(MongoDB Atlas)]
E[Groq LLM<br/>Llama 3.3 70B]
S[Cloudinary<br/>Storage]
end
A <-->|REST API / JWT| B
B <-->|CRUD| C
B -->|Uploads| S
A <-->|Chat Prompts| D
D <-->|Generates Output| E
D <-->|Memory I/O| C
Orbit AI is built using modern full-stack and AI technologies to provide a scalable, intelligent, and personalized AI assistant experience.
| Domain | Technologies |
|---|---|
| π¨ Frontend | React, Vite, React Router, Context API, Bootstrap 5, Axios, CSS3 |
| βοΈ Backend | Node.js, Express.js, JWT Authentication, Multer, Helmet, CORS |
| π§ AI Service | Python, FastAPI, Groq API (Llama 3.3 70B), LangChain |
| ποΈ Storage | MongoDB Atlas, Mongoose, Cloudinary |
Orbit-AI/
βββ frontend/ # React UI Client
β βββ src/
β β βββ components/ # Reusable UI parts
β β βββ context/ # Global state
β β βββ pages/ # Main views
β β βββ services/ # API integration
β βββ package.json
β
βββ backend/ # Node.js REST API
β βββ src/
β β βββ controllers/ # Route logic
β β βββ middlewares/ # JWT, Multer
β β βββ models/ # Mongoose schemas
β β βββ routes/ # API endpoints
β βββ package.json
β
βββ ai_service/ # Python FastAPI Microservice
βββ chains/ # LLM logic
βββ memory/ # Memory extraction engine
βββ routes/ # FastAPI routes
βββ requirements.txt
Follow these steps to run Orbit AI locally.
Before starting, make sure you have installed:
- Node.js (v18+ recommended)
- npm
- Python (v3.10+ recommended)
- MongoDB Atlas account
- Cloudinary account
- Groq API Key
git clone [https://github.com/riturajlabs/Orbit-AI.git](https://github.com/riturajlabs/Orbit-AI.git)
cd Orbit-AIOpen a terminal and navigate to the frontend directory:
cd frontend
npm installCreate a .env file in the frontend/ directory and add:
VITE_API_URL=http://localhost:5000
VITE_AI_SERVICE_URL=http://localhost:8000Start the frontend development server:
npm run devFrontend runs on http://localhost:5173
Open a new terminal and navigate to the backend directory:
cd backend
npm installCreate a .env file in the backend/ directory and add:
PORT=5000
NODE_ENV=development
MONGODB_URI=your_mongodb_atlas_connection_string
JWT_SECRET=your_jwt_secret
JWT_EXPIRES_IN=7d
GROQ_API_KEY=your_groq_api_key
AI_SERVICE_URL=http://localhost:8000
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_cloud_api_key
CLOUDINARY_API_SECRET=your_cloud_api_secretStart the backend server:
npm run devBackend runs on http://localhost:5000
Open another terminal and navigate to the AI service directory:
cd ai_serviceCreate and activate a virtual environment, then install dependencies:
# Create virtual environment
python -m venv venv
# Activate (Linux/macOS)
source venv/bin/activate
# Activate (Windows)
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtCreate a .env file in the ai_service/ directory and add:
GROQ_API_KEY=your_groq_api_key
MONGODB_URI=your_mongodb_atlas_connection_stringRun the AI service:
python app.pyAI Service runs on http://localhost:8000
After starting all three services, verify they are running successfully:
| Service | Address / Status |
|---|---|
| Frontend | http://localhost:5173 |
| Backend API | http://localhost:5000 |
| AI Service | http://localhost:8000 |
| Database | MongoDB Atlas Connected |
| File Storage | Cloudinary Connected |
π Orbit AI is now running locally!
Orbit AI v1.0 focuses on building a secure, personalized AI assistant foundation.
- Secure JWT Authentication
- Real-time AI Chat & Conversation History
- User Profile Management & Cloud Avatar Storage
- MongoDB Atlas Database Integration
- Core AI Memory Architecture
π§ Orbit AI v2.0 β Advanced Knowledge System
- RAG Pipeline & Document Uploads
- Personal Vector Knowledge Base
- Enhanced Semantic Context Retrieval
π€ Orbit AI v3.0 β AI Agent System
- Tool Calling & Web Search Integration
- Task Automation & Calendar Synchronization
- Email Assistant Capabilities
πΈ Orbit AI v4.0 β The Jarvis Vision
- Multi-modal AI (Voice & Vision)
- Real-time Conversational Voice Interface
- Local Computer Control & Smart Home Integration
Evolution Path:
flowchart LR
A(Chatbot) --> B(Personal Assistant)
B --> C(AI Agent)
C --> D{Jarvis-like AI System}
style D fill:#23c58e,stroke:#fff,stroke-width:2px,color:#fff
Contributions, issues, and feature requests are welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m "Add some AmazingFeature") - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE file for more information.
Ritu Raj
B.Sc Artificial Intelligence & Machine Learning Student | Full Stack Developer | AI Enthusiast
- GitHub: @riturajlabs
- Linkedin: @riturajlabs
β If you like this project, consider dropping a star on the repository!
Built with β€οΈ by riturajlabs