{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "savka777-jev-use--let-an-agent-drive-the-mac-from-shell",
 "repo": "savka777/jev-use",
 "repo_url": "https://github.com/savka777/jev-use",
 "repo_slug": "savka777-jev-use",
 "title": "Let a coding agent drive the Mac from a shell command",
 "page_title": "How to let a coding agent drive the Mac from a shell command with Jev Use",
 "summary": "Call scripts/say.sh so an agent can open apps and use menus on the Mac.",
 "who": "A developer whose AI agent needs to act on desktop apps, such as opening an app or choosing a menu item, as part of a larger task.",
 "problem": "Agents cannot act on the desktop apps a developer uses, so each step needs manual work.",
 "outcome": "An agent sends a typed command through the shell and the Mac performs it, with the result logged.",
 "steps": [
  "Run `bash build.sh` with the app quit, then run `open \"$HOME/Applications/Desktop Voice.app\"`.",
  "Complete setup, including the TypeSafe API key stored in the Keychain and the Accessibility permission.",
  "Run `scripts/say.sh \"Open Finder\"` to confirm the shell path works.",
  "Have the agent call `scripts/say.sh` with each command it needs.",
  "Check the result with `log show --predicate 'subsystem == \"local.jev-use\"' --last 10m --info`."
 ],
 "agent_prompt": "In the jev-use repo on this Mac, run `scripts/say.sh \"<command>\"` where <command> is the desktop action to perform, such as \"Open Finder\". Expect the Mac to perform the action and the app to report DONE, BLOCKED or WAIT. Verify by running the log command above and confirming the logged effect matches the requested action.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Each command sends your command, app and window names, and on-screen labels and values to TypeSafe, so do not point an agent at sensitive screens.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "swift",
 "requirements": [
  "A Mac running macOS 14.2 or later",
  "Xcode installed to build the app",
  "A TypeSafe API key to save in the app's setup",
  "Accessibility, microphone and speech permissions granted in setup"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The TypeSafe API key is stored in the Keychain, and an agent that runs commands acts with your Mac permissions, so limit which commands it sends."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/savka777-jev-use/let-an-agent-drive-the-mac-from-shell/",
 "md": "https://dedupedai.com/use-cases/savka777-jev-use/let-an-agent-drive-the-mac-from-shell/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/savka777-jev-use--let-an-agent-drive-the-mac-from-shell.json",
 "api_version": "v1"
}
