Fazm - macOS Desktop AI Agent with ScreenCaptureKit and Accessibility APIs
Fazm - macOS Desktop AI Agent with ScreenCaptureKit and Accessibility APIs
Fazm is a macOS desktop AI agent that controls your computer through native APIs. Not screenshots sent to a cloud model. Not browser automation pretending to be desktop control. Actual native macOS integration using ScreenCaptureKit and accessibility APIs.
How It Works
ScreenCaptureKit provides high-performance screen capture at the system level. Instead of taking screenshots and parsing pixels, Fazm captures individual windows and screens with minimal performance overhead. This gives the agent real-time visual context without the latency of traditional screenshot approaches.
The accessibility API (AXUIElement) provides the interaction layer. Every button, text field, menu item, and control in every application is available as a structured element with exact coordinates, roles, and states. The agent clicks, types, and navigates using the same interface that macOS screen readers use.
Why Native Matters
Browser-based agents work in browsers. Desktop agents that relay through cloud VMs add latency and security concerns. Fazm runs on your Mac, controlling your actual applications, with zero data leaving your machine unless you choose a cloud model provider.
The native approach also means speed. Accessibility API calls complete in milliseconds. Screen capture through ScreenCaptureKit runs at frame rate. The agent can interact with applications faster than a human can follow.
What It Can Do
Any task you do manually on your Mac, Fazm can automate. File organization. Application control. Multi-app workflows. Form filling. Data extraction. The scope is not limited to one app or one domain because the accessibility API is universal across macOS applications.
Open Source
The entire codebase is open source. You can inspect every line of code, verify the security model, and contribute improvements. No black box agent running on your machine - you see exactly what it does and how.
Fazm is an open source macOS AI agent. Open source on GitHub.