lifan-builds/faster-mac-use
A local MCP engine for background control of signed-in Chrome and native macOS apps
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
cua MCP tool with element IDs and +/~/- UI diffs; fmu also runs from the CLI.AXUIElement handles and tracks changed subtrees through AXObserver.@ocr1 without sending image tokens to the model on that path.FMU_TRACE captures CLI or MCP sessions; fmu replay renders HTML or SVG with element changes, timings, and token counts.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.
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.
Quick Start & Installation
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
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| faster-mac-use ★ | 29 | +13 | Python | AGPL-3.0 | A local MCP engine for background control of signed-in Chrome and native macOS a |
| chrome-devtools-mcp | 60.4k | +801 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| agent-browser | 55.4k | +1.1k | Rust | Apache-2.0 | Rust CLI and stdio MCP for agents that read and act on live web pages |
| agents | 43.2k | +221 | Python | MIT | One Markdown plugin catalog adapted to seven AI coding tools |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/lifan-builds/faster-mac-use.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about faster-mac-use
How does an MCP client connect, and when is the Chrome extension required?
uvx --from faster-mac-use fmu mcp as a local stdio server. It exposes a single stateful cua tool. Playwright headless mode does not need an extension; controlling signed-in Chrome tabs requires loading the bundled unpacked MV3 extension.Does it need a dedicated GPU, and what drives local resource usage?
Can a company self-host it or include it in a commercial service?
When is it a better fit than Playwright MCP or pixel-based computer use?
@playwright/mcp if browser-only testing covers the job. Use fmu when a workflow needs both signed-in Chrome and native macOS apps, or when incremental UI state materially reduces repeated reads. Pixel-based computer use remains useful when controls are missing from the DOM and accessibility tree and OCR cannot identify them reliably.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy