Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 BUDDY — Your Personal AI Assistant

"Just say it. Buddy does it."

Buddy is a personal AI desktop assistant designed to interact with you naturally and help control your computer through voice commands.

It is inspired by assistants like JARVIS, but built as a personal project with a focus on voice interaction, automation, bilingual communication, and computer control.


✨ Features

🎙️ Voice Assistant

Talk to Buddy naturally using your microphone.

  • Voice-to-text communication
  • AI-powered responses
  • Text-to-speech replies
  • Natural conversational interaction

🇮🇳 English + Hindi

Buddy can understand and communicate in:

  • 🇬🇧 English
  • 🇮🇳 Hindi
  • 🔀 Hinglish

Example:

You: "Buddy, YouTube kholo."

Buddy: "Sure! Opening YouTube."


👏 Double-Clap Activation

Buddy can be activated by clapping twice.

Instead of manually opening the assistant, simply:

👏 👏

Buddy detects the double clap and becomes ready for your command.

Example:

👏 👏

Buddy: "Yes? I'm listening."

You: "Open Chrome."

💻 Computer Control

Buddy is designed to interact with your computer and perform tasks through voice commands.

Examples:

"Buddy, open Chrome."

"Buddy, open YouTube."

"Buddy, play music."

"Buddy, open WhatsApp."

"Buddy, take a screenshot."

"Buddy, search for Python tutorials."

"Buddy, close Chrome."

As the project develops, Buddy can be expanded to control more parts of the operating system.


💬 WhatsApp & Instagram

Buddy can eventually work with supported web applications to help you interact with your messages.

Examples:

"Buddy, check my WhatsApp messages."

"Buddy, what messages did I receive?"

"Buddy, open Instagram."

"Buddy, check my Instagram chats."

⚠️ Access to private messages and automated actions depends on the APIs, browser automation capabilities, permissions, and security restrictions of each platform.


🧠 AI Brain

Buddy uses an AI model as its conversational brain.

The AI is responsible for:

  • Understanding natural language
  • Determining what the user wants
  • Generating responses
  • Choosing appropriate actions
  • Maintaining conversational context

A typical interaction looks like:

User
 ↓
Microphone
 ↓
Speech Recognition
 ↓
Buddy AI
 ↓
Intent / Command Detection
 ↓
Computer Action
 ↓
Voice Response

🏗️ Project Architecture

                    ┌─────────────────┐
                    │      USER       │
                    └────────┬────────┘
                             │
                     Voice / Double Clap
                             │
                             ▼
                    ┌─────────────────┐
                    │  Audio System   │
                    └────────┬────────┘
                             │
                             ▼
                    ┌─────────────────┐
                    │ Speech-to-Text  │
                    └────────┬────────┘
                             │
                             ▼
                    ┌─────────────────┐
                    │   BUDDY AI      │
                    │      BRAIN      │
                    └────────┬────────┘
                             │
              ┌──────────────┼──────────────┐
              │              │              │
              ▼              ▼              ▼
        Computer         Web Apps       Conversation
         Control        Automation          │
              │              │              │
              └──────────────┼──────────────┘
                             │
                             ▼
                    ┌─────────────────┐
                    │ Text-to-Speech  │
                    └────────┬────────┘
                             │
                             ▼
                         🔊 Buddy

🎨 User Interface

Buddy uses a dark, futuristic interface with a bloody-red / scary visual theme.

The interface can include:

  • 🔴 Animated AI core
  • 🎙️ Microphone status
  • 👂 Listening indicator
  • 💬 Conversation display
  • ⚡ Command status
  • 🧠 AI processing indicator
  • 👏 Clap detection indicator

Example states:

┌──────────────────────────────┐
│                              │
│          🔴 BUDDY            │
│                              │
│        ● LISTENING...        │
│                              │
│     "What can I do for you?" │
│                              │
└──────────────────────────────┘

🛠️ Suggested Technology Stack

Frontend

HTML
CSS
JavaScript

AI / Backend

Python

Possible Python Components

Speech Recognition
Text-to-Speech
Computer Vision / Audio Processing
OS Automation
AI API

Possible Automation

PyAutoGUI
subprocess
os
webbrowser

The exact libraries can be changed as the project evolves.


📁 Suggested Project Structure

BUDDY/
│
├── frontend/
│   ├── index.html
│   ├── style.css
│   └── script.js
│
├── backend/
│   ├── main.py
│   ├── assistant.py
│   ├── speech.py
│   ├── commands.py
│   ├── clap_detection.py
│   └── system_control.py
│
├── assets/
│   ├── sounds/
│   ├── images/
│   └── icons/
│
├── config/
│   └── config.json
│
├── .env
├── requirements.txt
└── README.md

🚀 How Buddy Works

Step 1 — Start Buddy

Launch Buddy from the desktop.

Step 2 — Wait for Activation

Buddy remains in standby mode.

BUDDY
● STANDBY

Step 3 — Double Clap

Clap twice:

👏 👏

Buddy detects the sound pattern.

● ACTIVATED

Step 4 — Give a Command

For example:

"Open YouTube."

Step 5 — Buddy Executes

Buddy interprets the command and performs the requested action.

Step 6 — Buddy Responds

"Done. YouTube is open."

🔐 Security

Because Buddy may eventually have access to your computer, security is extremely important.

Buddy should:

  • Ask for confirmation before dangerous actions
  • Never expose API keys
  • Store secrets in .env
  • Restrict sensitive commands
  • Avoid executing arbitrary AI-generated shell commands
  • Require explicit permission for important actions

Example:

You: "Delete this folder."

Buddy:
"This action may permanently delete files.
Do you want me to continue?"

You: "Yes."

Buddy:
"Confirmed."

📌 Roadmap

🟢 Phase 1 — Basic Buddy

  • Project concept
  • UI
  • Voice input
  • AI responses
  • Text-to-speech

🟡 Phase 2 — Computer Control

  • Open applications
  • Close applications
  • Browser control
  • Search web
  • Screenshot
  • File operations

🟠 Phase 3 — Smart Activation

  • Double-clap detection
  • Wake-word detection
  • Background operation
  • Listening status

🔴 Phase 4 — Social Apps

  • WhatsApp integration
  • Instagram integration
  • Message reading
  • Message sending
  • Notification handling

🟣 Phase 5 — Advanced Buddy

  • Long-term memory
  • Personal preferences
  • Multiple AI models
  • Advanced computer vision
  • Screen understanding
  • More powerful automation
  • Mobile application

⚠️ Disclaimer

Buddy is a personal AI assistant project.

Some capabilities, especially interacting with third-party platforms such as WhatsApp and Instagram, may require official APIs, user permissions, or browser automation and may be limited by those platforms' policies.

Always protect your credentials and personal information.


❤️ Vision

Buddy isn't supposed to be just another chatbot.

The goal is to build an assistant that feels like a real companion living inside your computer.

You talk.

Buddy listens.

You command.

Buddy acts.

              👏 👏

        "Yes, I'm listening."
                 
             BUDDY
              🔴

Built with ❤️, Python, AI & Automation

BUDDY — Your Personal AI Assistant

About

Buddy is a futuristic AI desktop assistant that understands English, Hindi, and Hinglish. It responds to voice commands, controls applications, automates tasks, and performs system actions. With double-clap activation and a dark, scary interface, Buddy provides a powerful, intelligent, and interactive personal AI companion for everyday computer use

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages