Report Response Architectural governance 10 min read

Menlo's State of AI in Healthcare 2026: Who Governs the Code?

Menlo Ventures puts 2026 healthcare AI spending at $3.7 billion, up 2.5 times, and says rapid advances in AI coding have made product advantages less durable. Healthcare AI governance covers the models. The architectural decisions in the code that delivers them, such as which service may read patient records, need checks of their own.

What Menlo’s State of AI in Healthcare 2026 found

On November 16, 2026, Menlo Ventures published 2026: The State of AI in Healthcare. It rests on a September 2026 survey by Morning Consult, a survey research firm, of 550 US healthcare executives, at director level and above, who had taken part in buying an AI product. The sample splits into 150 technology decision-makers at providers, 100 health plan executives and 300 pharma and biotech executives.

The report leads on size. Healthcare spending on AI grew 2.5 times to $3.7 billion in 2026. Menlo calls healthcare the largest vertical AI market, meaning AI sold to one industry, more than double the next one, legal, at $1.8 billion. Half of healthcare’s AI spend goes to applications built for healthcare, against 24% across all enterprises.

The growth has moved toward the patient and the lab. Clinical copilots, AI tools that help clinicians answer questions and decide next steps during care, grew 5.5 times to $550 million. Patient engagement and front-office AI, which handles work such as scheduling, intake and patient calls, grew 4.5 times to $450 million. Pharma’s spending on AI went from $30 million to $700 million, $600 million of it on drug discovery and research, and 51% of pharma companies now run AI at scale, up from 15% a year earlier.

The largest category is still ambient scribes, AI that listens to a patient visit and drafts the clinical note, at $950 million. Startups led that market at first, with 67% of a $600 million market in 2025. In 2026 the incumbents fought back. Microsoft, with its Dragon Copilot scribe, and Epic, which makes the electronic health record (EHR) software many hospitals run, took about two of every three new scribing dollars.

Two cautions apply. The spending figures are Menlo’s market estimates, not audited revenue. And Menlo invests in several companies the report names, including Anthropic, OpenEvidence, Benchling and Assort Health. The report marks each of them as a portfolio company.

This article is published by Mneme, which builds an open-source tool that checks code changes against a team’s recorded architectural decisions. The last section says where it fits and where it does not.

The one line about AI coding

One sentence in the report is about how healthcare software gets built. Explaining why the incumbents are winning back ground from startups, Menlo writes: “Rapid advances in AI coding have made product advantages less durable, increasing competitive pressure.”

Read from the engineering side, that sentence says two things. A competitor can copy a feature faster than it could a year ago. And the teams building clinical copilots, scheduling agents and patient apps are under pressure to ship faster as well, with the same tools. The report does not measure how much healthcare code AI coding agents write, and this article does not guess. The pressure alone is reason to ask who checks the code those teams ship.

Healthcare AI governance and the software around it

Most of what gets called healthcare AI governance is about the model and its output. Is the clinical suggestion accurate? Was the model validated on patients like these? Who reviews the note before it enters the record? Those questions belong to clinical and quality leaders, and governance programs are built around them.

A clinical copilot is also an ordinary software system. It has services, data stores, an API, integrations with the EHR, logging, and a path to whichever model provider it calls. Each part carries architectural decisions the team made on purpose: which service may read patient records, which module alone may call an external model, what must never reach a log.

These are engineering decisions. They live in architecture decision records (ADRs), design documents and the memory of senior engineers. Wherever coding agents write the changes, someone or something has to check that each change keeps to them. None of the model questions above covers that check.

How an AI-written change breaks a decision

A coding agent works from the task and the code it can see. Asked to add a feature, it looks for the shortest working path through the repository. If the data it needs already sits behind a clinical service’s repository class, importing that class is the obvious move. The task does not mention the boundary, and the code does not say why it was drawn.

The result works. It returns the right numbers, passes the unit tests and reads cleanly in review. It also lets a reporting module reach restricted patient data directly, which is what the architecture was designed to prevent.

This is the usual shape of architectural drift: each change is locally reasonable, and the system moves away from the decisions it was built on. In a healthcare product, the boundaries that drift are often the ones that protect patient data and clinical workflows.

Why passing tests is not enough

Tests check behaviour. A test can confirm that the dashboard shows the right count of active patients. It cannot see that the count came from a module that was never meant to read the patient table, unless someone wrote a test for that exact boundary.

Code review is where that knowledge usually lives, and review is under load. A reviewer who knows the boundary will catch the import on a good day. A reviewer who joined last quarter may not know the boundary exists. Neither is a control that holds for every change, which is what a boundary around patient data needs.

Architectural decisions as engineering controls

Some architectural decisions can be stated exactly enough for a machine to check. “The analytics package does not import the clinical repositories package” can. “Keep business logic out of controllers” mostly cannot, at least with today’s tools. The first kind can become a control. The second stays with reviewers.

Turning a decision into a control takes three steps. Write it down with its scope and its reason. Express the checkable part as an exact rule. Then run that rule where changes are made and again where they are merged.

The two places do different jobs. A check inside the agent’s workflow stops the change before anyone has to review it. A check in continuous integration (CI) catches whatever got past the first one, whoever or whatever wrote the change.

A patient data boundary, worked through

Take a digital health application with a clinical service that owns patient records and an analytics service that builds reports from approved aggregates. The team has two decisions on record:

An engineer asks a coding agent for a patient engagement dashboard. The agent finds the patient repository and imports it into the analytics module. Say the team has written the first decision as a rule: the text clinical.repositories must not appear in any file under analytics/. The agent’s import contains that text, so the check fails. In a coding agent with a pre-write hook, a check that runs before the agent’s own file-editing tool writes a change, the write is stopped. Otherwise the pull request fails in CI.

This rule has limits. It matches that exact text, so it catches the import as the agent wrote it, and any aliased or relative import that still spells out clinical.repositories. It would miss an import that never spells it out, such as from clinical import repositories, and patient data reached through a third module. Such a rule narrows the ways the boundary gets crossed by accident. It does not prove that patient data never crosses it. That question needs data-flow analysis (tracing where data travels through the code), tests and review.

Independent verification and traceability

Two properties make a check worth trusting. It runs whether or not the coding agent cooperates, and its result says why.

A check is independent when it does not rely on the coding agent to run it. Running the same rule in CI as well as inside the agent gives you that. Hooks inside coding agents have gaps. They cover some kinds of writes and not others, and many fail open: if the check cannot run, the change goes through. A CI check on every pull request does not depend on the agent at all. It sees the final change, including edits a person made by hand.

Traceability comes from the result. A failed check that names the decision behind it tells the author and the reviewer what was crossed, and where the reasoning lives. A version history of each decision tells a later reader what the decision said and what it replaced.

The failed check and the decision’s version history are engineering evidence. Whether they help with any regulatory obligation is a question for the organization’s quality and regulatory teams to answer, with or without any particular tool.

What healthcare CTOs should audit before expanding AI coding

  1. List the boundaries that protect patient data. Which services may read identifiable records, which may see only aggregates, and where each rule is written down.
  2. Find the single routes. Look for decisions of the form “only this module may do X”: call an external model, write to the clinical record, send a message to a patient.
  3. Sort each decision by how it can be checked. Exact enough for a rule today, in need of a more precise form first, or a judgment call that stays with an owner.
  4. Map where the checks run. For each coding agent in use: which writes its hook can stop, what happens when the hook fails, and whether CI runs the same rules on every pull request.
  5. Give every unchecked decision an owner. Changes that touch it go to that person, not to whoever is free to review.
  6. Decide what evidence to keep. Which decision a failed check enforced, which version of it applied, and who last changed it. Then confirm which of those your tools record.

Where Mneme fits

Mneme is the open-source tool we build. It stores a team’s architectural decisions in the team’s repository and checks code changes against them. It works on the checkable part of the problem above. It does not govern clinical models or their outputs, it does not replace code review, and using it does not make software compliant with any healthcare regulation.

A decision is enforced when it carries an active typed rule, a version of the decision a program can check. The released version ships two kinds. The one used in this article forbids exact, case-sensitive text in code, optionally limited to certain paths. The other sets an upper limit on a number in Python code. In this release that kind is checked only when a whole Python file is audited from the command line. The CI gate and the agent hooks described below do not support it. A change that breaks a rule returns a FAIL that names the decision behind it. A decision without an active typed rule is not enforced.

The checks run in CI through a GitHub Actions gate, a required check that GitHub runs on each pull request. They also run inside coding agents with a supported hook. In Claude Code, Anthropic’s coding agent, the hook checks a change before its file-editing tools (Edit, Write and MultiEdit) write it. Most shell commands that write files are checked at the end of the agent’s turn instead. Codex CLI (OpenAI’s command-line coding agent) also has a supported hook. Hooks fail open by default, letting a change through when the check cannot run. The integrations page lists which writes each agent’s hook covers.

Mneme keeps a versioned record of a repository’s decisions, called the Decision Index. It records each decision’s version history, lifecycle status and source. It does not record who approved a decision. Rules that follow data flow, or layer structure (which parts of an application may call which), are not enforced today, and the governance violations page shows where that line sits.

The Architecture Protection Audit is the place to start. It reads the decisions already recorded in a repository and sorts each one as Protected, Mneme-ready, Requires modelling or Guidance. Protected means a typed rule already enforces it. Mneme-ready means a rule could be written from it as recorded. Requires modelling means the decision is firm but must be restated precisely before a rule can check it. Guidance is advice rather than a rule.

For the regulated-industry side of the same argument, see AI Governance for Regulated Industries and AI Coding Agents in Life Sciences: Governance Before Autonomy. For the split between AI governance and engineering governance, see Gartner Has Defined AI Governance. Software Engineering Still Needs Its Own Governance Layer.

Frequently asked questions

What is Menlo Ventures’ State of AI in Healthcare 2026?+
A report Menlo Ventures published on November 16, 2026, titled 2026: The State of AI in Healthcare. It is built on a September 2026 survey by Morning Consult, a survey research firm, of 550 US healthcare executives at director level and above who had taken part in buying an AI product: 150 at providers, 100 at health plans and 300 at pharma and biotech companies. Menlo invests in several companies the report names and marks them as portfolio companies.
How much did healthcare spend on AI in 2026?+
Menlo estimates that healthcare spending on AI grew 2.5 times to $3.7 billion in 2026, more than double legal, the next-largest vertical, at $1.8 billion. Ambient scribes, at $950 million, are the largest category. Clinical copilots grew 5.5 times to $550 million, and pharma’s AI spending went from $30 million to $700 million, $600 million of it on drug discovery and research.
What is the difference between healthcare AI governance and governing healthcare software engineering?+
Healthcare AI governance asks whether a model and its outputs are accurate, validated and reviewed. Governing the software engineering asks whether the code that delivers the model keeps to the architectural decisions the team made, such as which service may read patient records or which module alone may call an external model. Clinical and quality leaders own the first. Engineering leaders own the second, and AI coding agents make it harder to hold.
Can a tool make AI-generated healthcare code compliant?+
No tool on its own makes code compliant. A tool can check that changes keep to decisions a team has written down, and record which decision a failed check enforced. Whether that helps meet a regulatory obligation is for the organization’s quality and regulatory teams to decide. Mneme checks architectural decisions in code; it does not make software compliant with any healthcare regulation.