[Optima AI Browser]
A browser built for AI assistants.
Clean pages for the agent, a quick tap for the human when it matters.
[tests]
[Glama score]
[PyPI]
[MCP Registry]
macOS · Windows · Linux | MCP server + Claude skill | MIT
Why Optima?
Ordinary browsers are made for human eyes. When an AI assistant drives one, it wastes time and
tokens on ads, pop-ups and cookie walls, loses its logins, and stalls without saying anything
the moment a site asks for a human.
Optima fixes the agent side of browsing, and keeps a person in the loop for the parts that
need one:
Optima does not solve or bypass CAPTCHAs or bot protection, by design. Those checks are
how sites decide who gets in. Optima makes the hand-off to you take seconds instead.
How it works
- macOS: a tiny native app (Swift + the WebKit that ships with macOS) that you compile on
your own Mac during install. Nothing is downloaded, which helps on managed Macs where
installing third-party apps is restricted.
- Windows: uses Microsoft Edge (already on every Windows PC) or Chrome through Playwright.
- Linux: uses Google Chrome if installed, otherwise downloads Playwright's Chromium once.
Install
You need Python 3.9+. On macOS you also need the Swift compiler (Xcode or the Command Line
Tools: xcode-select --install).
With pip (all systems)
Optima is on PyPI and in the official MCP registry as io.github.ascaniolocorotondo/optima-ai-browser.
optima setup opens the first-run window (on macOS it compiles the native engine the first time).
On Windows and Linux, if Playwright has no browser yet: python -m playwright install chromium.
Or run the MCP server without installing anything permanently: uvx optima-ai-browser mcp.
From source: macOS
On macOS the installer also adds Optima AI Browser to ~/Applications. Double-click it to
browse yourself, for example to log in to your sites: your assistant shares the same logins.
From source: Linux
If Chromium complains about missing libraries: sudo ~/.optima/venv/bin/python -m playwright install-deps chromium.
From source: Windows (PowerShell)
The installer copies Optima into ~/.optima, so you can move or delete the cloned folder.
To update, git pull and run the installer again.
First run
The installer opens the Optima window:
- Choose your language. English, Italiano, Español, Français, Deutsch or Português.
Banners and notifications use it; the agent always gets English.
- Connect your assistants. Optima detects Claude Code, the Claude Desktop app and
Google Antigravity, installs its skill and registers its MCP server in each one you pick.
- Log in to your favourite sites in that same window, so your assistant finds you signed in.
Prefer the terminal? sh install.sh --cli (or install.ps1 --cli).
Then restart your assistant and try: "Use Optima to find the opening hours of the nearest
library."
Where Optima connects
Connecting other MCP clients
Any MCP client can use Optima. If you installed it with pip:
From source, use the launcher (no environment variables needed):
On macOS /path/to/python is your python3; on Windows and Linux it is the one in
~/.optima/venv. Copy src/optima/skill/ into your assistant's skills folder if it supports
Agent Skills.
Tools for the agent
The bundled skill (src/optima/skill/SKILL.md) only applies where Optima is turned on: if the
browser_* tools are not available in a chat (for example you disabled the optima MCP server
there), the assistant ignores the skill and uses its usual browser without mentioning Optima.
Where Optima is on, it teaches the assistant when to use Optima (APIs and
connectors first), how to act by element id, when to call you, and to always confirm purchases,
messages and deletions with you.
Configuration
~/.optima/config.json (created on first run):
Data lives in ~/.optima/: config.json, logs/ (one JSON-lines file per day) and, for
Playwright, profile/. The macOS engine keeps cookies in the system WebKit store for the app.
Commands
Run them with PYTHONPATH=~/.optima/app/src (or from the repo's src folder).
Principles
- Humans decide. CAPTCHAs, logins, passwords, payments and one-time codes are always done by you.
- Honest. Optima identifies itself as an AI agent and paces its requests.
- Private. No telemetry. Cookie banners get "reject". Nothing leaves your machine except the
pages you visit and, if you set one, your ntfy notification.
- Accountable. Every action is logged locally.
Roadmap
- Web Bot Auth signed requests, so sites that welcome verified agents can let Optima in without a check
- Multiple tabs and downloads
- Per-site rules (e.g. read-only on banking sites)
- Packaged releases
Contributing
Issues and pull requests are welcome. Keep the principles above: features that help an agent
evade CAPTCHAs, fingerprinting or bot detection won't be merged.
How it was made
Optima is made by Ascanio (@ascaniolocorotondo) with the
help of Claude, Anthropic's AI assistant. It is tested on macOS, Windows and
Linux in CI.
License
MIT