{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dragonked2-alphacode--automate-desktop-app-steps",
 "repo": "dragonked2/alphacode",
 "repo_url": "https://github.com/dragonked2/alphacode",
 "repo_slug": "dragonked2-alphacode",
 "title": "Drive a native desktop app with a written instruction",
 "page_title": "How to drive a native desktop app with a written instruction with Alphacode",
 "summary": "Ask AlphaCode to open a native app, perform steps, and read a result through accessibility APIs.",
 "who": "A user who repeats the same click-and-read steps in a native desktop application and wants them handled from a single instruction.",
 "problem": "Repetitive desktop tasks with no API are tedious and error-prone when done by hand.",
 "outcome": "The requested steps completed in the desktop app, with the result read back and reported.",
 "steps": [
  "Run the install command from the Install section for your platform, then run `alphacode doctor`.",
  "Confirm the accessibility backend for your OS is available: UI Automation on Windows, the Accessibility API on macOS, or AT-SPI2 on Linux.",
  "Run `alphacode` and give the instruction, for example: Open Calculator, calculate 123 × 456, and read the result.",
  "Check that the result matches the expected value of 56088 and that the agent did not change other windows.",
  "Repeat the task with a different target app once the first run works."
 ],
 "agent_prompt": "Use the dragonked2/alphacode repo's desktop automation to open <application name>, complete the steps: <steps>, and read the result. Report the value read from the screen. Verify the result by comparing it with a value you can calculate yourself.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README says desktop interaction depends on a working accessibility backend and on the target application being available.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A terminal on macOS, Linux, or Windows (use Windows Terminal or PowerShell on Windows)",
  "A project folder or repository you want the agent to work in",
  "Internet access to run the installer",
  "Optional: API keys for Claude, GPT, Gemini, or other providers, which may incur charges",
  "For browser tasks: Firefox with the AlphaCode Browser Agent extension installed",
  "For desktop tasks: a working platform accessibility backend (UI Automation, Accessibility API, or AT-SPI2)"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dragonked2-alphacode/automate-desktop-app-steps/",
 "md": "https://dedupedai.com/use-cases/dragonked2-alphacode/automate-desktop-app-steps/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/dragonked2-alphacode--automate-desktop-app-steps.json",
 "api_version": "v1"
}
