AI agent operating Mac Calculator via desktop accessibility API

Shivay Lamba

Most desktop apps have no API. agent-desktop gives any model a JSON view of the app's controls, works on Mac, Windows and Linux, and clicks without taking over your cursor. agent-desktop from @vercel lets AI agents use desktop apps: it reads buttons and text through the OS accessibility API and clicks or types for them. No screenshots needed. In this demo I show a @MiniMax_AI MiniMax M3.1 Flash model using @nebiustf to read Mac Calculator's buttons and carry out operations This is a ~100-line Python loop. The model asks to read the screen or press a button, the script runs the matching agent-desktop command and sends back the JSON result, and this repeats until the answer is on the display.
View original post