Building Production-Ready Healthcare AI That Scales With Model Progress

anterior · Healthcare · 2026 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Healthcare prior authorization and clinical review AI

Anterior needed to build production LLM products for healthcare administration while foundation models were rapidly improving, so systems built around current limitations could become obsolete with the next model release.

Constraints:

Architecture

Anterior's durable production pattern combines dynamic domain-knowledge injection with expert-review infrastructure. Clinical guidelines, patient records, and policy documents are processed by an LLM review workflow; a context-aware library of clinical tips is injected at inference time; clinicians review outputs in a dashboard; review data produces performance metrics, failure-mode classifications, suggested domain-knowledge injections, and in-context examples. Organizationally, the team uses a Sour Lesson scorecard, a 70/30 optimization-versus-experimentation split, monthly Anterior Labs hackathons, and modular code so obsolete techniques can be replaced quickly.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  prior-authorization-case[Prior authorization case] --> clinical-guidelines[Clinical guidelines]
  prior-authorization-case --> patient-medical-records[Patient medical records]
  prior-authorization-case --> llm-medical-review-workflow[LLM medical review workflow]
  clinical-guidelines --> llm-medical-review-workflow
  patient-medical-records --> llm-medical-review-workflow
  clinical-knowledge-library[Clinical knowledge library] --> domain-knowledge-selector[Domain knowledge selector]
  domain-knowledge-selector --> llm-medical-review-workflow
  llm-medical-review-workflow --> expert-review-dashboard[Expert review dashboard]
  clinician-reviewers[Clinician reviewers] --> expert-review-dashboard
  expert-review-dashboard --> review-data-pipeline[Review data pipeline]
  review-data-pipeline --> performance-reporting[Performance reporting]
  review-data-pipeline --> failure-mode-classifier[Failure mode classifier]
  review-data-pipeline --> clinical-knowledge-library
  review-data-pipeline --> in-context-example-store[In-context example store]
  in-context-example-store --> llm-medical-review-workflow
  sour-lesson-scorecard[Sour Lesson scorecard] --> experimentation-workflow[Experimentation workflow]
  experimentation-workflow --> anterior-labs-hackathon[Anterior Labs hackathon]
  experimentation-workflow --> modular-product-architecture[Modular product architecture]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Prior authorization case Healthcare administrative case containing clinical guidelines, patient medical records, and policy documents. LLM medical review workflow
Clinical guidelines Often 20-50 page policy and guideline documents with nested logic. Prior authorization case, LLM medical review workflow
Patient medical records Patient context that can exceed 100 pages and must be assessed against guidelines. Prior authorization case, LLM medical review workflow
LLM medical review workflow Product workflow that performs clinical reasoning over the case using current frontier model capabilities and injected context. Prior authorization case, Domain knowledge selector, Clinical knowledge library, Expert review dashboard
Clinical knowledge library Scalable library of domain knowledge and clinical tips that capture customer-specific and context-specific nuance. Domain knowledge selector, LLM medical review workflow, Review data pipeline
Domain knowledge selector Inference-time selection layer that injects relevant clinical knowledge based on operational context. Clinical knowledge library, LLM medical review workflow
Expert review dashboard Clinician-facing review interface for structured review of AI outputs. LLM medical review workflow, Clinician reviewers, Review data pipeline
Clinician reviewers Domain experts who evaluate AI outputs and turn medical judgment into reusable product data. Expert review dashboard
Review data pipeline Downstream system that converts expert reviews into metrics, failure modes, suggested tips, and in-context examples. Expert review dashboard, Performance reporting, Failure mode classifier, Clinical knowledge library, In-context example store
Performance reporting Customer and internal reporting generated from clinician review data. Review data pipeline
Failure mode classifier Classification layer for the ways AI outputs make mistakes, used to prioritize product improvement. Review data pipeline
In-context example store Repository of example input-output pairs generated from expert review data for in-context learning. Review data pipeline, LLM medical review workflow
Sour Lesson scorecard Decision framework that maps product approaches against future model capabilities to identify what compounds or becomes obsolete. Experimentation workflow
Experimentation workflow Organizational practice for testing new models, tools, capabilities, and modular replacements. Sour Lesson scorecard, Anterior Labs hackathon, Modular product architecture
Anterior Labs hackathon Monthly internal hackathon that tries to disrupt the current approach with new models and capabilities. Experimentation workflow
Modular product architecture Low-coupling codebase design that lets teams swap components and delete superseded code. Experimentation workflow

Data flow

A prior-authorization case brings together clinical guidelines, patient records, and policy context. The LLM workflow receives relevant clinical tips selected from the domain-knowledge library, produces a review output, and sends it to clinicians through the expert review dashboard. Review data is transformed into customer performance reports, failure-mode taxonomies, suggested domain-knowledge injections, and in-context examples, which feed back into future model runs. Separately, the Sour Lesson scorecard and experimentation workflow decide which technical approaches to keep, replace, or intentionally build as short-lived bridges.

4 supporting quotes
“medical reviews, powered by GPT-3.5-Turbo-16k. A typical medical review requires processing: * Clinical guidelines (often 20-50 pages, and with complex nested logic - see example) * Patient medical records”article, stated
“example](https://chrislovejoy.me/assets/images/article-images/example_cms_guidance.png)) * Patient medical records (can be 100+ pages) 16K tokens wasn’t enough to reason over all of this at once. What We Did: I created a technique (which I referred to”article, stated
“a scalable library of clinical knowledge which is dynamically injected at inference time based on the context the model is operating within.”article, stated
“designed a system downstream that used the data we get from reviews in various ways: * Provide performance metrics that we can use to prioritize improvement work * Identify and classify ‘failure modes’ (the ways in which our AI was making mistakes) to help”article, stated

Why this architecture

The enduring parts of Anterior's system focus on limitations that are not inherent to the LLM itself: customer-specific context, workflow-specific nuance, expert feedback, and product learning loops. These components compound with model progress because better models can use more injected context and richer expert-review data, while brittle workarounds for context-window or clinical-reasoning limits became obsolete as frontier models improved.

4 supporting quotes
“The product approaches that win are those which compound with model progress rather than compete with it.** (And approaches that specifically work around current model limitations will age like grapes in the sun - and become sour.. 🥲) **Defining this is”article, stated
“the approaches which survived focussed on overcoming limitations of applying LLMs that are not inherent to the LLMs themselves.”article, stated
“As context windows increase, you can just provide more of this clinical domain knowledge into the context. As you collect more performance data, you can better select the domain knowledge that improves performance in different contexts (meaning the knowledge”article, stated
“Performing more clinician reviews directly translates into a better and more differentiated product. ## What does this tell us and what should we do? The most obvious theme is that the approaches which”article, stated

Models used: GPT-3.5-Turbo-16k · GPT-4 Turbo · GPT-4 · Claude 3 · Frontier models

Scale

Alternatives considered (roads not taken)

Hierarchical query reasoning for 16K-context models

Rejected because: Long-context models made whole-case reasoning simpler, faster, and often more accurate.

3 supporting quotes
“broke guideline documents into tree-structured questions where high-level guideline requirements decomposed into more specific sub-questions”article, stated
“How it played out: In November 2023, GPT-4 Turbo launched with a 128K context window. Suddenly we could reason over the entire case at once. The deconstructed approach wasn’t just unnecessary, it was actually limiting us. Parallel reasoning became possible, which”article, stated
“Suddenly we could reason over the entire case at once. The deconstructed approach wasn’t just unnecessary, it was actually limiting us. Parallel reasoning became possible, which was faster and often more accurate. The whole thing took 1-2 months and landed us our first 2 enterprise customers, so”article, stated

Finetune specialized models for clinical reasoning

Rejected because: General frontier models became strong enough at medical reasoning that specialized finetunes no longer provided meaningful advantage.

3 supporting quotes
“for specialized domains like healthcare, you need finetuned models to achieve strong reasoning performance. General models wouldn’t be good enough at clinical reasoning. What We Did: I hired clinicians and built clinical reasoning datasets. I finetuned”article, stated
“general models (GPT-4, Claude 3, etc.) became so good at clinical reasoning that more specialized models offered no advantage.”article, stated
“prompting techniques should be the first point-of-call for improving performance, even in specialized verticals”article, stated

Manual review by one medical doctor

Rejected because: A single expert could check outputs and improve the product early, but that review process did not scale.

3 supporting quotes
“I could check the AI outputs myself (I’m a qualified medical doctor) then use what I saw to make changes to the product.”article, stated
“myself (I’m a qualified medical doctor) then use what I saw to make changes to the product. However, this doesn’t scale - we needed a way to capture domain expert insight as data and use it to improve the product. What We Did: I built a”article, stated
“capture domain expert insight as data and use it to improve the product. What We Did: I built a dashboard to enable domain experts (clinicians) to perform reviews (more info here) and designed a system downstream that used the data we get”article, stated

Optimize only the current product

Rejected because: The author argues teams need workflow-level experimentation to avoid anchoring on today's state of play.

3 supporting quotes
“be explicit about the proportion of time and resource they want to allocate to optimizing the current product vs. testing new approaches”article, stated
“work on optimization and others to purely do experimentation) or at the level of workflow (all engineers do a mix of both). I’d advocate for the latter, as you don’t want your ‘experimental’ engineers to have some anchoring in today’s state-of-play.”article, stated
“you don’t want your ‘experimental’ engineers to have some anchoring in today’s state-of-play. In general, a culture of experimentation is key; in which some engineer-driven exploratory work, that may or may not materialize as concrete outputs, is not”article, stated

Maintain superseded code because it took effort to build

Rejected because: The real sunk cost is maintaining obsolete approaches after better model capabilities emerge.

“low so you can replace entire subsystems when better capabilities emerge. And critically: be willing to delete code you’ve invested in. The real sunk cost is maintaining an approach that’s been superseded, not the time you spent building it. ## In Conclusion”article, stated
“The real sunk cost is maintaining an approach that’s been superseded, not the time you spent building it. ## In Conclusion **As models keep getting better, the companies that survive will be the ones that grow with model progress rather”article, stated

Patterns

rag-retrieval (context-engineering)

Anterior dynamically injects context-specific clinical knowledge at inference time rather than relying only on model pretraining or fixed prompts.

“a scalable library of clinical knowledge which is dynamically injected at inference time based on the context the model is operating within.”article, stated
“As context windows increase, you can just provide more of this clinical domain knowledge into the context.”article, stated

human-in-the-loop-gate (review)

Clinicians perform structured expert reviews of AI outputs, and that review data drives metrics, failure-mode analysis, knowledge injections, and examples.

“I built a dashboard to enable domain experts (clinicians) to perform reviews”article, stated
“capture domain expert insight as data and use it to improve the product.”article, stated

eval-driven-development (quality)

Expert-review data provides performance metrics and failure-mode classifications that prioritize improvement work and accelerate AI iteration cycles.

3 supporting quotes
“Provide performance metrics that we can use to prioritize improvement work”article, stated
“Identify and classify ‘failure modes’ (the ways in which our AI was making mistakes)”article, stated
“out:** This remains a key component of how our product works today - for reporting performance to customers, for speeding up AI iteration and for improving performance. The data generated by these reviews is a core part of the technical moat for the company. Performing more clinician reviews”article, stated

data-quality-loop (data)

Clinician reviews become a technical moat: more expert-reviewed data improves differentiation, in-context examples, and domain-knowledge selection.

3 supporting quotes
“was making mistakes) to help identify how we can fix it * Generating suggested domain knowledge injections * Generate example input-output pairs for in-context learning How it played out: This remains a key component of how our product works today - for reporting performance to customers, for”article, stated
“The data generated by these reviews is a core part of the technical moat for the company.”article, stated
“Performing more clinician reviews directly translates into a better and more differentiated product.”article, stated

fine-tuning-adaptation (training)

Anterior tried fine-tuning for clinical reasoning and output formatting, but later deprioritized it once general models became strong enough.

“I hired clinicians and built clinical reasoning datasets. I finetuned models to improve medical reasoning quality and to control output formatting.”article, stated
“out:** Within 12-18 months, general models (GPT-4, Claude 3, etc.) became so good at clinical reasoning that more specialized models offered no advantage. The frontier models were trained on enough medical literature, research, and clinical data that their medical reasoning capabilities were”article, stated

Tradeoffs

Ship hierarchical reasoning despite obsolescence risk

Chose A tree-structured workaround for 16K context over Waiting for long-context models.

Rationale: The approach became obsolete within six months, but it served customers and helped win the first two enterprise customers.

“The whole thing took 1-2 months and landed us our first 2 enterprise customers, so no regrets.”article, stated
“But within 6 months, we’d moved on to a different approach entirely. #### Finetuning for Clinical Reasoning **The Context:”article, stated

Inject domain knowledge at inference time

Chose Dynamic clinical tips selected by context over Depending only on the model's general clinical reasoning.

Rationale: Customer-specific and workflow-specific nuance is not inherent to general models, and larger context windows make the approach stronger over time.

3 supporting quotes
“there’s a lot of tacit knowledge within each company that the models won’t appreciate.”article, stated
“from building verticalized agents](https://chrislovejoy.me/lessons-verticalized-agents)._ How it played out: This approach is still in production 2+ years later, and it’s a key mechanism by which we solve the “last mile problem” on a customer-specific basis (which I spoke more about”article, stated
“It survived because this approach doesn’t depend on specific model capabilities and its utility actually scales with model improvements. As context windows increase, you can just provide more of this clinical domain knowledge into the context.”article, stated

Build expert-review infrastructure

Chose A clinician review dashboard and downstream data system over Ad hoc manual review by the founder/doctor.

Rationale: Structured reviews scale expert judgment, create performance metrics, and produce reusable product data.

3 supporting quotes
“#### Leveraging Domain Expert Reviews The Context: When I was first building the product, I could check the AI outputs myself (I’m a qualified medical doctor) then use what I saw to make changes to the product.”article, stated
“However, this doesn’t scale - we needed a way to capture domain expert insight as data and use it to improve the product.”article, stated
“designed a system downstream that used the data we get from reviews in various ways”article, stated

Allocate resources across present and future

Chose Rough 70% current-product optimization and 30% new-approach testing over All-in current optimization or detached experimentation.

Rationale: The split acknowledges the need to ship now while continuously testing whether new model capabilities change the right product approach.

“I’ve advocated for a rough 70%:30% split at organizations where I’ve worked”article, stated
“depending on the nature of your product and risk tolerance you could spend more time on experimentation.”article, implied

Make experimentation cheap

Chose Modular architecture with swappable components over Highly coupled systems that preserve old approaches.

Rationale: Low coupling lets teams test new model capabilities and replace entire subsystems before obsolete code becomes a maintenance burden.

3 supporting quotes
“Set up your codebase to make experimentation cheap. Build modular architectures where you can swap components easily. This lets you test whether a new approach actually improves things before committing to it.”article, stated
“Keep coupling low so you can replace entire subsystems when better capabilities emerge.”article, stated
“be willing to delete code you’ve invested in. The real sunk cost is maintaining an approach that’s been superseded, not the time you spent building it.”article, stated

Use monthly disruption rituals

Chose Anterior Labs hackathons over Passive awareness of new model releases.

Rationale: A recurring internal practice forces teams to test new models, capabilities, and tools against the current product and has produced ideas that entered the main product.

“I set up a monthly internal hackathon called “Anterior Labs”, with the explicit mandate of trying to disrupt our current approach.”article, stated
“almost every session we did yielded new ideas that ultimately ended up within our main product”article, stated

Gotchas (what bit them)

Workarounds for temporary context limits can become obsolete quickly.

Root cause: Hierarchical query reasoning solved the 16K context limit, but 128K models made whole-case reasoning possible.

Resolution: Use the workaround when it serves customers, but make the hypothesis explicit and be ready to replace it.

3 supporting quotes
“example](https://chrislovejoy.me/assets/images/article-images/example_cms_guidance.png)) * Patient medical records (can be 100+ pages) 16K tokens wasn’t enough to reason over all of this at once. What We Did: I created a technique (which I referred to as ‘hierarchical query reasoning’) which”article, stated
“Propagate answers up through parent nodes to make a final determination How it played out: In November 2023, GPT-4 Turbo launched with a 128K context window. Suddenly we could reason over the entire case at once.”article, stated
“The deconstructed approach wasn’t just unnecessary, it was actually limiting us.”article, stated

Domain-specific fine-tuning can lose to frontier model progress.

Root cause: General models absorbed enough medical literature and clinical data that clinical reasoning was no longer the limiting factor.

Resolution: Try prompting/context engineering first in specialized verticals unless fine-tuning solves a durable limitation.

3 supporting quotes
“General models wouldn’t be good enough at clinical reasoning. What We Did: I hired clinicians and built clinical reasoning datasets.”article, stated
“The frontier models were trained on enough medical literature, research, and clinical data”article, stated
“prompting techniques should be the first point-of-call for improving performance”article, stated

Building too specifically around current limitations creates technical debt.

Root cause: Model capabilities change, and product architecture can be made redundant by the next model release.

Resolution: Prioritize approaches that compound with model progress and score approaches against plausible model-evolution scenarios.

“Build too specifically around those limitations and you create technical debt.”article, stated
“How should I build my product when my approach could become obsolete with the next model release?”article, stated

Building too abstractly for future capabilities prevents shipping.

Root cause: Teams still need to serve customers today using current model capabilities.

Resolution: Accept some short-lived approaches when they materially help customers or company trajectory, but keep the tradeoff explicit.

3 supporting quotes
“Build too generally for tomorrow, and you can’t ship anything useful.”article, stated
“Maybe it helps you serve your customers better for the next 6 months”article, stated
“Making your hypotheses explicit helps you consider these trade-offs.”article, stated

A separate experimental team can anchor away from real product needs.

Root cause: If experimentation is isolated by engineer rather than workflow, experimental engineers may still carry today's assumptions or disconnect from product realities.

Resolution: Have all engineers mix optimization and experimentation at the workflow level.

“at the level of engineers (asking some engineers to work on optimization and others to purely do experimentation) or at the level of workflow (all engineers do a mix of both).”article, stated
“you don’t want your ‘experimental’ engineers to have some anchoring in today’s state-of-play.”article, stated

Evaluation

Anterior's durable evaluation loop is expert-review driven: clinicians review AI outputs, the system converts reviews into performance metrics and failure modes, and those data guide domain-knowledge injections, in-context examples, customer reporting, and iteration priorities. The Sour Lesson scorecard also evaluates approaches against future model-capability scenarios before allocating effort.

Metrics: Clinician review outcomes · Performance metrics from expert reviews · Failure mode classifications · Suggested domain knowledge injections · In-context example generation · Customer performance reporting · Approach relevance under context-window expansion · Approach relevance under improved domain reasoning · Approach relevance under multimodal capability · Approach relevance under workflow/last-mile improvements

4 supporting quotes
“Provide performance metrics that we can use to prioritize improvement work”article, stated
“from reviews in various ways: * Provide performance metrics that we can use to prioritize improvement work * Identify and classify ‘failure modes’ (the ways in which our AI was making mistakes) to help identify how we can fix it * Generating suggested domain knowledge injections * Generate”article, stated
“was making mistakes) to help identify how we can fix it * Generating suggested domain knowledge injections * Generate example input-output pairs for in-context learning How it played out: This remains a key component of how our product works today - for reporting performance to customers, for”article, stated
“Plot a matrix with limitations and assumptions against your potential approaches.”article, stated

Outcomes

The source includes unusually specific model-progress and workflow numbers: 20-50 page guidelines, 100+ page records, 16K to 128K context expansion, 1-2 month build, first two enterprise customers, six-month replacement window, 12-18 month fine-tuning obsolescence, 2+ years production durability, and a rough 70/30 allocation split.

4 supporting quotes
“The whole thing took 1-2 months and landed us our first 2 enterprise customers”article, stated
“Within 12-18 months, general models (GPT-4, Claude 3, etc.) became so good at clinical reasoning”article, stated
“from building verticalized agents](https://chrislovejoy.me/lessons-verticalized-agents)._ How it played out: This approach is still in production 2+ years later, and it’s a key mechanism by which we solve the “last mile problem” on a customer-specific basis (which I spoke more about”article, stated
“domain knowledge injections * Generate example input-output pairs for in-context learning How it played out: This remains a key component of how our product works today - for reporting performance to customers, for speeding up AI iteration and for improving performance. The data generated by”article, stated