Skip to main content

Open Frame

Open Frame

Open Frame is how an agent uses a Mac. It finds what is on screen, does the step, and checks the result. The model plans. Open Frame executes.

PyPI Apache 2.0 macOS Beta

Open Frame finding, clicking, and verifying Post payment on an invoice

Above: Open Frame drives a live invoice UI — FIND “Post payment”, CLICK the match, VERIFY “Payment posted to Northline.”

  • Anything on the display. Outlook, Finder, Calendar, a browser. The target is the pixels, not a DOM.
  • MCP tools dry-run unless you send the action.
  • A failed step keeps before and after screenshots.
python -m pip install "off-camber-open-frame[mcp,ocr,act,flow,template]"

macOS, Python 3.11 or newer, Beta. The install steps cover the Python version and the case where Homebrew belongs to another account.

Open Frame is an independent project and is not affiliated with or endorsed by any third-party automation vendor.

Why this exists

Browser agents read a page's structure. They stop where there is no DOM: a mail client, Finder, a system dialog. Licensed RPA sells that capture-and-click loop per bot. Open Frame is the open execution layer an agent calls over MCP: find a target on the screen, perform the step, and return a structured result with the screenshots.

Status

Beta (v0.3.1) — macOS-first. Available on PyPI as off-camber-open-frame. Evidence for this release comes from CI plus a local macOS live gate (including MCP stdio smoke); see release gates. Changelog: CHANGELOG.md.

Who this is for

  • Developers automating desktop workflows.
  • Teams who want agent-callable UI execution without bloating context windows.
  • Contributors building recognizers, flows, or integrations.

Install on a Mac

Open Frame requires Python 3.11 or newer. That requirement is requires-python in the package metadata. Releases are tested on Python 3.11 and 3.12. macOS only.

python3 on a Mac is often older than that. Pip 21.x then reports No matching distribution found and from versions: none, because it never reads the current package index. Check python3.11 before installing.

1. Check Python

python3.11 --version

If that command is not found, Homebrew's interpreter may still be installed for another account:

/opt/homebrew/bin/python3.11 --version

You want a version of 3.11 or newer. If neither command works, install Python from the macOS account that owns Homebrew:

brew install python@3.11

Installing the official macOS package from python.org also works. Leave /opt/homebrew owned by the account that installed Homebrew.

2. Check Tesseract

tesseract --version

When the command is missing and this account can write to Homebrew:

brew install tesseract
tesseract --version

When brew cannot write to /opt/homebrew/Cellar, Homebrew belongs to another account on this Mac. From that account, run brew install tesseract, or brew upgrade tesseract when an older copy is already installed. Leave ownership of /opt/homebrew unchanged. The binary is then shared. If the shell still cannot find tesseract, call /opt/homebrew/bin/tesseract.

3. Create a virtual environment

Do this once, using the interpreter from step 1:

python3.11 -m venv ~/open-frame-env

When python3.11 is not on PATH:

/opt/homebrew/bin/python3.11 -m venv ~/open-frame-env

4. Activate that environment

Do this in every new terminal. Activating an environment that already exists is a separate step from creating it, and it applies only to the current terminal:

source ~/open-frame-env/bin/activate

5. Upgrade pip and install

python -m pip install --upgrade pip
python -m pip install "off-camber-open-frame[mcp,ocr,act,flow,template]"

python -m pip installs into the environment you just activated. The command installs the latest stable release, which is 0.3.1. The package is still labelled Beta.

That command installs the standard extras: ocr, act, flow, mcp, and template.

The agent extra is not part of it. That extra installs the Anthropic SDK for the optional agent loop. Leave it out unless you want that loop. In the same activated environment:

python -m pip install "off-camber-open-frame[agent]"

From a clone of this repository the editable form is python -m pip install -e ".[agent]". That form is for a checkout, not for a copy installed from PyPI. See agent setup.

6. Diagnose

python -m openframe.cli doctor

Run doctor with this environment's Python. A shell can still resolve a bare open-frame to another install, such as /opt/homebrew/bin/open-frame from a different account. That process checks the other Python and reports mcp and template as missing even when this environment has them. The python line of the report includes the interpreter path. It should sit inside ~/open-frame-env.

All required checks should report pass (overall: ok). After the standard install, extra_agent is skip with optional, not installed (anthropic). That row is a note, not a hint, and it does not change overall. A fail is a problem to fix: a missing Tesseract binary, a privacy denial, or a package this environment cannot import. Screen Recording and Accessibility show up as their own checks.

On macOS, grant your terminal or IDE host Screen Recording and Accessibility (System Settings → Privacy & Security), then restart that app. Those are privacy permissions. They are separate from a failed install and from a missing Tesseract binary.

If a required check fails, see troubleshooting.

7. Connect an MCP client

python -m openframe.cli doctor --mcp

This fails when the mcp, act, or ocr extras are missing. When they are installed it starts the server, lists its tools, and prints a client config that uses the absolute path of the current Python. Screen Recording and Accessibility must be granted to the MCP client (Cursor or Claude Desktop), not the terminal that ran doctor.

More client examples: MCP server setup.

open-frame mcp serve

8. Run a first flow

open-frame find "Submit" --json

Exit 0 with "count": 0 means the command worked and that text was not on screen. A missing permission or a capture failure is a non-zero exit.

# Write a one-step flow in the current directory. It does not click or type.
# A dry-run still captures the screen before and after the step.
cat > hello.yaml <<'EOF'
name: hello
steps:
  - id: pause
    kind: wait
    ms: 1
EOF
open-frame run hello.yaml --dry-run --json

Those before and after images are saved with the run.

Artifacts for that run are written to an absolute directory: ~/.openframe/runs, or OPENFRAME_RUNS_DIR when that variable is set. Remove old runs with open-frame runs prune --older-than 7d --keep 20.

With the environment activated, open-frame is the same program. Prefer python -m openframe.cli when a machine has more than one install, so the command cannot pick up a different interpreter.

Local development (repo clone)

python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev,ocr,act,flow,mcp,template]"
open-frame doctor
open-frame mcp list-tools --json

If python3.11 is not available on a fresh macOS machine:

brew install python@3.11

Next steps

License

Apache License 2.0 — free to use, modify, and self-host. See LICENSE.

Metadata

Release files for off-camber-open-frame 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for off-camber-open-frame 0.3.2
File Size Uploaded Provenance Actions
off_camber_open_frame-0.3.2.tar.gz 123.2 kB With provenance Details for off_camber_open_frame-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for off-camber-open-frame 0.3.2
File Interpreter ABI Platform Actions
off_camber_open_frame-0.3.2-py3-none-any.whl Python 3 none any Details for off_camber_open_frame-0.3.2-py3-none-any.whl

Total release size: 213.1 kB

Release files / off_camber_open_frame-0.3.2.tar.gz

Download URL off_camber_open_frame-0.3.2.tar.gz
Size 123.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cc480b68a373c714d658f905d0f50a9f082f263fcad6546affa48e64d17324ac
BLAKE2b-256 checksum
How to use checksums
b0ab8dcb392a68fc1931f665db90c8e7746e6d4907fe8c505f3df7ac5e8a56f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / off_camber_open_frame-0.3.2-py3-none-any.whl

Download URL off_camber_open_frame-0.3.2-py3-none-any.whl
Size 89.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7baa91b875d2e585e6b7856f7ea8983bb91182ca5a6cbb352c4c162c9573fda1
BLAKE2b-256 checksum
How to use checksums
5922021b8cbb8ae228299dd409a71b1c0100f06a56f0710195b110d7dc54c862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for off-camber-open-frame 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for off_camber_open_frame-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page