Nudge icon

Nudge

Enables programmatic control and UI automation of macOS applications through accessibility APIs for AI agents and Swift applications.

About

Nudge is a versatile Swift-based toolkit designed for advanced macOS UI automation, offering both a Model Context Protocol (MCP) server for seamless integration with AI agents and a direct Swift library for embedding into native applications. It facilitates robust interaction with macOS applications by leveraging accessibility APIs, providing sophisticated element-based UI tree management to enable intelligent navigation, data input, and control of system and third-party software.

Key Features

  • Dual integration as an MCP server for AI agents and a Swift library for native applications
  • Advanced UI element management with element registry and tree-based discovery
  • Smart application handling, including auto-opening and focus management
  • Direct AXUIElement references for maximum performance and reliability
  • Comprehensive error handling with detailed messages and recovery mechanisms
  • 2 GitHub stars

Use Cases

  • Enable AI agents to navigate and interact with complex macOS application interfaces
  • Build native macOS applications with integrated UI automation capabilities
  • Automate multi-step workflows for tasks like text input, button clicks, and UI exploration across various macOS applications
Advertisement

Advertisement