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

How to run a multi-step browser task on your Mac with Typesafe Computer Use

Give the agent a goal in plain English and let it click through a site for up to a set number of steps.

Short answer: Complete the install steps and grant Screen Recording and Accessibility; then Clear the terminal so its text is not read as OCR input; run uv run clicker "<goal>" --act --steps 20 --delay 3 for a slower, bounded run. All steps.

Authorization notice. Typesafe Computer Use is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Credentials. The README's login example and the optional CLICKER_EMAIL variable mean the agent may type account details, so keep credentials in your local .env file only.

Who it is forA Mac user with a repetitive click-through task in Chrome, such as reaching a page after several menus.

The problemRepeating the same series of clicks across several pages takes time, and frontier-model computer use is slow and costly for each step.

The outcomeThe agent works toward the goal, stops on done, low confidence, a stall, or the step limit, and prints an answer when the writer is used.

What you need first

  • A Mac running macOS 14 or newer
  • Python 3.12 or newer and uv
  • A TypeSafe API key for TYPESAFE_API_KEY
  • Screen Recording and Accessibility permissions granted to your terminal
  • Optional: an Anthropic API key for type_text, writer-proposed URLs, and the final answer

Steps

  1. Complete the install steps and grant Screen Recording and Accessibility
  2. Clear the terminal so its text is not read as OCR input
  3. Run uv run clicker "<goal>" --act --steps 20 --delay 3 for a slower, bounded run (inferred, check the README)
  4. Press Ctrl-C or move the mouse into the top-left corner to stop a live run
  5. Read the printed answer, and open the run folder under runs/ if the result is wrong

Prompt for your agent

In the typesafe-computer-use repo, run `uv run clicker "<goal>" --act --steps 20 --delay 3` and report the final answer and the stop reason. Verify that the run folder was written under runs/ and that the stop reason is one of done, low confidence, a stall, or the step limit.

Caveat. The README warns that settings and behavior change between 0.x releases and that the loop can still have rough edges.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for awlevin/typesafe-computer-use and "Run a multi-step browser task on your Mac"

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