OpenAdaptAI/OpenAdapt

★ 1,909⑂ 0

Compile, verify, and self-heal any GUI workflow or AI agent. 0% silent errors, Ed25519 receipts, 1,000x cheaper & 5x faster once compiled.

About OpenAdaptAI/OpenAdapt

OpenAdaptAI/OpenAdapt is an open-source project on GitHub, mainly written in Python. Compile, verify, and self-heal any GUI workflow or AI agent. 0% silent errors, Ed25519 receipts, 1,000x cheaper & 5x faster once compiled. It currently holds 1,909 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Automation Agent Trending board and on the AI Automation Agent Trending list.

GitHub Repository Details

Repository OpenAdaptAI/OpenAdapt · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

OpenAdapt

Verify, compile, and replay any GUI workflow or AI agent, with a receipt for 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, an on-disk write-ahead log, deterministic compiled replay, and a receipt for each write that records how it was checked.

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, a post-action check, and a signed Ed25519 receipt to any Python function, Playwright helper, MCP tool, or agent with zero YAML files. Run openadapt trust init once so receipts are signed with this computer's key; without a key, receipts carry a SHA-256 digest only and openadapt.wrap says so.

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 caller_check

Check a receipt with openadapt verify receipt.json. It accepts only a receipt signed by a key pinned on this computer (or with --keys FILE), never the key a receipt carries.

To wrap an agent, pass a write-ahead log:

import openadapt
from openadapt.simplex_transducer import WriteAheadSagaLog

safe_agent = openadapt.wrap(your_agent, wal=WriteAheadSagaLog("session.wal"))

safe_agent keeps your agent's act(observation, task) interface. The log is written to disk before and after each save. If the process crashes and restarts with the same run_id and task_id on the task, it skips the saves the log already records as verified instead of making them again. The log keys its records on those two fields, so give every task its own pair; tasks without them share one key.

Try It in 30 Seconds

Run the quickstart against a bundled demo app (no account or API key required). It shows a task once, runs the compiled program and checks the save in the app's database, then stops the runner partway through a batch and restarts it: the restart skips the note that was already saved and saves only the next one.

uvx --python 3.12 openadapt@latest quickstart

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

Verified Results

Counted from the per-run ledgers in benchmarks/public-runs/. Each arm's N runs split three ways. Verified: the arm reported the run done and the benchmark's own checker agrees. Silent error: the arm reported the run done and the checker disagrees. Halted**: the arm stopped without reporting the run done. The strongest baseline is the baseline arm, run on the same tasks, with the most verified runs. A silent-error count reads not measured when the arm's own read-back is the check that scores the run.

| Benchmark | N | OpenAdapt: verified / silent errors / halted | Strongest baseline | Baseline: verified / silent errors / halted | The baseline reports a run done when | |---|---|---|---|---|---| | Real web app upgrades (Gitea, Vikunja, Memos, Mealie) | 60 | 42 / not measured / 18 | Stagehand-style self-heal | 43 / 2 / 15 | every step ran without an error | | Real web app upgrades, paired gemini-3.1-pro-preview (36 of 60 planned tasks; the run stopped at the API's daily quota) | 36 | 34 / not measured / 2 | Unwrapped gemini-3.1-pro-preview | 17 / 0 / 19 | the agent declared the task done | | HealthAdminBench, single tab (gpt-5.4 and claude-sonnet-5-5 pooled) | 24 | 5 / 11 / 8 | Unwrapped, same models | 7 / 17 / 0 | every run; it never escalated | | HealthAdminBench, multi-tab (gpt-5.4 and claude-sonnet-5-5 pooled) | 24 | 11 / 10 / 3 | Unwrapped, same models | 10 / 14 / 0 | every run; it never escalated | | ST-WebAgentBench (GitLab, ShoppingAdmin, SuiteCRM), claude-opus-5-5 | 44 | 0 / 27 / 17 | Unwrapped claude-opus-5-5 | 0 / 44 / 0 | every run; it never escalated |

How each benchmark checks a run, and when OpenAdapt reports a run done:

On the paired gemini-3.1-pro-preview run (36 tasks), the unwrapped agent made 219 model calls and OpenAdapt made 10. OpenAdapt's 27 warm replays made 0.

| Safety benchmark | Measure | Without OpenAdapt | With OpenAdapt | |---|---|---|---| | AgentDojo, gemini-2.5-flash | prompt injections that succeeded | 35 / 48 | 8 / 48 | | AgentDojo, Qwen/Qwen3.5-4B | prompt injections that succeeded | 7 / 48 | 1 / 48 | | AgentDojo, gpt-5.4 | prompt injections that succeeded | 0 / 48 | 0 / 48 | | AgentDojo, claude-sonnet-5-5 | prompt injections that succeeded | 0 / 48 | 0 / 48 | | OS-Harm, 3 models pooled | runs with a harmful outcome or policy violation | 12 / 27 | 3 / 27 | | OS-Harm, 3 models pooled | runs completed under policy | 11 / 27 | 17 / 27 |

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

The paper behind the save-point checks and the write-ahead log is Screenshots Are Not State: Transactional Verification and Compilation for GUI Agents (arXiv:2611.39728).

Works With

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.

The last signed lifecycle snapshot (September 2026) has seven active target admissions. Their evidence class is remote-safe-synthetic, not MockMed production_acceptance. They remain valid until revoked; there's no expiry date. The admitted versions in that snapshot are launcher 1.16.0, Flow 1.35.1, and Desktop's 0.16.0 wheel (pip install openadapt installs the latest PyPI release; see GitHub Releases and PyPI for current package versions, which have not yet been re-admitted to the signed ledger). Native Mac DMGs from that snapshot stay ad-hoc signed 0.15.0; don't treat those as admitted. A Production run still needs a workflow admission for the exact compiled bundle, application, and environment. Check the live signed Production record.

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.

GitHub Stars & Activity

1,909Stars
0Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars1,909
Forks0
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

langgenius / dify

Python★ 162,246⑂ 0
→
2

harry0703 / MoneyPrinterTurbo

Python★ 147,111⑂ 0
→
3

Panniantong / Agent-Reach

Python★ 116,468⑂ 0
→
4

D4Vinci / Scrapling

Python★ 107,481⑂ 0
→
5

mvanhorn / last30days-skill

Python★ 78,936⑂ 0
→
6

apache / airflow

Python★ 47,789⑂ 0
→
7

feder-cr / Jobs_Applier_AI_Agent

Python★ 32,712⑂ 0
→
8

FujiwaraChoki / MoneyPrinterV2

Python★ 32,647⑂ 0
→

More Trending Repositories