Agent Safari

•
1
•

Empower AI agents to control and observe a real Safari/WebKit browser session on macOS through a local-first command-line interface.

Agent Safari is designed specifically for AI agents requiring an observe → act → verify loop within a genuine Safari/WebKit browser environment. Unlike traditional browser automation tools built for deterministic test scripts, Agent Safari provides a human-observable, local-first macOS solution, enabling agents to inspect rendered pages, perform actions via simple tool interfaces with agent-friendly element references, and verify outcomes through screenshots and network activity capture. It integrates with MCP-capable agents and offers a native WebKit window without needing external services like Playwright or Chrome.

Características Principales

01Native macOS WebKit/WKWebView browser window for genuine Safari behavior and human observability.
02CLI-first control surface with JSON responses and an MCP wrapper for AI agent integration.
03Agent-friendly element references (e.g., `@e1`) from snapshots for simplified click and fill actions.
04Comprehensive screenshot capabilities, including viewport, full-page, and element-specific captures.
05Local fetch/XHR network activity capture with redacted JSON export for verification and debugging.
061 GitHub stars

Casos de Uso

01Automating web workflows with AI agents in a local Safari/WebKit environment.
02Testing web application compatibility and behavior specifically within Apple's WebKit rendering engine.
03Providing AI agents with precise, observable browser control and robust verification mechanisms.