██████╗ ██████╗ ███████╗███╗ ██╗██████╗ ███████╗███████╗██╗ ██╗████████╗ ██████╗ ██████╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║██╔══██╗██╔════╝██╔════╝██║ ██╔╝╚══██╔══╝██╔═══██╗██╔══██╗
██║ ██║██████╔╝█████╗ ██╔██╗ ██║██║ ██║█████╗ ███████╗█████╔╝ ██║ ██║ ██║██████╔╝
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║██║ ██║██╔══╝ ╚════██║██╔═██╗ ██║ ██║ ██║██╔══██╗
╚██████╔╝██║ ███████╗██║ ╚████║██████╔╝███████╗███████║██║ ██╗ ██║ ╚██████╔╝██║ ██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
⚡ NOT A CHATBOT. AN INTELLIGENCE AGENT. ⚡
A self-improving, self-rewriting AI desktop agent that controls your computer, researches the web,
spawns AI armies, trains custom models, and gets smarter every single interaction.
Quick Start •
Features •
Architecture •
Commands •
Providers •
API •
Docker •
Contributing
📖 Table of Contents
🚀 Quick Start
Windows (PowerShell — Recommended)
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/Atum246/OpenDesktop/main/install.ps1 | iex"
This handles everything: installs Node.js if missing, installs OpenDesktop globally, and runs setup.
Windows (Command Prompt / cmd)
curl -o install.bat https://raw.githubusercontent.com/Atum246/OpenDesktop/main/install.bat && install.bat
Linux / macOS (One-Line Install)
curl -fsSL https://raw.githubusercontent.com/Atum246/OpenDesktop/main/install.sh | bash
Via npm (Any Platform)
npm install -g opendesktop-ai
opendesktop --setup
Via Docker
docker build -t opendesktop .
docker run -it -p 4444:4444 -e OPENDESKTOP_API_KEY=your-key opendesktop
First Run
# Start chatting
opendesktop
# Or use the short alias
od
# Launch GUI
opendesktop --gui
# Re-run setup
opendesktop --setup
Requirements
| Requirement |
Minimum |
Recommended |
| Node.js |
v18.0.0 |
v20+ (LTS) |
| npm |
v8.0.0 |
v10+ |
| OS |
Linux, macOS 12+, Windows 10+ |
Latest |
| RAM |
4GB |
8GB+ |
| Network |
Internet connection |
Broadband |
🔑 Environment Variables
OpenDesktop auto-detects API keys from your environment. Set them before running opendesktop --setup and it picks them up automatically — no manual entry.
AI Providers
# OpenRouter — access 50+ models with one key ($1 free credit)
export OPENROUTER_API_KEY="sk-or-v1-xxxxxxxxxxxx"
# OpenAI — GPT-4o, o1, DALL-E, Whisper
export OPENAI_API_KEY="sk-xxxxxxxxxxxx"
# Anthropic — Claude 3.5 Sonnet, Opus (best reasoning)
export ANTHROPIC_API_KEY="sk-ant-xxxxxxxxxxxx"
# Google AI — Gemini Pro, Flash (free tier available)
export GOOGLE_API_KEY="AIzaxxxxxxxxxxxx"
# Groq — Llama, Mixtral (fastest inference, free tier)
export GROQ_API_KEY="gsk_xxxxxxxxxxxx"
# DeepSeek — Coding specialist (free tier)
export DEEPSEEK_API_KEY="sk-xxxxxxxxxxxx"
# Nvidia NIM — Enterprise AI
export NVIDIA_API_KEY="nvapi-xxxxxxxxxxxx"
# Mistral AI
export MISTRAL_API_KEY="xxxxxxxxxxxx"
Messaging (Optional)
export TELEGRAM_BOT_TOKEN="123456:ABC-DEF"
export DISCORD_BOT_TOKEN="xxxxxxxxxxxx"
Other Services (Optional)
export ELEVENLABS_API_KEY="xxxxxxxxxxxx"
export WEATHER_API_KEY="xxxxxxxxxxxx"
Where to Add These
| Shell |
File |
Command |
| Bash |
~/.bashrc |
source ~/.bashrc |
| Zsh |
~/.zshrc |
source ~/.zshrc |
| PowerShell |
$PROFILE |
. $PROFILE |
| Windows cmd |
System env |
setx KEY "value" |
See .env.example for the full template with URLs to get each key.
🤖 What the Setup Wizard Auto-Detects
When you run opendesktop --setup, it automatically finds:
| What |
How |
You do |
| Username |
Reads from OS |
Nothing — pre-filled |
| Timezone |
System locale |
Nothing — pre-selected |
| OS/Platform |
os.platform() |
Nothing — shown in summary |
| RAM |
os.totalmem() |
Nothing — warns if low |
| GPU |
systeminformation |
Nothing — recommends local models if powerful |
| Ollama |
Checks localhost:11434 |
Nothing — appears first if running |
| LM Studio |
Checks localhost:1234 |
Nothing — appears first if running |
| API keys |
Checks environment vars |
Nothing — auto-filled |
Just run opendesktop --setup and hit Enter through everything. It figures out the rest.
🏠 Local AI (Free, Private, No API Key)
Ollama
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Pull models
ollama pull llama3.1
ollama pull codellama
# Runs on localhost:11434 — OpenDesktop detects it automatically
opendesktop --setup
# Choose "Ollama — RUNNING LOCALLY" when asked for provider
LM Studio
- Download from https://lmstudio.ai
- Load a model and start the server
- Runs on
localhost:1234 — OpenDesktop detects it automatically
⌨️ Hotkey
The setup wizard lets you choose a global hotkey to summon OpenDesktop from anywhere:
| Hotkey |
Description |
Ctrl+Shift+Space |
Recommended — fast and easy |
Ctrl+Alt+O |
O for OpenDesktop |
Ctrl+Shift+D |
D for Desktop |
Alt+Space |
Quick launcher style |
F12 |
Classic dev tools |
| Custom |
Pick your own combination |
Works system-wide — press it in any app to summon the agent.
💬 Messaging Platforms
Connect OpenDesktop to chat from your phone or other devices:
| Platform |
Setup |
| Telegram |
Get token from @BotFather, set TELEGRAM_BOT_TOKEN |
| Discord |
Get token from Developer Portal, set DISCORD_BOT_TOKEN |
| WhatsApp |
Enable in setup, scan QR code |
| Slack |
Get Bot Token + App Token |
Run opendesktop --setup and enable the platforms you want.
⚡ Features
OpenDesktop is NOT a chatbot. It's a self-improving intelligence agent with 44 subsystems across 37 modules.
🖥️ Desktop Control
- Mouse control (click, move, drag, scroll)
- Keyboard control (type, hotkeys, key combos)
- Window management (open, close, focus, list)
- File operations (read, write, search, watch)
- Clipboard intelligence (read, write, history)
- Process monitoring (list, kill, track)
🌐 Web & Research
- Real web search (DuckDuckGo, Wikipedia, StackOverflow, GitHub, npm)
- Deep multi-source research
- URL scraping and content extraction
- Web page screenshots
- Download management with progress
- Browser automation (Puppeteer)
💻 Code Execution
- 37 programming languages supported
- JavaScript, Python, TypeScript, Go, Rust, C, C++, Java, Ruby, PHP, Swift, Kotlin, Bash, PowerShell, SQL, Lua, R, Julia, Zig, Elixir, Haskell, Clojure, Scala, Dart, Nim, Crystal, and more
- Auto language detection
- Project scaffolding
- Code review, debugging, test generation
🧠 Memory & Knowledge
- 5 memory types: Episodic, Semantic, Tasks, Profile, Conversations
- Knowledge Graph Brain with weighted nodes, auto-relating, decay
- Full-text search across all memory
- Export/import memory
- Persistent across sessions
🤖 Agent Orchestration
- Spawn hundreds of specialized sub-agents
- Team-based parallel execution
- Task decomposition
- 8 specializations: researcher, coder, tester, deployer, analyst, designer, security, optimizer
- Shared knowledge between agents
🧬 Self-Evolution
- Performance journal tracking
- Correction learning
- Skill crystallization
- A/B testing framework
- Self-code rewriting
- Automatic improvement suggestions
🔮 Proactive Intelligence
- System health monitoring
- Pattern detection
- Rule-based automation
- Daily briefings
- Repetitive task detection
- Proactive suggestions
🏠 IoT Control
- Philips Hue, LIFX, Tasmota, Shelly, Home Assistant
- MQTT support
- Device discovery (mDNS, UPnP, network scan)
- Automation rules
- Generic HTTP device support
💬 20 Messaging Platforms
Telegram, Discord, WhatsApp, Slack, Signal, iMessage, IRC, Matrix, LINE, Viber, MS Teams, Twitch, Email, SMS, Mattermost, Rocket.Chat, Element, Guilded, Revolt, Session
🔒 Security
- AES-256-GCM encryption
- Command blacklist/whitelist
- Rate limiting
- Audit logging
- Anomaly detection
- Sandbox mode
- Auto-lock
- Permission tiers (admin, user, viewer, restricted)
- Input sanitization (SQL injection, XSS, command injection)
⏰ Task Scheduler
- Cron-like scheduling
- Daily, weekly, monthly, interval, once jobs
- Auto-retry on failure
- Execution logging
💾 Backup Manager
- Full system backup/restore
- Encrypted backups (AES-256-GCM)
- Backup verification (SHA-256)
- Auto-cleanup old backups
- Migration export
🛒 Plugin Marketplace
- Browse/search remote registry
- Install from registry or npm
- Update checking
- Publish plugins
- Built-in skill suggestions
📊 Performance Monitor
- Real-time CPU, memory, disk, network
- Configurable alert thresholds
- Historical data tracking
- Export metrics
🔔 Notification Center
- 8 channels: system, security, agents, tasks, updates, social, iot, errors
- Desktop notifications (macOS, Linux, Windows)
- Priority levels: critical, high, medium, low
- Notification history
⚙️ Config Manager
- Save/load named profiles
- 5 built-in templates: developer, creative, business, privacy, power-user
- Export/import with secret redaction
- Config validation
🏗️ Architecture