Kearney says healthcare AI should reduce the cost of interacting with insurance and improve the patient experience. He cautions that technical experimentation should serve one of those goals.
Healthcare’s Agent Bytecode: X12 as the Harness for AI Agents
Speaker
Vasant Kearney of Onlay discusses using X12 healthcare transactions as a harness for AI agents handling insurance claims at the AI Engineer channel.
Recognizing digits on a check is not enough to deposit it: the system must also read other details and route the payment correctly. Claims involve many linked steps, from eligibility through payment, so agents need tools, checks, permissions, handoffs, and evaluations around their reasoning.
Kearney warns that a new model can behave differently, so teams need to redo evaluations and validation before relying on it. He describes balancing flexible agent behavior with hardcoded workflows and partner, organization, and user memory, while allowing users to override assumptions.
Kearney includes X12 in the healthcare claims harness because its standard transaction formats give agents defined values and a schema engineers can inspect. Examples include a 270 eligibility request, a 275 for imaging, a 999 syntax acknowledgment, and an 835 payment explanation. He cautions that payer systems can agree and still be wrong, so teams should reconcile their records with later evidence.
Kearney argues for using language models and smaller models with skepticism: they can make mistakes, and system design can set them up to fail. Routine work done thousands of times a day also needs cost-effective models rather than unnecessarily expensive ones.
Takeaways
- Tie healthcare AI projects to lower insurance costs or a better patient experience.
- Treat X12 as a structured contract that constrains agent actions and gives engineers a shared schema.
- Validate new models across the full workflow; better benchmark results do not guarantee reliable behavior in your system.
- Keep payer responses provisional and update internal records when downstream evidence contradicts them.
- Match model capability and cost to the task, especially for high-volume routine work.
Mentioned in this talk
Search inside this talk
What was claimed 6
- foundedVasant Kearney founded
OnlayCEO and cofounder“Vasant Kearney, Onlay”
YouTube Verified3 sources· Talk, Web· archived
- featureX12: Provides a structured contract between what is being communicated and the insurance company.
“X12 provides exactly this underlying structure: a contract between what you're trying to communicate and the insurance company.”
YouTube Unverified1 source· Talk
- metricX12: Eligibility request is transaction 270.
“that's an eligibility request, a 270.”
YouTube Unverified1 source· Talk
- featureX12: Grounds healthcare claim and eligibility interactions in defined transactions.
“Calling an insurance company boils down to an X12 transaction.”
YouTube Unverified1 source· Talk
- featureX12: An 835 is the receipt of payment.
“Then you have the EOB, the 835 receipt of payment.”
YouTube Unverified1 source· Talk
- featureX12: A 999 acknowledges that claim syntax is correct.
“you're getting an acknowledgment that the syntax is right with the 999”
YouTube Unverified1 source· Talk










