OpenAI Brought Computer-Use Agents to Healthcare Production, but CVS's Open-Source Code Turns Off the LLM at Runtime
Over the past year, many teams have been asking the same question: can AI agents that read screens, click buttons, and type text actually be deployed in high-compliance, high-volume production environments?
On November 16, 2026, at the HLTH healthcare conference, OpenAI officially opened computer-use agents to the healthcare industry, spanning enterprise healthcare plans, free accounts for verified U.S. clinicians, and the developer API, alongside more than 20 new healthcare plugins. The standout case study was CVS Health. According to OpenAI’s healthcare computer-use post, CVS deployed these capabilities in production so that an agent cleared a months-long document-sending backlog over a single weekend, while another system handles the system steps for tens of thousands of consults every day.
Judging by the headlines alone, it would be easy to assume multimodal
foundation models are now reliable enough to operate hospital and
insurer screens at scale. Yet CVS also open-sourced its production
toolkit on GitHub as cua-agent-kit.
Open its core runtime configuration and you find a revealing setting: a
model is specified only during discovery, while in regular production
execution the model field is explicitly set to None. Under
the toolkit’s default production mode, CVS does not have an LLM clicking
through screens step by step. Instead, it uses AI for upfront
exploration and post-failure repair, compiling repetitive production
work into deterministic code that makes zero model calls.
Why Major Platforms Still Need Screen-Clicking Even After Official API Integrations
To understand why OpenAI is pushing computer-use agents in healthcare, look at how fragmented U.S. clinical software is day to day. A hospital’s electronic health record (EHR) system, scheduling tools, and insurers’ review portals operate in separate silos. When a clinician orders an MRI, the patient’s visit notes and physical therapy records sit inside the EHR, but to get reimbursed, administrative staff still have to log into an insurer’s separate web portal, copy the relevant clinical details field by field, and submit a prior authorization request.
Many legacy systems expose no API at all, or strictly cap what APIs are allowed to do. Just six days before OpenAI’s launch, on November 10, Google Cloud introduced Gemini for Healthcare, connecting directly to major EHR platforms including Epic and Oracle Health. Yet Google’s press release explicitly states that these EHR connectors are strictly read-only and do not write back to the chart, in order to safeguard clinical data integrity.
OpenAI hit the exact same wall. Back on September 1, 2026, OpenAI launched its own Epic EHR integration, and its official help documentation likewise specifies that access is read-only.
Read-only APIs help clinicians look up charts and draft summaries, but they cannot close operational loops. Healthcare startup Assort Health illustrates this half-closed gap clearly: they could already attach a referral to a patient’s chart via EHR vendor Athenahealth’s official API, but the API did not support the final step of closing out the referral and marking it as scheduled, forcing staff to click through the UI manually. After OpenAI made computer-use agents available inside its Codex workbench, Assort Health hooked it up so the agent opens the interface and completes that last step, clearing scheduled referrals off the staff follow-up list.
That is why OpenAI shipped both tracks on November 16. The 20+ healthcare plugins pull in as much medical data and business tooling as possible over standard interfaces, while computer-use agents fill the last-mile gap where APIs do not exist or refuse write-back. Computer use acts as an API gap-filler, not an API replacement.
94.3% on Benchmarks and 99% Clinical Safety — So Why Not Run the Model Live?
If computer-use agents can bridge API gaps, the next obvious question is: why not host an LLM in a cloud browser or VM and let it click through screens tens of thousands of times a day? OpenAI published two headline evaluation numbers, yet engineering teams still hesitate to run live LLM inference in production for three concrete reasons: real accuracy, cost, and unauthorized-action risk.
The first catch is that a 94.3% benchmark score cannot be read as a production completion rate. On Stanford’s healthcare administration benchmark HealthAdminBench, OpenAI reported 94.3% for flagship GPT-6 Astra and 91.8% for lightweight GPT-6 Luna—but those are partial-credit rubric scores across individual steps. In healthcare administration, missing one field or entering one wrong code invalidates the entire submission, and OpenAI did not disclose strict end-to-end pass rates. For reference, in Stanford’s April 2026 paper, the top-performing model already scored 82.8% at the step level, yet achieved only 36.3% on strict end-to-end completion.
The second issue is cost. Lightweight GPT-6 Luna costs 98% less than Astra at 8.5 cents per task, which implies flagship Astra at maximum reasoning effort costs roughly $4.25 per administrative task. Even switching to the 8.5-cent lightweight model adds up to a substantial ongoing bill at tens of thousands of daily runs—before even accounting for the undisclosed end-to-end completion rate.
The third issue is overreach risk. In OpenAI’s internal EHR inbox evaluation, 99% of 325 reviewed tasks were rated clinically safe by physicians, and 93% of ratings called the output very or extremely helpful. Yet in an interview with Fierce Healthcare, OpenAI’s head of Health AI, Karan Singhal, acknowledged that the remaining 1% included cases where the model overreached and took an action without proper sign-off or authorization. Scaled to tens of thousands of daily healthcare transactions, a 1% unsafe rate translates into hundreds of potential mistakes or unauthorized actions every day—something no hospital compliance team will clear.
Put these three constraints together, and they expose a fundamental tension in AI engineering. Over the past year, when generating code or translating long documents, engineers have increasingly leaned on outcome determinism: don’t dictate every intermediate step—just specify clear acceptance criteria and let the agent iterate, inspect errors, and retry until it passes (I explored this distinction between process determinism and outcome determinism in an essay back in January). Translating long posts fits outcome determinism well because an intermediate mistake has no real-world side effect and spending a few extra cents on retries doesn’t matter. Inside EHRs and payer portals, both assumptions break down: strict end-to-end reliability remains unverified, every click can trigger real external writes or unauthorized submissions that cannot simply be retried away, and tens of thousands of daily runs cannot absorb continuous inference bills.
What CVS Actually Built: AI Explores and Repairs, Zero-LLM Code Runs Production
When both pure-AI execution and hand-coded brittle scripts fall short, CVS Health states its core design right in its open-source repository: use AI to discover the steps, then use code to repeat them. Rather than choosing between process determinism and outcome determinism, CVS split them by lifecycle stage—keeping exploration and repair in test environments where outcome determinism eliminates manual scripting labor, and compiling routine high-volume production back into ordinary code to lock in process determinism. The workflow breaks down into four stages.
First is discovery. Engineers do not start by reverse-engineering legacy frontend code. They write the workflow in plain language and let OpenAI’s computer-use agent run it in a test environment. After several successful runs, the system records full screenshots, action sequences, and underlying UI control metadata.
Second is codification. Using Codex conversion skills bundled in the repository, the team compiles those successful traces into ordinary deterministic automation code—established scripting frameworks for both web browsers and Windows desktop apps. The generated scripts bind to semantic locators like button names and form labels rather than fragile screen coordinates, and drop the LLM agent framework dependency altogether.
Third is production execution. When handling routine high-volume traffic, the system runs the compiled scripts directly. No LLM is called, no API key is required, execution speed stays consistent, per-run inference cost drops to near zero, and the model cannot improvise unauthorized clicks. Meanwhile, the scripts still capture checkpoint screenshots, log run status to PostgreSQL audit tables, and archive full evidence bundles to Azure Blob Storage, preserving full compliance traceability.
Fourth is self-healing maintenance. Healthcare and payer portals frequently shift button layouts or add new prompts—historically the maintenance nightmare that broke traditional RPA deployments and forced teams to retain armies of contractors. In CVS’s loop, when a deterministic script breaks, the failure screenshots and execution trace go straight back to Codex to diagnose and patch the script, which engineers then review, test, and redeploy.
This explore-first, codify-later pattern is not unique to healthcare. When having AI write web end-to-end tests in my own work, I ran into the same trap of letting models write blind scripts upfront, and eventually packaged a similar open-source tool called playwright-test-skill: let the agent walk through the live page step by step, observe the state after each click, and only then lock the verified flow into a deterministic Playwright script. CVS has pushed that same pattern into a high-compliance healthcare production setting.
CVS’s own selection guide stays pragmatic and does not sell codification as a silver bullet. It explicitly defines two boundaries where teams must fall back to live model execution: legacy applications delivered via remote desktop that stream only rendered images with no accessible UI controls, leaving scripts nothing to bind to; and workflows that require reading unstructured clinical records to make a judgment call, which call for a hybrid mode where deterministic scripts handle the fixed backbone and invoke a model only at the judgment node.
Can Your Team Copy This Split — And What We Still Don’t Know
Even if your work has nothing to do with healthcare, CVS’s open-source kit lays out a practical decision ladder for any team evaluating computer-use agents. Deciding whether a workflow stays in outcome determinism or gets compiled back into process determinism comes down to two questions: do individual actions carry irreversible external side effects, and how high is the daily run volume? High-volume workflows with external side effects should be compiled into zero-LLM scripts; low-volume, retryable, or judgment-heavy steps belong to live models. In practice, the cleanest fallback order for cross-system automation is:
- Use official APIs or plugins whenever available.
- When APIs fall short on a relatively stable interface, let a computer-use agent explore the flow, compile it into deterministic scripts, and run production with zero model calls.
- When a workflow mixes fixed steps with document interpretation or judgment, run the backbone in deterministic code and invoke a model only at the judgment node.
- Fall back to pure end-to-end visual agents only when UI controls are inaccessible or every screen is genuinely unfamiliar.
Turning back to healthcare, several key pieces of this launch remain undisclosed, so judgment should stay measured.
First, while CVS open-sourced its methodology and toolkit, neither OpenAI’s blog nor the repository discloses what share of the weekend backlog clearing or tens of thousands of daily consult steps actually runs as compiled zero-LLM scripts versus live visual agents, nor do they publish error rates or human review ratios.
Second, other enterprise case studies lack independent verification. Insurer Cigna reported going from concept to deployment in under eight weeks to pull member context across more than 10 systems in seconds; healthcare AI company Abridge is developing inpatient discharge coordination agents; and Ambience demonstrated a prior-authorization agent that pauses to ask a clinician when records are ambiguous. For now, all of these remain vendor-reported announcements or demos without open-source code or third-party production data like CVS’s.
Finally, the hardest barriers inside hospitals often sit outside technology. In September 2026 interviews with Becker’s Hospital Review, health system CIOs emphasized that access controls and read-only connections are only table stakes; what determines clinical adoption is whether every output can be traced back to the source chart and whether teams can monitor behavioral drift after foundation model updates. And on Hacker News, practitioners raised a longer-term concern: if providers deploy agents to file prior authorizations at scale while payers deploy agents to review them at scale, healthcare administration could devolve into an adversarial arms race between two sets of AI agents.
Early in the year, AI engineering discussions often assumed a one-way shift away from hardcoded rules toward outcome-driven agent loops. OpenAI’s push into healthcare shows a more mature production shape: use AI to chase outcomes during retryable testing and repair, then compile back into hardcoded deterministic scripts for high-volume, low-tolerance production. UI automation scripts—historically expensive to write and even more expensive to maintain—have finally become a standard code asset that can be produced cheaply and repaired automatically.