typesafe-computer-use
Budget desktop automation for macOS that picks each action with a small classifier.
Overview
typesafe-computer-use, also called jev, is a computer-use agent for macOS that drives a machine toward a goal typed in plain English. It reads the screen deterministically, relies on a small classifier to choose each next action, and calls a writing model only when free text is needed or when the classifier has stopped and the screen must be interpreted. The project is in beta, and its settings and behavior may change between 0.x releases.
The design separates responsibilities: a classifier makes the choice among actions, code settles factual questions, and a writer is reserved for free text. Facts such as a date, whether a field is focused, or whether a URL is clean are computed in code and supplied as state to the decision. The project's stated aim is cheaper and faster task completion, not fewer language models; accuracy takes priority, so a genuinely stuck run is handed to an LLM rather than guessed at, and the handoff carries the goal, prior actions, and how the current screen was reached.
Compared with frontier-model computer use, the project claims substantially lower cost and latency per decision while doing comparable input token volume in its measurement. The stated caveat is that reasoning a large model performs from raw pixels must be rebuilt here as deterministic state, such as parsing dates. On macOS it requires version 14 or newer; a Windows adapter exists as an experimental, untested option.
Best for
- Desktop automation engineers
- AI agent developers
- QA and test automation specialists
- Productivity tooling developers
- Benchmark and evaluation researchers
- Software development
- Automation and agent tooling
How to use
- Confirm macOS 14 or newer, Python 3.12 or newer, and uv are installed, then clone the repository.
- Run uv sync and copy .env.example to .env, filling in the required TypeSafe API key and any optional keys.
- Grant your terminal Screen Recording and Accessibility permissions in System Settings under Privacy & Security.
- Clear the terminal, which is itself OCR input, and run a dry run that prints what one step would do.
- Add the --act flag to drive the machine, adjusting the step limit and delay as needed.
- Stop a live run with Ctrl-C or by moving the mouse into the top-left corner of the screen.
What it can do
How it works
Setup starts from the repository: clone it, run uv sync, copy .env.example to .env and fill in keys, then grant Screen Recording and Accessibility to the terminal. The TypeSafe key is required for every decision; Anthropic keys, an email, and a browser choice are optional. Without Screen Recording, captures are wallpaper, and without Accessibility, synthetic clicks are silently dropped and --act refuses to start. Entry points include clicker and clicker-inspect, both reading the repo-root .env.
Each step reads the frontmost window and accessibility tree, merges them into one numbered item list, adds computed facts, and asks TypeSafe for the kind, item, and site choices. The action then runs deterministically and the next capture is the only evidence of the result. When the classifier stops, the writer reads the screen and either answers or returns a single focus or a question to the user; it does not choose actions. A human still approves machine-driving runs by choosing to add --act and by deciding when to stop.
The agent executes multi-step tasks but requires a dry run first, refuses --act without Accessibility permission, and hands stalled runs back to a writer that only answers or asks for human focus.
Where it fits
- Run a dry-run step for a goal to see what the agent would do before it acts.
- Drive a browser to reach a specific page and complete a multi-step task.
- Replay a stalled run offline from its run folder to diagnose the stop.
- Run a real desktop task in OSWorld beside the benchmark's own GPT agent.
Good fit
- Repetitive Mac goals where a short list of candidate actions covers most steps, such as navigating to a page and picking a dated item
- Cost-sensitive automation loops that want a cheap per-step decision instead of paying for a large model on every action
- Browser tasks on Chrome where the accessibility tree and page structure supply most of what the loop needs
- Teams willing to run dry runs first and replay saved runs offline when debugging a stalled task
Not a fit
- Screens or apps with little labelled structure, since the accessibility tree misses icons and some shells expose almost nothing
- Anyone needing a stable, finished tool, as the project is in beta and settings and behavior can change between 0.x releases
- Windows users expecting a proven setup, because the Windows adapter is described as untested
How to evaluate
- Confirm your macOS version is 14 or newer and Python 3.12 or newer with uv available before installing
- Check that your terminal has Screen Recording and Accessibility permissions, since without them captures or synthetic clicks fail
- Test with a dry run on a representative screen to see whether the classifier's short action list matches what the task needs
- Verify whether your target apps expose labelled controls, since coverage varies widely and OCR only sees text
- Review how much deterministic state your task requires, because reasoning a frontier model does for free must be rebuilt in code here
Our take
This tool narrows computer use to a cheap classifier that picks among a small set of actions, with code computing facts like dates, focus, and URLs and a writing model limited to free text. The tradeoff is explicit: it can be far cheaper and faster per step than a frontier model, but anything the big model infers for free has to be rebuilt as deterministic state. It is a beta aimed at people who want to experiment and can inspect runs when something stalls. The Windows path is described as untested, so treat Mac as the supported ground.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| hermes-agent | — | Supervised | AI researchers, Developers, System administrators, DevOps engineers, Technical founders |
| deer-flow | — | Supervised | Software developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders |
| OpenMausBot | — | Supervised | Developers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools |
| Toonflow-app | — | Supervised | Short drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators |
| rowboat | — | Supervised | Software engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers |
| artemis | — | Supervised | Mobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers |
FAQ
- What does the tool actually automate?
- It drives a Mac toward a goal written in plain English by reading the screen, choosing an action from a short list, and executing that action deterministically. It runs from a command line and can operate in a dry-run mode that prints what it would do.
- How is the cost kept low?
- Most steps are handled by a decision model that answers a multiple-choice question quickly, and a larger writing model is called only when free text is needed or the classifier stops. The source reports per-decision and per-task cost comparisons against a frontier model, with exact figures in the pricing object.
- What does it need installed and configured?
- It needs macOS 14 or newer, Python 3.12 or newer, and uv. You fill in environment keys, with a required TypeSafe key for every decision and an optional writer key, and your terminal must be granted Screen Recording and Accessibility permissions.
- Can I try it without letting it control the machine?
- Yes. Running a goal without the act flag performs a dry run that prints the intended action, and the documentation recommends starting that way since the tool uses the real mouse and keyboard.
- How does a run stop?
- A live run ends when the task is done, when confidence is low, when it detects a stall, or when it hits the step limit. You can also stop it yourself with Ctrl-C or by moving the mouse to the top-left corner, and the writer then reads the screen and prints an answer.
- What happens when the classifier gets stuck?
- The classifier's stop ends its portion of the run, and the writer takes over by reading the screen and answering or handing control back with a focus or a question. The handoff is meant to carry the goal and the history so the larger model does not restart from nothing.
- Is there a way to inspect or replay a run?
- Every run writes to a run folder, and the documentation describes replaying a stalled run offline. A separate inspect command captures the screen and opens an annotated view with the payload.
- Does it work on Windows?
- A Windows adapter exists using UI Automation, SendInput, and Windows OCR, but the documentation calls it untested and likely to break. Differences include English-only OCR without confidence scores, process-name matching for apps, primary-monitor-only capture, and a fallback module invocation when a policy blocks the installed executable.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/typesafe-computer-use"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.