# Repository Briefing: lifan-builds/faster-mac-use
> Source: https://repoforai.com/repo/lifan-builds/faster-mac-use (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/lifan-builds/faster-mac-use
- **Official Docs / Website**: https://clifan.com/faster-mac-use/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: AGPL-3.0
- **Engineering Health**: A (76/100 · Maintenance 35/35 · Adoption 10/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.5.13 (2026-12-04) — https://github.com/lifan-builds/faster-mac-use/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI, Self-Hosted
- **Momentum**: 29 ★ total (+1 24h / +13 7d) · 3 forks
- **Topics**: `accessibility`, `ai-agents`, `browser-automation`, `computer-use`, `cua`, `macos`, `mcp`
- **When to Use**: Best for: Mac-based teams building agents that move between local web QA, signed-in Chrome tools, and native apps without taking over the user’s desktop. Skip if: You need native desktop automation on Windows or Linux, want a browser-only QA stack, or cannot grant agent access to browser sessions and macOS Accessibility.

## Overview
```text
### Architecture & Core Mechanics
Faster Mac Use is a local Python CLI and stdio MCP server. `cua_runtime.py` exposes a single stateful `cua` tool for Python/JS REPL scripts. Scripts retain tab and app references between calls, can batch operations, and read snapshots or element-level `+`/`~`/`-` diffs. The bundled `browser-routing` skill is a separate decision layer: it steers agents toward an API, CLI, or connector when UI automation is unnecessary.

`browser_engine.py` uses Playwright for headless work. For signed-in Chrome, `extension/background.js` connects to `ws://127.0.0.1:19222/ext` and drives background tabs organized into per-session Agent groups. `mac_engine.py` talks to a warm Swift helper over `/tmp/fmu-ax.sock`. The helper caches `AXUIElement` handles and processes `AXObserver` notifications on a dedicated `CFRunLoop` thread, allowing follow-up reads to focus on changed accessibility subtrees.

### Key Capabilities & Differentiators
Headless mode supports viewport changes, layout audits, and error inspection for browser QA. The Chrome bridge works with the user’s signed-in profile, while the native backend drives macOS controls through Accessibility. On Apple Silicon, Vision.framework OCR turns window text into addressable `@ocr` targets without sending image tokens to the model. The CLI and MCP can record traces for HTML or SVG replay, including element changes and per-step timing.

Seven-day agent telemetry records 8,460 calls, with median latencies of 48.8 ms for headless, 103.5 ms for native Accessibility, and 144.5 ms for Chrome MV3. Responses average 576.1 tokens, and 67.0% are compact diffs or unchanged results. A benchmark guard sampling at 50 Hz recorded no cursor movement or focus changes during those runs. Those measurements characterize the tested runtime, not end-to-end agent response time or a guarantee for every app.

### Trade-offs & Limitations
For browser-only QA, `@playwright/mcp` is the simpler fit. Faster Mac Use earns its extra setup when the same workflow must cross signed-in Chrome and native macOS without taking over the desktop. Text diffs save context on stable, structured surfaces, but their usefulness depends on DOM and Accessibility coverage. OCR recovers text from some custom UIs; a pixel-based agent may still be a better choice when the task depends on visual state that neither the tree nor OCR represents.

The extension, Accessibility grants, and optional autofill broker give the agent access to valuable local state. Start with a dedicated Chrome profile, enable only the paths needed, and review traces before sharing them. Agent tab groups organize sessions; they are not a credential isolation boundary. Measure latency and resource use with the intended mix of tabs and apps rather than extrapolating from benchmark medians. AGPL-3.0-only also warrants review before distributing or offering a modified deployment over a network.

### Hardware & Deployment Guide
The package requires Python 3.10+ and `playwright>=1.40.0`. Use `uvx --from faster-mac-use fmu mcp` for local stdio registration, or install with `uv`, `pip`, or the bundled Homebrew formula. `fmu setup --antigravity` installs the Antigravity plugin and routing skill; Claude Code and Codex can register the MCP command directly. Headless mode does not require the Chrome extension. Signed-in Chrome control requires loading the bundled unpacked MV3 extension once; native automation requires macOS Accessibility access and compiles the universal2 helper on first run.

`headlessify` adds optional `curl-cffi>=0.7.0` and `pyyaml>=6.0` dependencies. v0.5.11 added `fmu update` and structured update status; v0.5.12 hardened MV3 tab claims and navigation handling; v0.5.13 added `fmu setup --with-autofill` to wire a companion broker and introduced a form-metadata and OTP handoff. These integrations are optional; start with the backend the workflow actually needs.
```

## Key Capabilities
```text
- Agent interface: One stateful `cua` MCP tool with element IDs and `+`/`~`/`-` UI diffs; `fmu` also runs from the CLI.
- Browser execution: Playwright for headless QA; an unpacked MV3 extension connects over loopback WebSocket and organizes signed-in Chrome work in Agent tab groups.
- Native execution: A persistent universal2 Swift daemon caches `AXUIElement` handles and tracks changed subtrees through `AXObserver`.
- OCR: Apple Silicon Vision.framework produces text targets such as `@ocr1` without sending image tokens to the model on that path.
- Measured performance: Seven-day agent telemetry records 8,460 calls, 576.1 tokens per call on average, and a 67.0% diff-or-unchanged rate.
- Debugging: `FMU_TRACE` captures CLI or MCP sessions; `fmu replay` renders HTML or SVG with element changes, timings, and token counts.
```

## Quick Start / Clone
```bash
uvx --from faster-mac-use fmu setup --antigravity

# Or install the full 'Agent Hands + Vault' bundle (faster-mac-use + Agent Autofill):
uvx --from faster-mac-use fmu setup --antigravity --with-autofill
```
