Skip to content
프로젝트

소개

VYOM (Virtual Yet Omnipotent Machine) is a futuristic AI-powered personal assistant , inspired by J.A.R.V.I.S. from Iron Man. Designed to simplify your digital life, VYOM uses advanced language models and browser automation to handle complex tasks with simple voice or text commands.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

🤖 VYOM – Virtual Yet Omnipotent Machine

VYOM Banner

Python Version MIT License Contributions Welcome SWOC'26

🚀 A Futuristic AI-Powered Personal Assistant Inspired by J.A.R.V.I.S.


🏗️ Technical Architecture

VYOM is built on a Modular Multi-Threaded Architecture. Unlike linear assistants, VYOM decouples peripheral I/O (Voice/Listen) from core logic (NLP/Action) to prevent UI freezing and ensure real-time responsiveness.

System Flow & Data Lifecycle

The following diagram illustrates how a voice command propagates through the modular layers:

graph TD
    subgraph Input_Layer [Perception]
        A[🎤 Voice Input] -->|PyAudio / SpeechRecognition| B(Audio Stream)
        B -->|Whisper / Google API| C{Speech-to-Text}
    end

    subgraph Brain_Layer [Processing]
        C -->|Raw Text| D[🧠 NLP Engine]
        D -->|Intent Extraction| E{Action Router}
    end

    subgraph Execution_Layer [Action]
        E -->|System Cmd| F[OS Controller]
        E -->|Web Query| G[Browser Automation]
        E -->|API Call| H[Weather/IoT/News]
    end

    subgraph Output_Layer [Feedback]
        F & G & H --> I[🗣️ TTS Engine]
        I --> J[🔊 Speaker Output]
    end

🧠 Multi-Threading Logic

To maintain the "Always Listening" capability while executing heavy AI tasks, VYOM utilizes Python's threading and asyncio modules:

  • Thread 1 (Listener): Continuously monitors the microphone for the wake word.
  • Thread 2 (Processor): Handles API calls to Groq/Cohere without blocking the listener.
  • Thread 3 (Executor): Manages OS-level tasks and GUI updates.

🛠️ Technologies Used

Category Technologies
🐍 Core Language Python
🤖 AI Models Groq Cohere
⚡ Performance Asyncio Threading
🧠 NLP Custom Pipeline

⚡ Quick Start

Get VYOM running in under 5 minutes!

# Clone the repository
git clone https://github.com/th-shivam/vyom.git
cd vyom

# Create and activate virtual environment
# Windows:
python -m venv .venv
.venv\Scripts\activate
# Mac/Linux:
python3 -m venv .venv
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

Then add your API keys and run:

python main.py
## 📂 Project Structure
For SWOC contributors, please refer to this modular map before submitting PRs:
```plaintext

│
├── Backend/                           # Core backend logic for the assistant
│   │
│   ├── Automation.py                  # Handles task automation (system tasks, workflows)
│   ├── ChatBot.py                     # Manages chatbot logic and conversational flow
│   ├── ImageGeneration.py             # Generates images using AI models/APIs
│   ├── Model.py                       # Loads and manages AI/ML models
│   ├── Productivity.py                # Productivity features (notes, reminders, utilities)
│   ├── RealTimeSearchEngine.py        # Performs real-time web/search queries
│   ├── SpeechToText.py                # Converts spoken audio input into text
│   └── TextToSpeech.py                # Converts text responses into spoken audio
│
├── Frontend/                          # User interface and client-side logic
│   │
│   ├── Files/                         # Runtime data and application state storage
│   │   │
│   │   ├── Database.data              # Stores persistent application data
│   │   ├── ImageGeneration.data       # Stores image generation history/results
│   │   ├── Mic.data                   # Stores microphone state and audio metadata
│   │   ├── Responses.data             # Stores chatbot responses
│   │   └── Status.data                # Tracks application and system status
│   │
│   ├── Graphics/                      # UI assets and visual resources
│   │   │
│   │   ├── Chats.png                  # Chat interface icon/image
│   │   ├── Close.png                  # Close window button icon
│   │   ├── GUI.py                     # GUI layout logic using graphical assets
│   │   ├── Home.png                   # Home screen icon/image
│   │   ├── Mic_off.png                # Microphone disabled icon
│   │   ├── Mic_on.png                 # Microphone enabled icon
│   │   ├── Minimize.png               # Minimize window icon
│   │   ├── maximize.png               # Maximize window icon
│   │   ├── minimize2.png              # Alternate minimize icon
│   │   ├── settings.png               # Settings icon
│   │   ├── VYOM.jpeg                  # Project logo / branding image
│   │   └── jarvis.gif                 # Animated assistant graphic
│   │
│   ├── automation/                    # Frontend automation tests
│   │   └── test_gui.py                # Automated tests for GUI behavior
│   │
│   ├── playwright_tests/              # Playwright-based UI testing
│   │   ├── homepage.png               # Screenshot of homepage during tests
│   │   ├── index.html                 # Static test page for UI validation
│   │   └── test_gui.py                # Playwright test cases for GUI
│   │
│   ├── tests/                         # Frontend test specifications
│   │   └── test_issue4.spec.js        # Test case for reported issue #4
│   │
│   ├── GUI.py                         # Main frontend GUI controller
│   └── test_gui.py                    # Manual/functional GUI test script
│
├── config/                            # Configuration and environment settings
│   │
│   ├── __init__.py                    # Marks config as a Python package
│   └── settings.py                   # Centralized configuration variables
│
├── utils/                             # Shared utility functions
│   │
│   ├── logger.py                     # Logging utilities for debugging and monitoring
│   └── memory.py                     # Memory management and context handling
│
├── .env.example                       # Sample environment variables file
├── .gitignore                         # Files and folders ignored by Git
├── CODE_OF_CONDUCT.md                 # Community guidelines and behavior rules
├── CONTRIBUTING.md                    # Contribution guidelines for developers
├── LICENSE                            # Project licensing information
├── README.md                          # Project overview and documentation
│
├── main.py                            # Application entry point
├── requirements.txt                  # Python dependencies list
│
├── test_logger.py                    # Unit tests for logger utility
└── test_memory.py                    # Unit tests for memory utility

🛠️ Installation & Setup

Prerequisites

  • Python 3.13+
  • FFmpeg (Required for audio processing)
  • C++ Build Tools (Required for PyAudio on Windows)

🐧 Linux/Mac Setup (Audio Dependencies) Most setup errors occur due to missing audio driver headers. Run the following before pip install:

  • For Ubuntu/Debian:
sudo apt-get update
sudo apt-get install python3-pyaudio portaudio19-dev libasound2-dev espeak
  • For macOS:
brew install portaudio
pip install pyaudio

📦 Standard Installation

1. Clone & Environment

git clone [https://github.com/th-shivam/vyom.git](https://github.com/th-shivam/vyom.git) && cd vyom
python -m venv .venv
source .venv/bin/activate  # Mac/Linux
# .venv\Scripts\activate   # Windows

2. Install & Run

pip install -r requirements.txt
python main.py

🤝 Contributing

We are proud to be an official part of Social Winter of Code (SWOC) 2026! 🚀

We welcome contributors of all skill levels. To ensure a smooth collaboration, please identify your path:

  • 🌱 Beginners: Look for issues labeled good-first-issue and documentation. Perfect for your first PR!
  • 🛠️ Advanced: Check for modular-enhancement and threading-optimization to work on the core engine.

🛣️ Quick Workflow

  1. Fork the repository and create your branch.
  2. Follow the PEP 8 style guide for Python code.
  3. Ensure your module is placed in the correct directory (see Project Structure).
  4. Open a PR with a clear description of your changes.

📋 Full Contributing Guide | 🏗️ Architecture Deep Dive


📄 License

This project is licensed under the MIT License. You are free to use, modify, and distribute this software, provided the original copyright and license notice are included.

TL;DR: Open-source, permissive, and community-friendly.

See the LICENSE file for the full legal text.


If you find VYOM helpful, don't forget to give it a ⭐!

VYOM v2.0 • Built with 🐍 Python • Focused on 🏗️ Modular Architecture

⬆ Back to Top

✨ README Improvement Notes

📌 Formatting Enhancements Needed

  • Improve heading hierarchy for better readability
  • Ensure consistent spacing between sections
  • Use proper Markdown formatting for code blocks and lists
  • Align all installation and usage steps properly

🚀 Suggested Structure Upgrade

  • Introduction
  • Features
  • Tech Stack
  • Installation
  • Usage
  • Project Structure
  • Contribution Guidelines
  • License

🛠️ Documentation Improvements

  • Add badges (optional): build, license, contributors
  • Add screenshots for better UI understanding
  • Standardize code blocks for commands

🎯 Goal

Improve onboarding experience for new contributors and users by making README more structured, readable, and professional.

관련 프로젝트 살펴보기

불러오는 중…