Validate, Review, Reimburse: Automating Desk Reviews with AI Coding Agents (Part 2)

Created on 2025-11-21 14:43

Published on 2025-11-28 15:46

Right now, the most powerful way to use AI tools in this space isn’t chasing some generic software platform or product; it’s building small, custom tools that match your workflows exactly, and that you actually own.

I've seen a lot of state run programs where the state would pay hundreds of thousands of dollars to a accounting and consulting firms to:

Two core steps: validation and desk review

In many cost report processes that have a reimbursement mechanism, there are usually two big steps after you get the spreadsheets:

Validation - Should we accept the cost report?

Desk review - Are there any problems with the data in the cost report?

Depending on the results, we would might send it back to the district to resolve or write up a finding and adjustment to correct the amounts.

These requirements:

Important work, but also highly manual, repeatable, and rule-driven. That’s exactly the kind of process that can be automated in 2025. These kinds of automations are within reach if you can learn a bit about how to work with AI coding agents like Codex.

Why use an AI coding agent like Codex?

I’m using OpenAI's Codex (an AI coding agent) for this project, but the pattern works with any strong coding agent.

The reason tools like this are powerful isn’t that they “do the work” for you in some mysterious way. It’s that they let you:

Instead of paying every month for a black box SaaS you don’t control, you:

Walkthrough

In the first video in this series, I showed how to use Codex to:

That replaced a manual data extraction workflow I’ve seen replayed for years in real jobs.

In this second step, we’re layering on:

Each cost report either: Passes validation, or Fails, gets a clear explanation of what went wrong, and gets flagged to send back to the district

The exact thresholds and details aren’t the main point. I’m using small round numbers and simple rules. The important part is:

If you can define the rules you want applied to the data, you can encode your own rules, for your own program, as code you understand and control.

Why this matters for government programs

In the private sector, AI often gets pitched as a way to grow revenue: serve more customers, launch new products, and so on.

In government programs, the win is usually more straightforward:

A validation and desk review workflow like this checks all the boxes:

And most importantly: with a coding agent and a bit of guidance, you can build these tools yourself, on top of spreadsheets and rules you already understand.

You don’t need a massive IT team or project. You need a series of small, repeatable wins—and a mindset shift from “we should buy a tool for this” to “we can build a lightweight tool we own.”