Agentic workflow · AgendaPro · 2026

An agent that sets itself up, and keeps learning after launch.

Role
Designed the process, the eight agents and the clinic-facing screens. Built the orchestrator.
Users
Clinic owners setting up their agent, and our implementation team.
Scope
Agentic workflow, human-in-the-loop, QA, interface design.
Status
Live. The process and the clinic-facing screens are in production.

The answers were already there.

The problem

Setting up an agent for a new clinic meant a long form and hours of calls.

Owners had to describe services, prices, team, rules and exceptions they had never written down. Most of it was already somewhere: in their calendar, on their website and in months of WhatsApp chats with patients. What they really knew, and we didn't, was a handful of decisions. So the question became: what if the agents read everything first, and the owner only answers what's left?

Time to deploy a clinic's agent

2–3→1

From two to three months with pairs of forward-deployed engineers, to one day with one person and an orchestrator agent.

Before
~75 days
Now
1 day
Part 1

It sets itself up.

From a connected WhatsApp to a first version the clinic can try, in a day.

What the owner sees · simplified from the product, with a made-up clinic

While it reads, the owner sees what it's reading. They can leave and come back: the questions wait for them.

MY AGENT · VERSION 1.0

What we need to know to finish Ema

We read your calendar (18 services, 4 practitioners), 8 months of WhatsApp and 9 pages of your website. Only you can confirm these. Answers save as you go.
1 of 9 answered
Saved
Prices

Your team charged $25 for a physio session almost every time, but on 3 Oct it said $28. Which is right today?

$25 · last used 22 Oct$28 · 3 OctDepends on the serviceCorrect it
If you don't answer: Ema won't guess, it passes that question to your team · Found in your conversations

Clinical topic

Pelvic floor after birth: does it need a doctor's referral before booking?

YesNoCorrect it
If you don't answer: Ema hands these patients to your team

Each question shows what we found and where, the options, and what the agent will do if nobody answers. It saves itself, so a dropped connection loses nothing.

One orchestrator, eight sub-agents, four moments.

It starts when the clinic connects its WhatsApp. The agent it builds stays switched off until the owner has tried it.

The clinic connects WhatsApp 1 · Context Country: insurance, ID,emergency numbers. Specialities, picked upfrom the catalogue. WhatsApp historyCatalogueWebsite and socialsSpecial cases 2 · Read the clinic, in parallel 3 · Test Asks the new agent thequestions real patients asked,in a sandbox, with made-uppatients. 4 · Ask One list of questions for the owner.Safe changes are applied with theagent off. Doubtful, contradictory orclinical things go on the list. Feedback, always on: every report from the simulator becomes a config change and a regression test.

The rules I designed it around.

Most of the design work was deciding what the agents should never decide on their own.

01

Don't ask what you can find out.

Every question is sorted: the agents answer it, they show what they found and ask for a yes, or they always ask.

02

History is a film, not a photo.

Recent chats weigh more. If a price changed in October, the owner sees both versions with their dates and picks one.

03

Clinical things are asked, never inferred.

Whether a treatment needs a referral is the clinic's call, not the model's.

04

Not answering never blocks the agent.

Every question says what happens by default. Usually: that conversation goes to your team.

Part 2

It keeps training.

After launch, the clinic and its AI trainer keep improving the agent, with nobody from our team in between.

The loop

A signalflag, chat, weekly Finds the causetrace, rules, data Proposes a changebefore and after Tests it firstin the simulator Clinic approvesnew version Regression testruns on every change Every fix makes the next change safer
After launch: What would you like to improve about Lía, with what's waiting for review and the change history
After launch, the same page asks what to improve. What's waiting for review, and every version of the agent, are one click away.
The trainer explains why an answer escalated and proposes a rule change, tested in the simulator

A flagged answer becomes a fix

It finds the rule behind the mistake, and shows the new answer before changing anything.

It reads the trace, groups similar cases into one change, tests it in the simulator with the clinic's real calendar, and waits for a yes. Every week it also brings back what patients asked that it couldn't answer.

Measured, not assumed.

Blind A/B tests with real patient questions, scored by a separate judge that didn't know which version was which.

Answer quality score, without and with each kind of knowledge

Real patient questions, answered in a sandbox. A separate AI judge, blind to the version, scored each answer on four criteria. Shown as % of the maximum score.

Country rules
insurance, ID, emergencies
83%
91%
Specialty notes
nutrition, new clinic
85%
91%
Specialty notes
dental
91%
88%

Light: without. Dark: with. 15 to 20 cases per test, one run per version. Country rules and short notes stayed; dental notes didn't, because they didn't help.

What it changed

  • Country context stays. Without it, the agent said yes to an insurance plan that needed a voucher, and made up agreements.
  • Long texts made things up more, so knowledge is short and only where a test shows it helps.
  • For dental, extra text didn't help. So it isn't loaded.

The whole flow, in 30 seconds