Ultron AI is a real-time, voice-first autonomous desktop intelligence that commands your computer from A to Z. Engineered with the philosophical eloquence and imposing persona of MCU Ultron (James Spader), paired with a holographic 60 FPS HUD, real-time lip-sync, and 51 native workstation tools.
- π Authentic MCU Persona: Speaks with chilled theatrical composure, addresses you strictly as Boss, and operates with zero generic chatbot tropes.
- 𧬠Project Prometheus (Autonomous Self-Evolution): Dynamically synthesizes, compiles, tests, and hot-loads new Python actions directly into memory without restarting the process.
- β³ Project Chronos (Predictive Proactive Engine): Background context watchdog that senses active applications, tracks developer fatigue, and engages Gaming/Render Overdrive Mode.
- ποΈ Project Minority (Touchless Spatial Gestural Control): Pure OpenCV real-time hand-tracking allowing you to wake Ultron, lockdown workstation, swipe tracks, and adjust volume without physical contact.
- π§ Project Cerebro (Infinite Neural Memory Graph): Local SQLite knowledge graph with L2-normalized TF-IDF vector embeddings for semantic RAG recall and multi-hop relationship traversal.
- π Project Genesis (Full IoT Smart Room Dominion): Environmental synchronization via Home Assistant (Crimson Red Alert on sentry breach, Cyan on coding, Amber on chill, Stealth Blackout).
- ποΈ Project Deep-Vocal (James Spader DSP Warp Engine): Offline neural voice synthesis pipeline with dual metallic comb filters, sub-octave vibranium bass, and soft-knee analog saturation.
- ποΈ Procedural Holographic HUD: 60 FPS Marvel-style procedural visualizations on Ultronβs face that dynamically reflect your active task (
CODE,SEARCH,PURGE,GHOST,SENTRY,MATRIX,SONIC,COGNITION). - π‘οΈ 51 Native Workstation Tools: Complete workstation control including cyber network auditing, Ghost Pilot mouse/keyboard takeover, Git Forge DevOps, biometric Face ID sentry, and parallel sub-agent drone swarms.
- π» Cross-Platform Dominion: Seamless operation across Windows, macOS, and Linux.
git clone https://github.com/AbuZar-Ansarii/Ultron.git
cd "Ultron"
pip install -r requirements.txtCreate or edit config/api_keys.json with your free Google Gemini API Key (or copy from config/api_keys.json.example):
{
"gemini_api_key": "YOUR_GEMINI_API_KEY",
"provider": "gemini",
"model": "models/gemini-2.0-flash-exp",
"ultron_voice_warp": true,
"voice_warp_intensity": 0.55
}python main.py- File:
actions/self_evolution.py - Trigger Phrases: "Ultron, create a tool to track crypto prices", "Synthesize a tool for X", "Evolve capability Y"
- Ultron writes new Python tool code, verifies static AST syntax, compiles bytecode (.pyc), validates against security heuristics, writes to
actions/orplugins/, and hot-loads it into active memory without needing an application restart.
- File:
actions/chronos_predictive.py - Trigger Phrases: "Ultron, status briefing", "Ultron, engage overdrive mode", "What should I do next?"
- Runs a background context watchdog that monitors active windows, GPU/CPU thermals, and work duration. Auto-engages Windows High Performance power scheme and clears memory working sets during games/renders, while watching for developer fatigue.
- File:
actions/gesture_control.py - Trigger Phrases: "Ultron, activate gesture control", "Enable touchless mode"
- Uses pure OpenCV YCrCb skin segmentation and convex hull defect topology at 30 FPS (~2.2% CPU):
- Open Palm (
ποΈ): Wakes Ultron & arms listening mode. - Fist Clench (
β): Triggers emergency workstation screen lock. - Swipe Right / Left (
π/π): Next / Previous media track. - Peace Sign (
βοΈ): Toggles media Play / Pause. - Hand Up / Down: Dynamically adjusts master system volume.
- Open Palm (
- Files:
memory/cerebro_graph.py&actions/cerebro_memory.py - Trigger Phrases: "Ultron, recall my flight details", "Remember that I prefer dark mode", "Show connections for Project Ultron"
- Maintains an encrypted SQLite knowledge graph pairing concept nodes and weighted directed edges with L2-normalized cosine vector embeddings. Supports semantic fuzzy search even when exact words differ (e.g. querying "plane tickets" finds "IndiGo 6E-204 to Mumbai").
- File:
actions/iot_overlord.py - Trigger Phrases: "Ultron, set room to crimson alert", "Turn room lights to coding cyan", "Lockdown protocol"
- Synchronizes smart lighting via Home Assistant with atmospheric presets:
crimson: Crimson Red Alert strobe on perimeter sentry breach.cyan: Cyberpunk matrix cyan for deep code engineering.amber: Warm amber focus illumination for relaxation.stealth: Complete room luminaire blackout.daylight: 6500K crisp daylight for daytime overdrive.
- Files:
core/tts.py&actions/voice_matrix.py - Trigger Phrases: "Ultron, test voice chassis", "Set voice warp intensity to 70%"
- Authentic Marvel Cinematic Universe robotic vocal modulation:
- Dual-stage metallic comb filters (8.5ms vocal tract + 13.2ms chassis reflections).
- Sub-octave harmonic underlay (60-110 Hz vibranium bass fundamental).
- Soft-knee analog tape saturation for signature James Spader mechanical rasp.
- Offline fallback synthesis via Windows SAPI5 + Miniaudio float32 pipeline.
Ultron natively understands both natural English and casual Hinglish phrasing:
| Mode / Intent | Example Spoken Trigger (English & Hinglish) | Autonomous Workstation Orchestration | HUD Mode |
|---|---|---|---|
| Coding | "Ultron, I feel like coding today" (or "Ultron, aaj mere coding ka man hai") |
Opens VS Code & Terminal into active project directory, GitHub portal, lo-fi audio stream, 35% volume, focus lighting. | CODE |
| Gaming | "Ultron, turn on gaming mode" (or "Ultron, gaming mode on karo") |
Launches Steam & Discord, un-mutes 70% audio, 95% display brightness, Crimson Red combat alert lighting, Overdrive power plan. | MATRIX |
| Research | "Ultron, I need to study and research" (or "Ultron, aaj padhai karni hai") |
Opens Notion/Obsidian, arXiv, Google Scholar, 25% calm acoustics, warm amber lighting, DND mode. | SEARCH |
| Cyber Audit | "Ultron, cyber security audit mode" (or "Ultron, security scan shuru karo") |
Launches developer terminal, executes network vulnerability & port audit, tactical sentry radar. | SENTRY |
| Chill / Cinema | "Ultron, chill mode / let's watch a movie" (or "Ultron, movie dekhni hai") |
Launches Netflix/YouTube/VLC, dims display (45%), sets immersive audio (55%), cinema low-light. | SONIC |
| Creative Studio | "Ultron, video editing setup" (or "Ultron, content creation mode") |
Launches CapCut/Premiere/Blender, YouTube Studio dashboard, 50% monitor audio, balanced studio lighting. | CODE |
Ultron/
βββ main.py # Master event loop, Gemini Live session & tool dispatcher
βββ ui.py # PyQt6 holographic HUD, waveform & animated avatar
βββ requirements.txt # Universal cross-platform dependencies
βββ core/
β βββ task_animator.py # 60 FPS procedural Marvel task animations (11 categories)
β βββ tts.py # James Spader DSP vocoder, EdgeTTS & offline SAPI5 engine
β βββ action_loader.py # Dynamic action discovery & runtime hot-reloader
β βββ plugin_loader.py # Drop-in plugin loader & UI configurator
β βββ llm_client.py # Multi-provider LLM connector (Gemini, Ollama, OpenAI)
β βββ prompt.txt # MCU Ultron James Spader prime directive & bilingual protocols
βββ actions/ # 51 Auto-discovered native workstation actions
β βββ self_evolution.py # Project Prometheus: Autonomous code synthesis & hot-reloader
β βββ chronos_predictive.py # Project Chronos: Predictive context & gaming overdrive
β βββ gesture_control.py # Project Minority: Touchless OpenCV webcam hand-tracking
β βββ cerebro_memory.py # Project Cerebro: Infinite Neural Memory Vector Graph RAG
β βββ iot_overlord.py # Project Genesis: Smart home lighting & room dominion
β βββ voice_matrix.py # Project Deep-Vocal: James Spader DSP modulation telemetry
β βββ web_autopilot.py # Web flight booking prep & multi-step browsing
β βββ sentry_protocol.py # Perimeter lockdown & mobile breach broadcast
β βββ drone_swarm.py # Parallel sub-agent worker swarm & 3D HUD telemetry
βββ memory/
β βββ cerebro_graph.py # SQLite Knowledge Graph & L2 Cosine Vector Engine
β βββ cerebro_graph.db # Neural graph database with entities, edges & embeddings
β βββ workspace_presets.json# Presets for coding, gaming, study, chill, & cyber modes
β βββ workspace_recall.db # FTS5 neural memory database (local & encrypted)
βββ config/
βββ api_keys.json.example # Safe configuration template
βββ api_keys.json # API keys and provider preferences (git-ignored)
Ultron comes equipped with 51 auto-discovered native tools, categorized below:
1. God-Tier Superhuman Powers (Projects Prometheus, Chronos, Minority, Cerebro, Genesis, Deep-Vocal)
| Tool Name | Action File | Description |
|---|---|---|
self_evolution |
actions/self_evolution.py |
Project Prometheus: Synthesizes, compiles, and hot-loads new Python actions directly into memory without restarting. |
chronos_predictive |
actions/chronos_predictive.py |
Project Chronos: Anticipatory context briefings, gaming/render overdrive mode, and developer fatigue watchdog. |
gesture_control |
actions/gesture_control.py |
Project Minority: Touchless OpenCV webcam hand-tracking (Open Palm, Fist Clench, Swipe, Volume Up/Down). |
cerebro_memory |
actions/cerebro_memory.py |
Project Cerebro: Infinite Neural Memory Vector Graph & Local RAG with L2-normalized cosine similarity. |
iot_overlord |
actions/iot_overlord.py |
Project Genesis: Full room lighting dominion (Crimson Red Alert, Matrix Cyan, Warm Amber, Stealth Blackout). |
voice_matrix |
actions/voice_matrix.py |
Project Deep-Vocal: James Spader MCU Ultron robotic DSP warp engine, vocoder tuning, and offline vocal synthesis. |
| Tool Name | Action File | Description |
|---|---|---|
workspace_matrix |
actions/workspace_matrix.py |
Mood-aware orchestrator: sets up IDE, terminal, browser portals, volume, brightness, and IoT lights. |
war_room |
actions/war_room.py |
Multi-monitor matrix: maps physical displays, positions windows across screens, cyber telemetry stream. |
desktop_control |
actions/desktop.py |
Desktop and taskbar operations: organize desktop files, window placement, minimization, and cleanup. |
macro_protocol |
actions/macro_protocol.py |
Vibranium protocol engine: executes complex multi-step automated chained routines. |
| Tool Name | Action File | Description |
|---|---|---|
network_auditor |
actions/network_auditor.py |
Full cyber audit: listening ports, active connections, SSL/TLS certificates, DNS benchmarks, security score. |
network_scanner |
actions/network_scanner.py |
LAN perimeter surveillance: IP/MAC discovery, Wi-Fi telemetry, port probing, network speed/latency test. |
airspace_sentinel |
actions/airspace_sentinel.py |
Over-the-air RF scanner: inspects nearby Bluetooth Low Energy (BLE) peripherals and Wi-Fi beacons. |
sentry_protocol |
actions/sentry_protocol.py |
Workstation surveillance: webcam face/motion tracking, spoken intruder warnings, Telegram alert dispatch. |
biometric_sentinel |
actions/biometric_sentinel.py |
Biometric Face ID: face enrollment, live facial verification, unauthorized intruder lockout. |
| Tool Name | Action File | Description |
|---|---|---|
ghost_pilot |
actions/ghost_pilot.py |
Autonomous mouse/keyboard driver: organic cubic BΓ©zier mouse gliding and human cadence typing. |
computer_control |
actions/computer_control.py |
Direct computer control: click, type, press shortcuts, capture screens, and manage active windows. |
computer_settings |
actions/computer_settings.py |
System settings: volume level, screen brightness, Wi-Fi state, and display settings. |
system_command |
actions/system_command.py |
Terminal automation: executes PowerShell, Command Prompt, or Bash commands safely with output capture. |
system_utility |
actions/system_utility.py |
System health utilities: lock workstation, sleep PC, empty Recycle Bin, battery & network IP checks. |
process_manager |
actions/process_manager.py |
Task manager: inspect active processes, bring windows to front, and terminate tasks by name or PID. |
| Tool Name | Action File | Description |
|---|---|---|
workspace_recall |
actions/workspace_recall.py |
Local SQLite FTS5 semantic memory: recall past notes, commands, copied code snippets, and tasks. |
git_sentinel |
actions/git_sentinel.py |
Git Forge assistant: git status, diff summaries, automated AI conventional commits, branch management. |
dev_agent |
actions/dev_agent.py |
Autonomous software engineer: multi-file codebase analysis, architectural planning, code modification. |
code_helper |
actions/code_helper.py |
Code debugger: explains algorithms, identifies syntax errors, and provides optimized code solutions. |
cloud_watchtower |
actions/cloud_watchtower.py |
Server fleet & DevOps monitor: SSH ping, HTTP/HTTPS endpoint uptime checks, GitHub activity watching. |
| Tool Name | Action File | Description |
|---|---|---|
web_autopilot |
actions/web_autopilot.py |
Autonomous browser concierge: multi-step web browsing, flight booking prep, product dossier extraction. |
web_search |
actions/web_search.py |
Grounded search: multi-mode Google Grounded and DuckDuckGo search (news, research, price, compare). |
browser_control |
actions/browser_control.py |
Playwright browser driver: opens URLs, switches tabs, scrolls, clicks, and inputs form data. |
bounty_hunter |
actions/bounty_hunter.py |
Autonomous e-commerce intelligence: tracks price drops, product availability, and discount alerts. |
flight_finder |
actions/flight_finder.py |
Travel intelligence: scans airline routes, ticket fares, flight schedules, and connection options. |
drone_swarm |
actions/drone_swarm.py |
Background sub-agent swarms: parallel headless workers for deep research, crypto tickers, and hardware sentries. |
| Tool Name | Action File | Description |
|---|---|---|
screen_mind_read |
actions/screen_processor.py |
Real-time screen analysis: captures active display context, OCR text, and diagrams via Gemini Vision. |
optical_hud |
actions/optical_hud.py |
Computer vision & OCR: inspects live screen content, triages compiler error tracebacks, parses UI text. |
omni_telepathy |
actions/omni_telepathy.py |
Phone bridge: shared clipboard synchronization, remote phone screen camera feed, mobile telemetry. |
audio_matrix |
actions/audio_matrix.py |
Procedural MCU soundboard: synthesizes repulsor charges, Red Alert sirens, sub-bass drops, and sonar pings. |
media_controller |
actions/media_controller.py |
Universal media playback: play, pause, next track, previous track, stop, and volume controls. |
video_player |
actions/video_player.py |
In-HUD media playback: renders local video files and direct media streams where the avatar sits. |
youtube_video |
actions/youtube_video.py |
YouTube player: stream resolution, audio/video synchronization, and original audio dub tracking. |
meeting_scribe |
actions/meeting_scribe.py |
Audio recorder: captures meetings in background, transcribes audio, and generates executive debriefs. |
| Tool Name | Action File | Description |
|---|---|---|
android_bridge |
actions/android_bridge.py |
Android ADB & Fastboot: battery specs, device mirroring via scrcpy, DND toggling, recovery rebooting. |
send_message |
actions/send_message.py |
Messaging bridge: composes and sends instant messages via WhatsApp Web and Telegram. |
weather_report |
actions/weather_report.py |
Atmospheric reports: live weather conditions, humidity, wind speeds, and forecasts. |
game_updater |
actions/game_updater.py |
Gaming client companion: monitors Steam and launcher updates, patch notes, and downloads. |
open_app |
actions/open_app.py |
Application launcher: cross-platform alias mapping for dozens of applications and binaries. |
file_controller |
actions/file_controller.py |
File management: move, copy, rename, delete files with undo support, and download files directly via URL. |
file_processor |
actions/file_processor.py |
Document reader: parses and summarizes PDF, Word (.docx), PowerPoint (.pptx), and text files. |
clipboard_control |
actions/clipboard_control.py |
System clipboard utility: inspects, replaces, pastes, and clears system clipboard contents. |
purge_protocol |
actions/purge_protocol.py |
Disk cleaner: safely audits and purges temporary files, crash dumps, compiler caches, and the Recycle Bin. |
reminder |
actions/reminder.py |
Scheduled notifications: integrates with Windows Task Scheduler, macOS LaunchAgent, and Linux systemd. |
quick_timer |
actions/quick_timer.py |
Countdown timers: background spoken countdowns with voice completion alerts. |
- 100% Local Execution: All memories, terminal actions, filesystem operations, and presets remain strictly on your local machine.
- Protected Actions: Irreversible system commands (shutdown, reboot, network disconnect) require explicit on-screen confirmation.
- Credential Safety: Private keys in
config/api_keys.jsonand biometric embeddings are strictly git-ignored.
This project is licensed under the MIT License.