Reverse-Engineered Accessibility Tree Desktop Control Tool
aigclink · x · 2026-07-14
A developer reverse-engineered Codex's Computer Use to build pi-computer-use, a tool capable of operating macOS / Windows desktop software.
Instead of guessing button coordinates from screenshots like typical computer use tools, its core approach is ax-first: it reads the app's accessibility tree and platform accessibility APIs to directly extract UI elements like buttons, text, and controls before executing click / type / scroll commands. Vision is only used as a fallback for supported models. macOS requires a helper app with Accessibility + Screen Recording permissions, while Windows interfaces directly with the platform's accessibility API.
The author notes that this isn't meant to replace app APIs or MCP. Direct connections should always be preferred when available; computer use serves as an ecosystem gap-filler, empowering agents to operate legacy software that lacks APIs.
More from coding & agent
- Building a Secure AI Agent Gateway: Self-Hosting OAuth for Multiple SaaS Apps — Defiant_Cod_2654 · 2026-07-22
- Rowboat launches as an open-source, local-first AI coworker with memory — ycombinator · 2026-07-22
- Reddit user chains Ideogram 4 and Krea2 to mimic bbox-based image positioning — v3lh0t05c0 · 2026-07-22
- Apollo Cuts AI Assistant Skill Dev Time by 85% with Deep Agents — LangChain · 2026-07-22
- Scoble says AI “loops” really means long-running multi-agent workspaces — Scobleizer · 2026-07-22
- Kimi Code opens a waitlist as Moonshot rolls out its coding product — Fabulous_Bonus_8981 · 2026-07-22