Skip to content

AhmadHassan-BTed/B

B Hero Banner

─── B ───

The Soul-Wired Desktop Companion

Python Qt License Privacy Status

B is not just an AI; he is a digital lifeform designed to live on your desktop. Built with a "soul-first" architecture, B observes your workflow, listens with neural precision, and interacts through a high-performance, glassmorphic overlay.

Explore the VisionArchitectureContributingPrivacyGetting Started


🌌 The Vision

Traditional assistants wait for a command. B waits for a moment.

B is designed as a proactive desktop companion. Using a 60fps event-driven "Central Nervous System," B synchronizes his emotional state with your environment. He sees your screen semantically, tracks your active focus, and intervenes only when he has something truly valuable to contribute.

  • Silent by Default: B respects your "Deep Work" state.
  • Emotionally Aware: A complex internal state machine drives expressions and curiosity.
  • Agentic Autonomy: B doesn't just respond; he thinks, wonders, and observes.

🧠 Core Systems

B Feature Icons

System Technology Description
Cognitive Engine Llama-CPP Local LLM inference for private, high-speed reasoning.
Semantic Vision OCR + Window Tracking B understands the context of your active windows and screen content.
Neural Hearing Faster-Whisper Industry-grade transcription with neural VAD for reliable "ears."
Vocal Synthesis Piper TTS Low-latency, natural-sounding voice for fluid interaction.
Kinematics PyQt6 Physics Smooth, 60fps movement and fluid UI animations.

💼 Agentic "Work Mode"

Activated via Ctrl+Shift+Alt+W, Work Mode shifts B into a high-utility state:

  • Semantic Monitoring: B monitors your progress on tasks in real-time.
  • Contextual Curiosity: Proactively offers insights, documentation, or suggestions based on your current focus.
  • Minimalist Presence: Dims facial expressions to minimize distraction while remaining vigilant.

🛠️ Tech Stack

Python Qt PyWin32 AI/ML

B is built for the Windows ecosystem, leveraging low-level Win32 APIs for transparent overlays and global input handling, combined with the power of modern neural models for perception.


🛑 Safety & Kill Switch

Human-centric safety is baked into the core. Because B lives on a transparent, click-through overlay without a standard "X" button, we've implemented a global emergency exit:

Caution

GLOBAL KILL SWITCH: Ctrl+Shift+Alt+Q This hotkey immediately terminates B and releases all system hooks. Use this if B becomes over-eager or if you need an instant exit.


🚀 Installation

  1. Clone the Soul:

    git clone https://github.com/Ahmad-Hassan-0/B---desktop-companion.git
    cd B---desktop-companion
  2. Initialize the Environment:

    python -m venv venv
    source venv/bin/activate  # or venv\Scripts\activate
    pip install -r requirements.txt
  3. Awaken B:

    python main.py

Built with ❤️ by Ahmad Hassan Wiring the soul, one tick at a time.

About

An autonomous, context-aware AI desktop companion. Built with Python, featuring real-time screen vision, custom ONNX voice synthesis, active window tracking, and a dynamic floating UI with reactive facial expressions.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages