AI-Powered Desktop Agent for macOS
Describe a task in natural language. The agent plans it, you approve it, it executes it.
Worth Doing is a native macOS application that turns natural language instructions into real desktop automation. It uses OpenRouter LLMs for reasoning and planning, then executes actions through shell commands and AppleScript — step by step, with full visibility and safety controls.
You type: "Create a project folder on my Desktop with subfolders for docs, images, and exports"
The agent:
1. Interprets your request
2. Builds a structured execution plan (shell commands, AppleScript, file ops)
3. Shows you the plan for review
4. You approve → it executes each step sequentially
5. You see live output, errors, retries, and final result
|
|
|
|
Sources/
├── BrainOS/ App entry point, state, navigation
├── Core/ Models, persistence (JSON), safety engine
├── DesignSystem/ Theme, glass cards, visual effects, badges
├── SecureStorage/ Keychain wrapper (API key storage)
├── AIService/ OpenRouter client (models, completions)
├── Agent/ Coordinator, PlanBuilder, StepRunner, UI
├── Executors/ ShellExecutor, AppleScriptExecutor
├── Dashboard/ Main view, task composer
├── Settings/ API key, model picker, permissions, safety
├── History/ Task history with search/filter
├── Workflows/ Saved workflow library
└── Onboarding/ First-launch setup flow
idle → planning → awaitingApproval → executingStep → completed
↓ ↓
(user rejects) verifyingStep
→ cancelled recoveringStep
paused
→ failed
| Component | Technology |
|---|---|
| Language | Swift 5.9+ |
| UI Framework | SwiftUI (macOS 14+) |
| Build System | Swift Package Manager |
| LLM Backend | OpenRouter API |
| Shell Execution | Process (stdin/stdout/stderr pipes) |
| AppleScript | NSAppleScript |
| Secrets | macOS Keychain (Security framework) |
| Persistence | JSON files (~/Library/Application Support/BrainOS/) |
| Signing | Developer ID + Apple Notarization |
| Dependencies | Zero external dependencies |
- Download the latest WorthDoing.dmg from Releases
- Open the DMG and drag Worth Doing to Applications
- Launch — the app is signed and notarized by Apple, no Gatekeeper warning
git clone https://github.com/Worth-Doing/brain-os.git
cd worth-doing
swift build -c release
swift run BrainOSRequires macOS 14+ and Swift 5.9+ (Xcode Command Line Tools). No Xcode project needed.
swift build -c release
bash Scripts/bundle-app.sh
open ".build/release/Worth Doing.app"- Get an OpenRouter API key at openrouter.ai
- Launch the app — the onboarding will guide you through:
- Entering your API key (stored in macOS Keychain)
- Selecting a default model
- Start describing tasks on the Dashboard
| Task | What the agent does |
|---|---|
| "Create a folder on Desktop called Research with subfolders PDFs, Notes, Exports" | mkdir -p commands, verifies structure |
| "List all PNG files in Downloads and rename them receipt-001, receipt-002..." | find + sequential mv commands with preview |
| "Open Safari" | AppleScript tell application "Safari" to activate |
| "Find files larger than 100MB in my home directory" | find ~ -size +100M with formatted output |
| "Create a markdown report of my system info" | Runs sw_vers, sysctl, df and writes .md file |
The RiskEngine scans every command against 35+ known dangerous patterns before execution.
MIT License. See LICENSE for details.
Built with Swift + SwiftUI. No Xcode. No Electron. No web wrappers. Just native macOS.