Flawed DOGE AI put VA contracts in the firing line
Terminator Government By What The Future Newsroom · June 6, 2025 · 5 min read

Flawed DOGE AI put VA contracts in the firing line

A DOGE-built AI tool flagged more than 2,000 Department of Veterans Affairs contracts as candidates for cancellation. Experts who reviewed the code and contract list said the script was flawed, while VA officials said cancellations go through multiple human reviews.

A fast-built DOGE AI tool became part of the Department of Veterans Affairs contract review process this year, flagging more than 2,000 contracts for possible cancellation. The tool was written under pressure by Sahil Lavingia, a software engineer enlisted by DOGE, which was then run by Elon Musk.

“A flawed AI system was used in opaque government contract triage with potential consequences for veterans’ services, though humans reportedly remained in the review loop.”Why it scores Terminator

The review has drawn scrutiny because the tool made obvious mistakes, the VA contract decisions have remained difficult to trace, and some canceled contracts touched research, hospital support, and other services connected to veterans’ care.

How DOGE used AI to screen VA contracts

As the Trump administration prepared to cancel contracts at the Department of Veterans Affairs, officials turned to Lavingia, who had no health care or government experience. He quickly built software meant to identify private-company services that were not essential.

The tool labeled certain contracts “MUNCHABLE.” Once it generated a list, Lavingia said he sent it to VA employees, with the contracts marked as likely candidates placed first.

The timeline was extremely compressed. Lavingia started on March 17 and wrote the tool on the following day. He said Trump’s February executive order gave agencies 30 days to complete a review of contracts and grants, which he considered too short for a manual process.

“That’s not possible—you have 90,000 contracts,” he said. “Unless you write some code. But even then it’s not really possible.”

Lavingia said he completed the first version of the contract-munching tool on his second day, using AI to help write the code. He then spent his first week downloading VA contracts to his laptop and analyzing them.

The tool produced serious errors

ProPublica obtained the code and the contracts it flagged from a source, then shared them with a half-dozen AI and procurement experts. All said the script was flawed.

One major problem was the way the code interpreted contract values. It hallucinated the size of contracts, frequently misreading them and inflating their value. It concluded more than a thousand were each worth $34 million, even though some were for as little as $35,000.

The tool used outdated and inexpensive AI models. Some errors were tied to older versions of OpenAI models available through the VA, which experts consulted by ProPublica said were not capable of solving complex tasks.

The instructions behind the system were also flawed. Records showed Lavingia programmed the AI system to make intricate judgments based on the first few pages of each contract, about the first 2,500 words.

Experts also questioned the broader idea of using general-purpose large language models for decisions tied to public services and federal spending. Cary Coglianese, professor of law and of political science at the University of Pennsylvania, said he was troubled by the use of off-the-shelf LLMs for such work.

“I don’t think off-the-shelf LLMs have a great deal of reliability for something as complex and involved as this,” he said.

Another expert described the approach as “deeply problematic.”

What the flagged contracts included

The DOGE AI tool flagged more than 2,000 contracts for “munching.” It is unclear how many of those contracts have been canceled or are on track to be canceled, because the administration’s VA contract decisions have largely been a black box.

VA officials have said they have killed nearly 600 contracts overall. Congressional Democrats have pressed VA leaders for specific details about what was canceled, without success.

ProPublica identified at least two dozen contracts on the DOGE list that had been canceled so far. The examples included a contract to maintain a gene sequencing device used to develop better cancer treatments, a contract for blood sample analysis supporting a VA research project, and a contract for additional tools to measure and improve the care nurses provide.

The VA uses contractors for many purposes, including hospital support, research, and other services aimed at caring for ailing veterans. That makes the contract review sensitive even when officials frame it as an effort to cut waste.

Pete Kasperowicz praised DOGE’s work on vetting contracts in a statement to ProPublica. “As far as we know, this sort of review has never been done before, but we are happy to set this commonsense precedent,” he said.

He said the VA is reviewing all of its 76,000 contracts to ensure each benefits veterans and is a good use of taxpayer money. He also said decisions to cancel or reduce contracts are made after multiple reviews by VA employees, including agency contracting experts and senior staff.

Human review did not end transparency concerns

Lavingia acknowledged that the code had problems. “I think that mistakes were made,” he said. He also warned against treating the output as an instruction to act, comparing that mistake to following a navigation app into a lake.

He said no contracts were terminated “without human review.” His role, as he described it, was to send the list to VA employees rather than make final cancellation decisions.

That did not resolve concerns inside the agency. Many people inside the VA told ProPublica the review process was so opaque they could not tell who made the final decisions to kill specific contracts.

VA staffers also said that, earlier this year before Lavingia was brought on, employees sometimes had little time to justify keeping services that DOGE had identified for cancellation. One staffer recalled being given just a few hours. An internal email that predated Lavingia’s AI analysis required staff to respond in 255 characters or fewer.

The VA has said it will not cancel contracts for work that provides services to veterans or that the agency cannot do itself without a contingency plan. Kasperowicz said contracts that are “wasteful, duplicative, or involve services VA has the ability to perform itself” will typically be terminated.

At the same time, Trump officials have said they are working toward a “goal” of cutting around 80,000 people from the VA’s workforce of nearly 500,000. Most employees work in one of the VA’s 170 hospitals and nearly 1,200 clinics.

The VA has not explained how it plans to move services in-house, as Lavingia’s code suggested, while also slashing staff. That unresolved tension sits at the center of the controversy: AI may help sort documents quickly, but the consequences of a flawed list can reach far beyond the spreadsheet.

AIGovernmentVeterans AffairsTech PolicyProcurement
← Back to the wire

Read next