diff --git a/README.md b/README.md index 04d52d8..a1dc9df 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,11 @@ ## Architecture
-
+
+
+
Most computer-use stacks feed the agent a screenshot and hope it can find a button by pixel. agent-desktop reads the OS accessibility tree directly — every element has a deterministic name, every action goes through the same native API a screen reader uses. Faster, cheaper, repeatable. Works with any harness, any model.
+agent-desktop snapshot --app MySwiftApp.AXUIElement APIs.@e1 … @eN, scoped to a snapshot id.click @e7 drives the app through the same native AX path.A full snapshot of Slack's main window is a wall of text. Skeleton mode (depth 3) returns the same actionable refs at ~3% of the token cost. Same approach works for VS Code, Figma, Notion, Excel — anything with an accessibility tree.
+▾ Window "Slack | #engineering" + ▾ Toolbar + · Button "Workspace switcher" @e1 + · SearchField "Search Acme" @e3 + ▾ Group "sidebar" children_count: 247 + [+247 more · drill @e5] + ▾ Group "active channel" @e9 + ▾ Group "messages" children_count: 1,043 · virtualized + ▾ Group "compose" + · TextField "Message #engineering" @e12 + · Button "Send" @e15 + ▾ Group "thread pane" children_count: 89 + · StatusBar "connected"+
agent-desktop type @e12 "ship it" → agent-desktop click @e15.
+ native AX · no cursor · no screenshot
+