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

How to find out why a run failed and replay it offline with Typesafe Computer Use

Inspect one screen with clicker-inspect, then replay a saved run folder without a live screen.

Short answer: Complete the install steps in the repo; then run uv run clicker-inspect "<goal>" to capture the screen after a 3-2-1 countdown; open the annotated screen and payload that the command produces. 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.

Who it is forA developer or power user whose agent run stalled or chose the wrong action and who needs to see what it read.

The problemA wrong click on a live screen is hard to explain after the fact, and reruns can change the outcome.

The outcomeYou see the annotated screen and payload for one capture, and you can step through a saved run folder to find the failing decision.

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 in the repo
  2. Run uv run clicker-inspect "<goal>" to capture the screen after a 3-2-1 countdown (inferred, check the README)
  3. Open the annotated screen and payload that the command produces
  4. Locate the run folder under runs/ for the failed run and follow docs/run-folder.md to replay it offline
  5. Attach the run folder to a bug report, as the CONTRIBUTING notes ask

Prompt for your agent

In the typesafe-computer-use repo, run `uv run clicker-inspect "<goal>"` and then open the saved run folder for the failed run under runs/. Report which action was chosen, what the OCR and accessibility tree showed, and where the decision went wrong. Verify that the annotated screen and payload were produced before drawing any conclusion.

Caveat. The README says to clear the terminal first because its text is on screen and would be read as OCR input, so the capture can be polluted if you skip that step.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for awlevin/typesafe-computer-use and "Find out why a run failed and replay it offline"

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