Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

OpenAdapt: your agent decides, OpenAdapt enters it and checks it saved

Latest version: v2.2.4

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
MCP server Transport: stdio Publisher: OpenAdaptAI
1,901 Stars
286 Forks
5 Versions
Python Repo language

Scan summary

OpenAdapt: your agent decides, OpenAdapt enters it and checks it saved was last scanned on 25 Nov 2026 at version 2.2.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions; the latest 2 were published within 3 days (23–25 Nov 2026).
  • Findings: No rules fired in version 2.2.4.
  • MCP server: Runs over stdio.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.2.4 LATEST 25 Nov 2026 No rules fired
2.2.3 23 Nov 2026 Not shown
2.2.0 17 Oct 2026 No rules fired
2.1.0 15 Oct 2026 Not shown
2.0.1 23 Jul 2026 Not shown

No rules fired in 2.2.4

Findings

Findings for v2.2.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.2.4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

OpenAdapt

Give your agent a program, not a mouse.

The open-source, verified execution layer for computer-use agents.

CI Packages CI PyPI Python 3.11–3.12 License: MIT Discord

What it can do · Documentation · Quickstart · Live demo · Website · Get updates · Discord

A computer-use agent looks at the screen and chooses every click again, on every run. OpenAdapt lets a person record a task (once for a simple path, or a few times with openadapt compile --induce to cover variations), or lets an AI agent perform it once while OpenAdapt records it, ideally on test data, in a web, Windows, macOS, Linux or remote-desktop app. It compiles the demonstration into a program, and your agent calls the program as one tool. The program runs with no model calls and sends no screenshots anywhere. It confirms the right record before each save, checks the save after it, and returns a plain outcome that says how the save was checked. When anything doesn't match, it stops and tells your agent instead of guessing.

Measured on OpenEMR and openIMIS

One new-patient referral in a test copy of OpenEMR, the open-source EHR whose 7.0 release is ONC-certified, timed from a fresh browser through sign-in, the entry and the saved record read back (median):

Who does the entry Time per referral Saved correctly Model cost
Agent alone (Claude Sonnet 5.5 computer use) ██████████████████ 36.5 s 62 of 63 about $0.08
OpenAdapt program, screen steps ███████████ 22.5 s 18 of 18 $0
OpenAdapt program, API step ██ 3.3 s 18 of 18 $0

The API step replaces the program's 41 screen steps with the one form submission the app itself sends, then reads the record back. In both program rows a possible-duplicate referral stopped without saving, as it should. Both program rows ran on 19 Oct on one copy of the app, interleaved, with the approval gate off; the benchmark harness admitted the API step. The agent row is the 14 to 15 Oct timing study, on its own copy of the app. SCOREBOARD.md has every run.

On a test copy of openIMIS, the open-source insurance and claims system that runs Nepal's national health insurance scheme, the compiled program entered 149 synthetic claims with no model calls: 148 read back correct and none were saved wrong. Each saved claim was checked through a read-only database role on the test copy; the 149th stopped before saving (SCOREBOARD.md).

One harness, three modes

Mode What happens Model calls
Explore A person records the task (once, or several times with openadapt compile --induce for variations), or an AI agent runs it once while OpenAdapt records every action, ideally on test data. The save is checked before anything compiles. Your agent's, on your own key
Run The compiled program repeats the task with new inputs. It checks the record before each save and reads the result back after. None
Repair When the app changes, the run stops before saving. An agent shows the fix, the program tries it up to the save without saving, and a person approves it. Only when something changed, on your own key

The 3-level verification ladder

Most enterprise deployments do not give an automation tool direct SQL access, and OpenAdapt does not require it. OpenAdapt picks the strongest layer the app supports:

  • Promote to API or MCP when an endpoint exists: Record the task in the GUI, compile it into direct form/RPC calls and MCP tools (openadapt-agent serve) whenever the app exposes an endpoint, and avoid replaying pixels where a compiled API step is ~7x faster (3.3 s vs. 22.5 s on OpenEMR above).
  • Level 1 (Before-click local guard: 100% of apps, 0 DB needed): Checks the active record and entity identity across tabs, enforces policy and consent gates before consequential writes, and checks screenshots locally for UI drift or prompt injection. If anything looks wrong, it stops and asks a person instead of guessing.
  • Level 2 (Post-action UI and confirmation read-back: ~90% of portals, 0 DB needed): Reads back submitted fields, server confirmation IDs, or generated PDFs in a separate session to confirm what the portal actually recorded.
  • Level 3 (Direct API or DB read-back: optional upgrade): When you own the system or have read-only FHIR, REST, or SQL access, reads the system of record directly and mints a signed VERIFIED receipt.
Why independent checks beat a "Saved" screen

In controlled fault tests, a success banner on screen is not enough to prove a write landed. We injected 8 kinds of bad save into a test app (a save that never landed, landed partly, landed twice, went to the wrong record, or changed another record), 9 runs each, alongside clean runs:

How the save was checked Bad saves reported as saved
The app's "Saved" message on screen 54 of 72
A read of the record over the app's REST API 9 of 72 (all writes to a table it didn't read)
A read of every table in the database 0 of 72

The test app's database is SQLite with two record tables, so "every table" there is two tables; a real system has many more. Separately, 9 of the 18 correct saves stopped in every arm because the server committed the save after its response timed out, so the write step halted before any read-back ran. EFFECT_E2E.md has the fault set, the method and the raw results.

An agent working alone misses the same faults. In controlled runs on OpenEMR and MockMed with 30 injected bad saves each, Claude Sonnet 5.5 computer use reported all 30 bad saves as done. Running openadapt-flow verify-run caught 25 of 30 on OpenEMR and 30 of 30 on MockMed, while confirming all clean saves with zero false alarms (SCOREBOARD.md).

Try it in one command

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

No account or API key. uv fetches Python 3.12 if you need it, and @latest runs the newest release. With Python 3.11 or 3.12 already installed, python -m pip install --upgrade openadapt then openadapt quickstart --break-it does the same. The browser runs hidden and progress shows in the terminal; add --watch to see the browser window.

What it shows

The command runs a synthetic clinic task twice on your computer. The first run saves an entry and confirms it through the app's read-only API. For the second run, the test server is set up to reject the save, so it never reaches the record. This is the output from openadapt 1.17.0, with the break-it lines in the current wording:

[1/5] Record the demonstration against a real persistence boundary
[2/5] Compile and propose a fixture-specific effect contract
[3/5] Certify against the clinical-write policy
[4/5] Admit and execute under the standard profile
      VERIFIED in 5.6s; 0 model calls; the system of record holds 1 record(s)
[5/5] Emit the local run receipt
...
--- break-it: the same certified bundle, with the save set to fail ---

  Injected fault:      'optimistic' -- the server rejects the write
  On screen:           every on-screen check passed, including the saved message
  The verifier found:  1/2 declared effect(s) REFUTED by an independent
                       read of the system of record, which holds 0 record(s)
  The engine did:      HALTED at the consequential step instead of claiming
                       success (transaction: RECONCILIATION_REQUIRED, billable: no)
  Result:              Check the record. A save may have gone through. A person checks the record before anything is retried.

The quickstart tutorial walks through every line.

Build with it

Compile your agent's run

Your agent (Claude or OpenAI computer use, or your own loop, on your own model key) does the task once while OpenAdapt records it, ideally on test data. A person reviews and admits the draft program, or a registered agent admits it under a policy a person signed. After that, the program runs instead of the agent.

from openadapt_flow.jit import compile_agent

jit = compile_agent(my_agent, task=task, app=app, verifier=verifier,
                    policy="clinical-write", cache_dir="jit-cache", model_key=key)
jit.run(note="Follow up in two weeks")    # the agent does it; a DRAFT is saved
# a person reviews, runs the canary, and admits the draft
jit.run(note="Recheck knee in ten days")  # the program runs: 0 model calls, save read back

Compile a computer-use agent's run has the full example. The same path takes an agent's run through the web, Windows, macOS, Linux, RDP and Citrix backends.

Call programs from your agent
claude mcp add openadapt -- uvx --python 3.12 openadapt-agent serve

Each compiled workflow becomes one tool call. The agent decides what to enter; OpenAdapt makes the entry, checks it, and returns an outcome instead of the agent driving the screen. With no bundles, the server offers a synthetic sandbox workflow that returns every outcome. To serve your own workflows, run openadapt services agent serve --mode production --bundles ./bundles; without --mode production the agent can list them but not run them. openadapt-agent emit-skill <bundle> writes an Agent Skill for one workflow, and openadapt verify effect judges a write made by any agent or script against the system of record. openadapt hooks install --agent claude-code (or codex) checks a coding agent's writes to the databases, APIs and MCP servers you declare: each is pre-checked, read back and given a signed receipt. The hooks are advisory; see HOOKS.md. Connect an agent covers other clients.

Hand results from agent to agent

When one agent hands a result to another, the run's signed receipt goes with it, and the receiving agent verifies it against keys it pins:

openadapt handoff send result.json --run RUN_DIR --out result.handoff.json
openadapt handoff verify result.handoff.json --keys trusted-keys.json

The verdict says who signed, which checks passed and which were not checked, and any change confirmed in the other party's own system. A valid signature proves who signed, not that the claim is true. Handoffs travel over MCP (serve --handoffs), HTTP and webhooks (--post URL), files and email (--detached), and the A2A (Agent2Agent) protocol (openadapt agent serve --a2a, with an Agent Card, after pip install 'openadapt[a2a]'). HANDOFFS.md has the details.

Record a task by hand

Recording works the same way on every surface; only the target differs: --url for a web app, --window (and --window-title) for a Windows or macOS app window or a local RDP or Citrix client window. Linux and network RDP record the whole local desktop, so they take no target.

python -m pip install --upgrade openadapt
openadapt record --backend <web|windows|macos|linux|rdp|citrix> <target> --out rec

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

# A desktop app (macOS here; Windows and Citrix take --window too).
# Desktop recording and macOS replay are separate extras.
python -m pip install --upgrade 'openadapt[capture,macos]'
openadapt record --backend macos --window "Your App" --out rec
openadapt compile rec --out bundle --name my-first-workflow
openadapt run --replay bundle --macos-app "Your App" --run-dir run

run --replay drives the app and performs every recorded action, including saves you can't undo. It doesn't ask first and doesn't check the saved record. Point it at a test or staging copy, never at production data.

The commands for every surface, including Linux, RDP and Citrix, are in SURFACES.md.

The existing engine command remains available for scripts:

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.

A program that writes to a real system also needs record checks, a deployment file, certification, qualification, and an admission; then openadapt run runs it. By default each save waits for a person to approve it in OpenAdapt Desktop or on a paired phone. Your first workflow walks through it. Several recordings of the same task can become one program with branches and loops (openadapt compile --induce).

To record a desktop app, install the recorder and your operating system's adapter, for example python -m pip install "openadapt[capture,windows]", or use OpenAdapt Desktop.

openadapt --help lists the task commands. openadapt wrap --help shows the options for running an agent task once and reusing its checked compiled tool. The CLI reference lists task paths and their original aliases.

Judge or train any agent

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.OpenAdaptAI/openadapt-agent

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229