Skip to main content

OpenAdapt

Verify, compile, and replay any GUI workflow or AI agent, with signed Ed25519 receipts on every write.

PyPI Chrome Web Store Hugging Face Veto-4B-r6 License: MIT Docs

Website · Docs · Chrome Extension · Watch Real Runs · Proof · Discord


OpenAdapt wraps browser and desktop agents with before-click verification, post-write read-back, deterministic compiled replay, and signed Ed25519 receipts.

Quickstart

Install

# Run directly with uvx (no install, fetches Python 3.12 if needed)
uvx --python 3.12 openadapt@latest quickstart

# Or install the CLI
pip install --upgrade openadapt
# macOS / Linux via Homebrew
brew install openadaptai/tap/openadapt

For browser workflows with zero CLI setup, install the 1-click Chrome extension: OpenAdapt Co-Pilot on the Chrome Web Store.

Wrap Any Python Agent or Tool in 2 Lines

Add pinned record checks, duplicate-submit protection on uncertain writes, same-screen verification, and SHA-256 or Ed25519 receipts to any Python function, Playwright helper, MCP tool, or agent with zero YAML files:

import openadapt

safe_save = openadapt.wrap(
    save_chart_note,
    pinned={"patient_id": "PT-104"},
    check=lambda out, *a, **kw: out.get("saved") is True,
)
safe_save(patient_id="PT-104", note="Follow-up scheduled")
print(safe_save.last_receipt["outcome"], safe_save.last_receipt["checked_how"])  # confirmed same_screen

Try It in 30 Seconds

Run the local smoke test against a bundled demo server (no account or API key required), or trigger a deliberate drift to inspect a halted run and its signed receipt:

uvx --python 3.12 openadapt@latest quickstart --break-it

Wrap an Agent or Serve Compiled Workflows over MCP

# Wrap any agent with before-click checks and signed receipts
openadapt wrap --task task.yaml -- claude -p "submit the invoice"

# Expose verified workflows to Claude Code, Codex, or Cursor as a local MCP server
openadapt agent serve

# Serve JIT-compiled plans as zero-token stdio MCP tools
openadapt mcpify serve --from-compiled .openadapt/compiled

Record, Compile, and Replay

openadapt record --backend web --url https://staging.your-app.example --out rec
openadapt compile rec --out bundle --name my-first-workflow
openadapt flow replay bundle --url https://staging.your-app.example --run-dir run

flow replay performs every recorded action, including real saves. Use a test or staging copy; it does not ask for approval or check the saved record. For production writes, certify, qualify, and admit the bundle, then run openadapt run (Your first workflow).

Why OpenAdapt

  • Commit-Boundary Verification: Checks active record identity before consequential clicks, checks observable evidence after each action (on the current screen by default, including in-place edits and non-idempotent portals that cannot reload, or via a reopened view, separate read-only session, or direct API/database/file check when available), and stamps how each action was checked (same_screen, reopened, separate_session, or system_of_record) on a signed Ed25519 receipt (inspect a live receipt, receipt reference).
  • Zero-API-Call Compiled Replay (No 429 Limits): Compiles repeated GUI workflows into deterministic programs and direct HTTP or MCP tools, eliminating warm model calls and rate limits (219 -> 10 calls on Gemini 3.1 Pro).
  • Stage-Only & Human Sign-Off in Your Browser (Zero-PHI Local Execution): Runs inside existing authenticated Chrome sessions via OpenAdapt Co-Pilot or local and VPC runners. Screens, typed values, and recordings stay on your machine, and uncertain writes pause for a human to review and approve.
  • Local 4B Verifier (OpenAdapt-Veto-4B-r6): Open-weights 4B local safety verifier on Hugging Face that checks screenshots locally in 3.15 GB VRAM (357 ms latency) before clicks land.

Verified Results

  • 0% silent errors across 60 real upstream web app upgrades (Gitea, Vikunja, Memos, Mealie), with 60/60 signed Ed25519 receipts.
  • 0 warm API calls and no 429 rate limits once compiled (219 -> 10 calls on Gemini 3.1 Pro; warm compiled runs execute in 1.88 s at $0.000015/run).
  • 5x fewer false alarms on Multi-Tab Stanford HealthAdminBench (4.2% vs. 20.8% false escalations, lifting completion to 50.0% with 0 regressions).
  • 0 / 96 prompt injections succeeded on AgentDojo.

Full methodology, benchmark tables, and verifiable raw runs: openadapt.ai/proof and sanitized per-run JSON ledgers in benchmarks/public-runs/.

Works With

  • Coding & MCP agents: Claude Code (claude mcp add openadapt -- uvx --python 3.12 openadapt@latest agent serve), Codex (openadapt wrap -- codex ...), Cursor.
  • Browser automation & sandboxes: Playwright, Browser Use, Browserbase, E2B, Daytona (openadapt wrap --cdp-url "$CDP_URL" --upload -- python my_agent.py). See the cloud sandbox and BYOC guide.
  • In-browser operator workflows: OpenAdapt Co-Pilot Chrome Extension.

Packages & Architecture

pip install openadapt installs the CLI, compiler/runtime engine, and MCP server. Each package installs only what it imports (install weight policy).

Package Role Source
openadapt Unified CLI (quickstart, wrap, connect, record, compile, run, verify, kernel, agent, mcpify) openadapt/
openadapt-kernel Optional alpha extra (pip install 'openadapt[kernel]'). Commit-boundary kernel: default-deny write ledger, wire/DOM commit interceptor, stepwise live-DOM healer, cross-rail oracles, Ed25519 receipts, stdio MCP packages/kernel/
openadapt-flow Demonstration compiler, certification, qualification, governed replay, auto-repair, and BYOC connector packages/flow/
openadapt-agent MCP server, Agent Skills export, and A2A handoffs packages/agent/
openadapt-verify Standalone Python SDK (@verified, checked_write, local JIT compiler, mcpify) packages/verify/
openadapt-copilot Chrome Extension for recording, stage-only review, and human sign-off inside existing browser tabs packages/flow/chrome_extension/

Supporting packages in this monorepo: openadapt-desktop, openadapt-types, openadapt-capture, openadapt-privacy, and openadapt-tray. Research repositories live separately: openadapt-evals and openadapt-ml.

Documentation

Release status

The block below is generated from the signed public lifecycle record.

PyPI shows the README as it was at release and never updates it, so this copy leaves the status out. Check the live signed Production record for the current status.

Contributing & License

Launcher, kernel, engine, MCP server, desktop app, and contract changes live in this monorepo.

Contribution guide · Issues · Discussions · Report a vulnerability · Code signing policy

Maintained by OpenAdaptAI under the MIT License.

Metadata

Release files for openadapt 1.25.0

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

Source distribution (sdist)

Source distribution for openadapt 1.25.0
File Size Uploaded Provenance Actions
openadapt-1.25.0.tar.gz 415.8 kB With provenance Details for openadapt-1.25.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openadapt 1.25.0
File Interpreter ABI Platform Actions
openadapt-1.25.0-py3-none-any.whl Python 3 none any Details for openadapt-1.25.0-py3-none-any.whl

Total release size: 820.8 kB

Release files / openadapt-1.25.0.tar.gz

Download URL openadapt-1.25.0.tar.gz
Size 415.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d6d3913e93c9f38122564541cae25336a990286c76410eff122137279a7988ac
BLAKE2b-256 checksum
How to use checksums
03335b04e26bafa2bd90033eddb48bc2d27448bad2e84f886f0a4d994cacf12b
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 30, 2026.

Transparency log

Release files / openadapt-1.25.0-py3-none-any.whl

Download URL openadapt-1.25.0-py3-none-any.whl
Size 405.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0959d17a1f76e055ec851dcb740088f6d0f071bce3b76e9292015ea00844ab7
BLAKE2b-256 checksum
How to use checksums
62b00f0f578589e6d265921620b5e41a3cc84e4d7034f2fa7d64655eb948b8dd
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 30, 2026.

Transparency log

Security for openadapt 1.25.0

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 openadapt-1.25.0.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 30, 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.

Release history Release notifications | RSS feed

This release

1.25.0 This release

2 release files Full provenance

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