<ARYA/>
← All projects

2026

Optimum Pharmacy

AI content workflow for a pharmacy’s fertility guides

TypeScriptClaudeClaude Agent SDKNode.jsAI AgentsPrompt DesignZodYAML

Overview

A multi-agent workflow I designed and orchestrated for a pharmacy’s fertility medication content. It runs in two modes: write a new guide from scratch, or audit an existing one. A researcher, a writer, a checker and a revision step each run as their own agent, and the output is a guide where every clinical fact carries a citation, plus a review sheet for the pharmacist.

The Problem

Medication guides are high-stakes content: a wrong dose or an invented source can hurt a patient. The pharmacy needed new guides and a check of the existing ones, without a pharmacist spending days on research and without AI text reaching patients unchecked.

My Role

Designed and orchestrated the workflow: the agent stages, their prompts and handoffs, the citation and review-sheet format, the client configuration, and the test and evaluation suite.

Key Features

  • —Two modes: write a new guide, or audit an existing one claim by claim
  • —Separate researcher, writer, checker and revision agents
  • —A citation on every clinical claim, from an approved source list
  • —One-page review sheet for the pharmacist; the workflow never publishes on its own

Challenges

A checker that marked every claim "unverifiable" turned out to have made no tool calls at all. The evaluation now requires a tool-call trace behind every verdict before a run can pass.

What I Learned

With AI in high-stakes content, the evaluation is the product: the workflow earned trust by passing a fixed test set (two audits and one new guide), not by how fluent its writing was.