# Compile repeating UI tasks into verified programs

> OpenAdapt makes the entries your computer-use agent repeats faster and cheaper, and checks each save against the record. Your agent does a task once, and OpenAdapt compiles that run into a program your agent can call. The program confirms the right record, waits for approval, reads the save back and reports a plain outcome, without model calls or screenshots.

- Canonical: https://openadapt.ai/partners
- Updated: 2026-11-25

*Video — One referral, three ways: Real recordings, sped up: by hand, an AI agent and OpenAdapt. Synthetic patient.*

## How OpenAdapt works with your agent

- **Your agent calls OpenAdapt** (Tested): Your agent picks the program and supplies the values, and OpenAdapt makes the entry, checks it and returns the result. Your agent never sees the screens or the typed values. We tested this path on our synthetic sandbox.
- **Your agent shows the task once** (Tested): OpenAdapt compiles your agent's successful run into a program. After a person accepts the program, later entries run without model calls. Our test used a recorded agent run in our synthetic clinic app.
- **Check any save** (Tested): OpenAdapt can read the system's own record to say whether a save by your agent, a script or a person landed. We tested the check on our synthetic apps.

## Your agent alone and with OpenAdapt, measured

On a test copy of OpenEMR, we timed OpenAdapt and an AI agent working alone as each entered new-patient referrals. OpenAdapt was as accurate as the agent, and both saved 62 of 63 referrals correctly. OpenAdapt followed the same path on each run and sent no screens to a model. Its runs cost $0, and the agent cost about $0.08 a referral. OpenAdapt was also faster, with a median run of 29.7 s against 36.5 s for the agent. The agent was Claude Sonnet 5.5 (model ID claude-sonnet-5-5). [The full comparison](https://openadapt.ai/compare/computer-use-agents) · [the demo](https://openadapt.ai/#compared).

Your agent keeps the work it is good at, which is taking on new tasks, reading a fax, deciding what to enter and showing a fix when the app changes. OpenAdapt runs the repeated entry as a program, so your agent no longer has to drive the screen for it, and OpenAdapt checks each save. [What OpenAdapt adds to your agent, row by row](https://openadapt.ai/compare/computer-use-agents#glance).

## Who does what, today and with OpenAdapt

| Step | Today | With OpenAdapt | Status |
| --- | --- | --- | --- |
| A fax arrives; extract the details | Your agent | Your agent, or OpenAdapt's intake from a PDF, fax image or email | Intake tested on synthetic documents |
| Screen and decide | Your ops team | Your ops team, unchanged |  |
| Find the patient; create the chart if new | Clinic staff | OpenAdapt | Recorded on OpenEMR |
| Approve the entry |  | Clinic staff, on the computer or a paired phone | Tested on our synthetic apps |
| Save, read back, compare every field | Clinic staff, by eye | OpenAdapt | Recorded on OpenEMR |
| Add the referral entry, a scheduler task, the document | Clinic staff | OpenAdapt |  |
| Report the result to your product | Your ops team | OpenAdapt | Tested on one computer |

## What your system gets back

Each request gets a plain result that says what your system should do next. An entry that was done and checked also gets a receipt, which holds no patient details.

| Result | For the chart | Your system |
| --- | --- | --- |
| Done and checked | Saved and read back from the EMR's own data; every check passed. | Store the receipt; mark the referral filed. |
| Stopped before saving | The run confirmed that nothing was written. | Show the reason. A person decides before anything is sent again. |
| Check the record | A save may have gone through. | Don't send it again. A person checks the chart first. |

## Who approves

By default a person at the clinic approves every save. A person can also sign a grant that lets a named agent or system answer saves for one workflow, and the result says who approved. Once a workflow passes its readiness test, it can ask a person only about problems.

## A pilot with one clinic

OpenAdapt is built to run in production, where admissions are signed and the record is checked whenever a program saves. It runs locally or in your VPC, and the Enterprise plan can include a BAA. Before it touches a real record, we qualify it on your system against your normal and fault cases.

|  | In a pilot |
| --- | --- |
| You send | The EMR and version, how staff reach it, whether a second way to read the record exists, a recording of a filing on a test patient, and 10 synthetic referrals. |
| We do | Build the program, run the readiness test, and tell you which result that setup can reach. On our own test system, recording, building and a first practice run of an OpenEMR new-patient entry took one day; at a clinic, access to the EMR usually sets the calendar. |
| Success | Criteria you set before the build, for example which cases must stop and that each saved entry reads back. |
| Price shape | A design pack for one EMR version, then a monthly fee per clinic plus a fee per filing. We quote the numbers for your pilot. |
| Test setup | Test patients or a test copy of the clinic's EMR. Nothing touches a real chart before written go-live approval. |
| If it ends | The engine is open source, and you keep the programs and run records. |

Our measurements used test copies of OpenEMR 8.0.0.3 with synthetic patients. OpenEMR is the open-source EHR whose 7.0 release is ONC-certified. In a pilot, the program runs on a computer at the clinic, and we qualify it on the clinic's own EMR before go-live. [What we've tested](https://openadapt.ai/product#tested).

## For your privacy officer

In a pilot, your product sends the request with the referral's details through OpenAdapt Cloud to the clinic computer. The clinic computer types in the EMR session, keeps the full run record and shows the approval screen. Results and receipts come back to you with no patient details. We state the hosting region in writing before a pilot. [Security and the data map](https://openadapt.ai/security).

## Questions partners ask

### What if a clinic's EMR has no second way to read the record?

Then OpenAdapt can type and stop there, but it can't report "Done and checked", and we won't run that program for your requests. We find this out on the first call.

### Should we use the EMR's API instead?

Yes, use the API where a clinic's EMR has an approved one for the step. OpenAdapt covers the clinics that are still waiting for API access and the steps an API doesn't reach. See [API or screen automation?](https://openadapt.ai/compare/api).

### Which price applies to us?

The partner price shape above applies to you, and we quote the numbers for your pilot. The prices on the Pricing page are for clinics and insurers buying directly.

### For your engineers

Give your agent OpenAdapt's tools over MCP (Claude Code shown; any MCP client works). The agent lists approved programs, runs the program it needs with its values and gets back a status, counts and a short fixed sentence. It doesn't get screens or typed values. `openadapt agent serve` ships in the openadapt launcher 1.17.0.

```bash
claude mcp add openadapt -- uvx --python 3.12 openadapt agent serve
```

To compile an agent's run, record the agent's successful run through OpenAdapt's recording tools. The draft program can't run until it has an admission from a person, an admitter key, or an agent acting under a person-signed policy. To judge a save made by anything else, run openadapt-flow verify-run against the system of record.

The open-source engine includes a reference execution server that runs on one computer. Send openadapt.execute-request/v1 to POST /v1/executions, poll GET /v1/executions/{id}, then read GET /v1/executions/{id}/receipt. The server signs its receipts with a local key (self-signed), and it has no webhooks. It returns these outcomes: verified (store the receipt), halted_before_effect (resend only after a person decides), reconciliation_required (never resend; a person checks), rejected_policy, failed_platform and rolled_back_verified. The server has two known defects: its catch-all can sign failed_platform after a write may have landed, and a missing transaction outcome maps to halted_before_effect. Until they are fixed, treat failed_platform and halted_before_effect as reconciliation_required. More in [How OpenAdapt works](https://openadapt.ai/product#how).

## Sources

1. Referral timing run, local OpenEMR 8.0.0.3 test copy, 14 to 15 Oct 2026 ([run data](https://github.com/OpenAdaptAI/OpenAdapt/tree/main/packages/flow/benchmark/openemr_referral_timing)): 8 synthetic referrals, OpenAdapt (a program compiled to find each field by the page's structure, 0 model calls) against Claude Sonnet 5.5 (claude-sonnet-5-5) as a computer-use agent in a capped harness, warm starts, interleaved blocks, each chart read back from the database. Blocks 2 to 10, normal referrals saved correctly: 62 runs each; median 29.7 s (OpenAdapt) and 36.5 s (agent); agent median $0.083 a run at list price. Both 62 of 63 normal referrals correct; on the possible duplicate, no new chart in 9 of 9 for both. Block 1 left out (CPU shared with another process); with it (blocks 1 to 10), 69 of 70 correct for both, 29.7 s and 37.6 s (n=69 each). The same task from the 10 Oct recording without the page's structure: 62 of 63, 38.6 s median, slower than the agent.
2. OpenAdapt on OpenEMR 8.0.0.3 (open-source EMR), local test copy, 11 Oct 2026. One program ran over 8 synthetic eReferrals in one batch, with 0 AI model calls. 7 new patients were saved; our test setup read each chart back through the OpenEMR API and database, and 12 of 12 fields matched the referral. The 8th (Rosa Delgado, same name as an existing chart, different birth date) stopped at the EMR's duplicate check; afterwards no new chart existed. The engine labels the saved runs "Finished, not checked" (practice profile) and the stop "Check the record".
