{"by":"bayes-song","descendants":41,"id":47353957,"kids":[47358503,47356952,47357433,47356654,47358165,47355299,47359478,47357332,47355086,47355105,47355032,47359722,47355633,47356871,47354886,47354793],"score":120,"text":"I built Understudy because a lot of real work still spans native desktop apps, browser tabs, terminals, and chat tools. Most current agents live in only one of those surfaces.<p>Understudy is a local-first desktop agent runtime that can operate GUI apps, browsers, shell tools, files, and messaging in one session. The part I&#x27;m most interested in feedback on is teach-by-demonstration: you do a task once, the agent records screen video + semantic events, extracts the intent rather than coordinates, and turns it into a reusable skill.<p>Demo video: <a href=\"https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=3d5cRGnlb_0\" rel=\"nofollow\">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=3d5cRGnlb_0</a><p>In the demo I teach it: Google Image search -&gt; download a photo -&gt; remove background in Pixelmator Pro -&gt; export -&gt; send via Telegram. Then I ask it to do the same for Elon Musk. The replay isn&#x27;t a brittle macro: the published skill stores intent steps, route options, and GUI hints only as a fallback. In this example it can also prefer faster routes when they are available instead of repeating every GUI step.<p>Current state: macOS only. Layers 1-2 are working today; Layers 3-4 are partial and still early.<p><pre><code>    npm install -g @understudy-ai&#x2F;understudy\n    understudy wizard\n</code></pre>\nGitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;understudy-ai&#x2F;understudy\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;understudy-ai&#x2F;understudy</a><p>Happy to answer questions about the architecture, teach-by-demonstration, or the limits of the current implementation.","time":1773335075,"title":"Show HN: Understudy – Teach a desktop agent by demonstrating a task once","type":"story","url":"https://github.com/understudy-ai/understudy"}