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
- Complete the install steps and grant Screen Recording and Accessibility
- Clear the terminal so its text is not read as OCR input
- Run
uv run clicker "<goal>" --act --steps 20 --delay 3for a slower, bounded run (inferred, check the README) - Press Ctrl-C or move the mouse into the top-left corner to stop a live run
- 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer