MacAutomate

v1.0.0 · BSD-3 · macOS 15+ Universal

Native macOS desktop workflow automation studio, Robin script engine, and headless CLI built in cook0001/MacAutomate with Swift and SwiftUI. Designed around a numbered-action Flow Designer, %Variable% expressions, live debugger stepping, and 284 built-in actions across 31 categories with zero external package dependencies.

Status (2026-11-29): Universal macOS 15+ builds (Apple Silicon arm64 + Intel x86_64) are Developer ID codesigned with Hardened Runtime, Apple notarized, and stapled. Bundled macautomate-cli supports static flow validation, headless runs with typed inputs, and LaunchAgent trigger daemons.

Downloads (v1.0.0)

Signed and notarized Universal macOS 15+ bundles from cook0001/MacAutomate. Both archives include MacAutomate.app and the bundled macautomate-cli executable.

Format Contents & Signing Download
macOS Universal Disk Image (.dmg) Universal arm64 + x86_64 drag-to-Applications disk image. Developer ID codesigned, Hardened Runtime, Apple notarized, and stapled. MacAutomate-1.0.0-universal.dmg
macOS Universal Archive (.zip) ditto zip archive of the notarized and stapled MacAutomate.app bundle for scripted installs or CI verification. MacAutomate-1.0.0-universal.zip
Checksums Release SHA-256 verification manifest (SHA256SUMS.txt). SHA256SUMS.txt

Designer, Engine & Robin Scripts

Console & Flow Designer

SwiftUI · macOS 15+

Structured around the Power Automate Desktop workflow model without web wrappers or Electron overhead.

  • Console opens directly to a sortable My flows table with pinning, properties, examples, run monitor history, and settings.
  • Designer centers on a numbered step canvas with drag/drop insertion, multi-selection, collapsible blocks and regions, Find & Replace across subflows, and lossless Robin system-clipboard copy/cut/paste.
  • Collapsible right inspector rail manages Input/Output and flow variables (with rename and find usages), hierarchical App -> Window -> Element UI trees with thumbnails and fallback selectors, and image assets.
  • Bottom drawer shows live static validation errors and timestamped execution logs that jump directly to the referenced subflow and step.

Execution Engine & Debugger

PowerAutomateCore

Typed static validation and deterministic control-flow execution across multi-subflow workflows.

  • %Variable% expression evaluator supports typed lists, custom objects, PADDataTable and PADDataRow dual indexing (%Row[0]% and %Row['Col']%), slicing, modulo, and short-circuit AND/OR.
  • Full control flow: If / Else if / Else, single-evaluation Switch / Case, Loop / Loop condition / For each, Next loop / Exit loop, labels, subflows, and recursion guards.
  • Structured error handling with nested On block error bubbling, retry intervals, per-step OnError rules (Continue, Repeat, Go to label, variable assignment, error subflow), and Get last error.
  • Live debugger with breakpoints, configurable run delay, Step Over, Step Into, Step Out, and Set next action.

Action Catalog (284 Actions · 31 Categories)

UI, Screen & Browser Automation

AXUIElement · Vision · WKWebView/Safari
  • Desktop UI Automation: Native macOS Accessibility selector trees with dynamic %Variable% attributes, alternate fallback selectors, element click/hover/populate/dropdown/tab selection, and If window contains UI element.
  • Screen & Vision: Template image matching, Apple Vision OCR text extraction and screen wait actions, QR/barcode scanning, and interactive Element & Coordinate picker overlays.
  • Web Automation: Built-in WKWebView (popups, JS dialogs, downloads) plus Safari and Chrome tab launch/attach/close, shadow-DOM and same-origin iframe queries, and multi-column paginated table extraction.

Files, Data, Spreadsheets & System

XLSX · SQLite · Keychain · Terminal
  • Data & Spreadsheets: Non-destructive .xlsx editing (preserves existing styles, column widths, and merged cells), CSV read/write, XML/XPath, PDFKit text/page/image actions with password unlocking, and full List/DataTable/Custom Object suites.
  • Databases & Transfer: SQLite connections with parameterized ? bindings and Begin/Commit/Rollback transactions, HTTP/REST, OpenSSH SFTP, IMAP/SMTP, Apple Mail, and Outlook.
  • macOS & Scripting: Persistent interactive /bin/zsh terminal sessions, shell/AppleScript/JavaScriptCore/Python actions, AES-256-GCM and SHA/HMAC crypto, EventKit Calendars/Reminders, Spotlight, Speech transcription, Keychain Vault, and LaunchAgent triggers.

CLI & Building from Source

Headless CLI (macautomate-cli)

Validate · Run · Robin · Daemon

Bundled inside MacAutomate.app/Contents/MacOS/macautomate-cli for CI pipelines, LaunchAgents, and scripted runs of both .padflow and .robin files.

$ /Applications/MacAutomate.app/Contents/MacOS/macautomate-cli validate Examples/EndToEndSelfTest.padflow
$ /Applications/MacAutomate.app/Contents/MacOS/macautomate-cli run Examples/EndToEndSelfTest.padflow --input RunLabel=Check --json
$ /Applications/MacAutomate.app/Contents/MacOS/macautomate-cli actions

Build & Notarize from Source

Swift 6 · macOS 15+

Requires macOS 15+ and the Xcode / Swift toolchain. No third-party package downloads are required.

$ git clone https://github.com/cook0001/MacAutomate.git && cd MacAutomate
$ swift test
$ ./scripts/build-app.sh debug && open dist/MacAutomate.app
$ ./scripts/build-app.sh --release-dist --profile <notarytool-profile>

Permissions & Security Notes

  • Signed & Notarized Hardened Runtime: Both MacAutomate.app and macautomate-cli are signed inner-to-outer with Hardened Runtime enabled, secure timestamps, and only minimal required entitlements (Apple Events and Calendars).
  • macOS TCC Permissions: Accessibility, Screen Recording, Automation (Apple Events), Input Monitoring, and Calendars/Reminders permissions are requested only when used and can be checked directly from Settings > Permissions.
  • Local Credential Storage: Vault credentials and optional AI provider API keys are stored in the macOS Keychain rather than flow files or shell environment variables, and sensitive variables are masked in live monitors and logs.
  • Local-First Execution: All workflows, Robin scripts, and run histories stay on disk in Application Support; network calls occur only when an action explicitly invokes HTTP, email, SFTP, browser navigation, or an opted-in AI provider.