DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let a coding agent drive the Mac from a shell command with Jev Use

Call scripts/say.sh so an agent can open apps and use menus on the Mac.

Short answer: Run bash build.sh with the app quit, then run open "$HOME/Applications/Desktop Voice.app"; then 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. All steps.

Credentials. 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.

Who it is forA 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.

The problemAgents cannot act on the desktop apps a developer uses, so each step needs manual work.

The outcomeAn agent sends a typed command through the shell and the Mac performs it, with the result logged.

What you need first

  • 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

Steps

  1. Run bash build.sh with the app quit, then run open "$HOME/Applications/Desktop Voice.app".
  2. Complete setup, including the TypeSafe API key stored in the Keychain and the Accessibility permission.
  3. Run scripts/say.sh "Open Finder" to confirm the shell path works.
  4. Have the agent call scripts/say.sh with each command it needs.
  5. Check the result with log show --predicate 'subsystem == "local.jev-use"' --last 10m --info.

Prompt for your agent

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.

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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for savka777/jev-use and "Let a coding agent drive the Mac from a shell command"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer