~/download

[sudo]

The cross-platform companion app for your sudo macro pad. Approve, reject, and control AI agents with a physical button press.

macOS · Windows · Linux

> download

macOS

ventura 13.0+ · apple silicon + intel

[ DOWNLOAD .DMG ]

Swift / SwiftUI menu bar app

Windows

Windows 10+ · x64

[ DOWNLOAD .EXE ]

C# / .NET 8 system tray app

Linux

X11 / Wayland · GTK3

[ INSTALL SCRIPT ]

Python / GTK3 AppIndicator

> install from source

$ git clone https://github.com/ibrue/sudo-app

$ cd sudo-app

$ ./install.sh

> button modes

simple mode

Assign preset system shortcuts to each button.

  • screenshot, copy, paste, undo
  • save, lock screen, media controls
  • custom keyboard shortcuts

complex mode

AI agent button-finding with customizable search terms.

  • accessibility tree detection
  • OCR vision fallback
  • custom button labels per app

> default button map

buttonhotkeyaction
1Ctrl+Shift+F13Approve / Yes
2Ctrl+Shift+F14Reject / No
3Ctrl+Shift+F15Continue
4Ctrl+Shift+F16Stop

all hotkeys are fully configurable in the app settings

> detection stack

featuremacOSWindowsLinux
system trayMenuBarExtraNotifyIconAppIndicator3
hotkeysCGEvent tapRegisterHotKeypynput
button findingAXUIElementUI AutomationAT-SPI2
OCR fallbackApple VisionWindows.Media.OcrTesseract
executionAXPressInvokePatternAT-SPI / xdotool

> firmware (QMK / VIA / Vial)

The sudo macro pad runs QMK firmware on an RP2040 chip. Three keymap options are available:

keymapfeaturesreconfigure
defaultCtrl+Shift+F13–F16reflash required
VIAlive remapping via usevia.appno reflash needed
Vialauto-detection, no draft definitionno reflash needed

> supported apps

native apps

Claude for Desktop

ChatGPT

web apps

claude.ai · chatgpt.com · grok.com

Safari (macOS) · Chrome · Firefox · Brave · Edge · Opera · Chromium

> requirements

macOS

  • macOS 13 Ventura+
  • Accessibility permission
  • Screen Recording (OCR)

Windows

  • Windows 10+
  • .NET 8 Runtime
  • Run as Administrator (optional)

Linux

  • X11 or Wayland
  • Python 3.8+, GTK3
  • Tesseract OCR (optional)
[sudo] is open source hardware + softwareGitHub →