Andrew Levin's Open-Source macOS Agent Makes Decisions 155x Cheaper Than Claude Opus

A macOS agent skips screenshots to frontier models, uses OCR plus a tiny classifier called TypeSafe, and runs steps for a fiftieth of a cent.

·
·
Andrew Levin's Open-Source macOS Agent Makes Decisions 155x Cheaper Than Claude OpusPRO
  • typesafe-computer-use is a macOS agent that runs steps for about $0.0002 each.
  • It never sends screenshots to a frontier model, using OCR plus a small classifier instead.
  • Reported as 155x cheaper and 14 to 40x faster than Claude Opus 5 per decision.
  • Powered by TypeSafe, a decision model returning calibrated Choice probabilities in milliseconds.
  • Writer LLM (Claude Haiku default) only handles free text like URLs and form fills.
  • MIT-licensed, macOS 14+, Python 3.12+, with replayable run folders for debugging stalls.

A macOS agent built around $0.0002 decisions

Many frontier-model desktop agents send a fresh screenshot to a large model for every action, then wait several seconds for a plan. Andrew Levin’s MIT-licensed open-source project, typesafe-computer-use, extracts screen state locally and asks a smaller decision model to select from bounded actions. Levin says he built the initial version in under 30 minutes.

The agent works toward a plain-English goal on macOS, reporting a cost of roughly $0.0002 per decision. Screenshot pixels remain on the machine. Model requests contain OCR text, accessibility metadata, the active application, the browser URL, and other structured state. Free-form text goes to a separate writer model only when a field or URL requires it.

  • Platform: macOS 14 or later
  • License: MIT
  • Decision service: TypeSafe API
  • Default writer: Claude Haiku
  • Reported decision latency: 0.13–0.38 seconds

One screenshot, a 155× cost gap

The repository compares its TypeSafe configuration, labeled jev, with Claude Opus 5 on the same screenshot and goal. The Opus baseline receives a bare screenshot.

Repository-reported comparison
Metric TypeSafe (jev) Claude Opus 5 Reported difference
Cost per decision $0.0002 $0.032 155× cheaper
Cost per 12-step task $0.003 $0.40–$0.90 130×–300× cheaper
Model latency 0.13–0.38 seconds 5.2 seconds 14×–40× faster
Step time with capture and OCR About 1.5 seconds About 5.5 seconds 3.7× faster

These figures come from the repository and have not been independently verified. They describe a narrow point comparison, with no task-completion rates, broad application suite, or recovery benchmark. Writer-model calls also add their own latency and cost. A production evaluation would need to measure successful completion, retries, writer usage, and failures across representative workflows.

TypeSafe, the project’s core dependency, accepts a Choice containing as many as 255 options and returns a probability distribution with a calibrated confidence score. According to the README, responses arrive within a few hundred milliseconds and incur no output-token charge. The open-source agent therefore depends on hosted inference rather than a locally runnable decision model.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Trending
  • No trending articles

Comments

avatar

Next Reads