
· 7 min read
How to evaluate a RAG system, from retrieval to grounded answers
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Apply AI where federal programs carry their heaviest workload: case processing, acquisition, records and mission support, built inside the authorization, privacy and oversight obligations your agency already answers to.

Government and public services
Federal programs are asked to process more claims, applications and inquiries while experienced staff carry knowledge that is hard to replace, on systems built for an earlier generation of policy. Every determination on a benefit, a grant or a contract has to be explainable to the applicant, to auditors and to the public, often long after the fact. That obligation shapes how any new technology can enter the work.
AI earns its place in federal work when it helps a caseworker, contracting officer or analyst reach a sound determination sooner, with the policy basis in view. Reading an application against eligibility rules, assembling an evidence file, comparing a proposal with evaluation criteria or answering a staff question from current guidance are tasks where AI prepares the decision and a federal employee makes it. Judgments reserved for officials stay with the people accountable for them.
For program executives, chief information and data officers and mission owners, Valtair offers one team across the decision about where AI belongs, the engineering inside case, acquisition and records systems, and the governance that oversight bodies expect to see. Delivery follows the agency's authorization path and data handling rules. Where an engagement needs cleared personnel or environments approved for sensitive work, Valtair's eligibility is confirmed for that engagement before scope is agreed.
Benefits, grants and enforcement actions affect people's rights and livelihoods. Leaders need to decide where AI may draft a recommendation, where it may only gather evidence, and where it stays out of the decision entirely, then record that choice so reviewers, applicants and the public can see how the program uses it.
Core case and financial systems often run on code few current staff can read. The choice is whether to wrap them with new interfaces, translate them in stages or replace them, and AI can help teams document, test and verify the business rules those systems encode before any of those paths is chosen.
Model choice is bounded by where each class of data may be processed, who may administer the environment and which records carry handling restrictions. Settling that hosting boundary early, class by class, makes it less likely that a promising pilot stalls when it reaches security authorization review.
Caseworkers and acquisition staff will rely on an assistant only when they understand what it draws on and when to overrule it. Deciding who is trained, how errors are reported, and how performance is reviewed with program leadership and employee representatives shapes whether adoption holds beyond the pilot office.
Assemble applications, supporting documents and prior correspondence into a reviewable file, flag missing evidence against program rules, and cite the rule behind each flag for the caseworker.
Answer employee questions from current manuals, memoranda and directives, cite the passage used, and show when guidance has been superseded so staff are not working from withdrawn instructions.
Draft market research summaries, requirement statements and evaluation worksheets from approved templates, and map each proposal to the stated criteria for the evaluation panel to assess.
Locate responsive records for public information requests and litigation holds, propose redactions with the reason for each, and leave the release decision with a records officer.
Read and document the business rules buried in aging case and financial systems, generate tests that capture their current behavior, and give migration teams a shared account of what the code does.
Rank claims and payments for review using patterns that investigators define, show the factors behind each ranking, and keep the finding and any recovery action with authorized staff.
Systems that handle agency data in production need a security authorization, and the evidence it requires takes time to assemble. We design architecture, logging and documentation around that review from the outset, choose hosting the agency is able to authorize, and keep pilot environments close enough to production that their evidence carries forward.
Applicants can contest a decision, and auditors can ask how it was reached long after the staff involved have moved on. Each AI-assisted step therefore records its inputs, the guidance version it relied on, its output and the person who accepted or changed it, retained under the agency's records retention obligations.
Appropriations can arrive late, and a policy change can redirect a program before the work is finished. Engagements are structured in increments that each leave something usable in service, with documentation and ownership transferred to federal staff, so progress can survive a funding pause or a change of contractor.

· 7 min read
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Tell us what you want to achieve, which systems are involved, and where you need a partner.