Skip to main content

Overview

Use case: Personal computer automation via WhatsApp or web chat Turn your Mac into an AI-controllable device. Ask your agent to take screenshots, open apps, search files, control music, manage your clipboard, and more — all from a chat message. Commands:
  • take_screenshot — Capture the screen and return the image
  • send_notification — Show a desktop notification
  • open_url — Open a URL in the default browser
  • open_app — Launch an application by name
  • search_files — Find files using Spotlight
  • get_active_app — Get the currently focused application
  • system_info — Hostname, CPU, memory, uptime, battery
  • get_clipboard — Read clipboard contents
  • set_clipboard — Write text to the clipboard
  • lock_screen — Lock the Mac
  • play_music — Play, pause, or skip tracks in Apple Music or Spotify
  • set_volume — Set the system volume (0—100)
  • run_shortcut — Run a Shortcuts.app shortcut by name
Prerequisites:
  • Node.js 18+ (for the Node.js client) or Python 3.10+ (for the Python client)
  • terminal-notifier for desktop notifications — install with brew install terminal-notifier
  • Screen recording permission granted to your terminal app (for screenshots)

Device Client

Agent Configuration

What You Can Ask

Here are real conversational examples you can send from WhatsApp or web chat:

Screenshots

“Take a screenshot and send it to me”

Open Apps

“Open Slack” / “Launch Safari”

File Search

“Search for files called invoice.pdf”

Active App

“What app am I currently using?”

Lock Screen

“Lock my Mac”

Volume

“Set the volume to 30%”

Music

“Play the next song” / “Pause the music”

Clipboard

“Copy this text to my clipboard: Meeting at 3pm”

System Info

“How much battery do I have left?”

Notifications

“Send me a notification that says Stand up and stretch”

Browser

“Open github.com in my browser”

Shortcuts

“Run my Focus Mode shortcut”
Security note: This device client gives your AI agent direct control over your computer. Only run it on machines you trust, and consider limiting which commands are registered based on your comfort level.

Next Steps

Windows Controller

Control a Windows PC the same way

Smart Office

Office automation with sensors and displays

CDN Uploads

How screenshot uploads work

Self-Describing Commands

How to write effective command definitions