Skip to content
olanrewaju.
All work

Curiflow

Clinical LLM agents whose every output links back to source evidence.

Role
Backend Engineer, contract
When
Where
Boston · Remote
Live
curiflow.com(opens in a new tab)
Curiflow homepage: “We help healthcare operations teams describe their workflows”

Context

Curiflow helps healthcare systems bring AI into their clinical workflows.

Problem

Client health data (claims, EHR extracts and member records) had to become AI outputs that clinical reviewers could trust, with HIPAA-compliant handling and a full trail of how each automated decision was made.

My role

  • Backend engineer on contract.
  • Data integration, clinical agents, inference performance, deployment and observability.

Approach & architecture

Curiflow clinical agent architectureClaims, EHR extracts and member records are loaded from client Snowflake warehouses through an incremental, HIPAA-compliant ingestion step. Langflow agents for SDOH extraction, HEDIS care gaps and ICD suggestions chain a fine-tuned LLM with retrieval, then a validation step, before reviewers see outputs linked to their source evidence. Every model output is written to an audit log with its input record, prompt version and model. Services run on AWS EKS.Client Snowflakeclaims · EHR · membersIngestionincremental · HIPAASDOH extractionLLM + retrievalHEDIS care gapsLLM + retrievalICD suggestionsLLM + retrievalValidationevidence checkReviewersoutputs + sourcesAUDIT LOGevery output stored with its inputrecord, prompt version and model · runson AWS EKS
Curiflow clinical agent architecture
  • Bringing client data in

    Python connectors pull claims, EHR extracts and member records from client Snowflake warehouses into the clinical curation pipeline, with incremental loads, schema mapping and HIPAA-compliant handling.

  • Agents that show their evidence

    Langflow agents extract social determinants of health (SDOH), flag HEDIS care gaps and suggest ICD codes from clinical notes, chaining Curiflow’s fine-tuned LLM with retrieval and validation steps so reviewers get outputs linked to source evidence.

  • Faster inference

    Request batching, response streaming and caching of repeated prompt chains in the LangChain and FastAPI pipelines.

  • Batch work that leaves the live API alone

    Agent and inference services run on Kubernetes in AWS EKS with Helm, autoscaling and separate node groups, with batch worker queues for large client runs.

  • An audit trail for every decision

    Every model output is logged with its input record, prompt version and model, alongside Prometheus and CloudWatch observability.

Outcomes

clinical documents per client run, without slowing the live API
30,000+
inference latency
−20%
audit trail for each automated clinical decision
Full

Stack

  • Python
  • FastAPI
  • LangChain
  • Langflow
  • Snowflake
  • AWS EKS
  • Helm
  • Prometheus
  • CloudWatch

Reflections

My first professional experience with AI pipelines, and a much better understanding of microservice architectures.

A classic problem of bringing Kubernetes into a fast-paced startup without much in-house depth, which leads to what I call the alpha brain and the pack of “how do I set up the cluster?”