Build
This agent is on content version —. That's a counter that goes up every time you change something the agent answers from — approving or editing a passage, uploading or removing a document, or changing what it must not do.
Every evaluation run records the version it tested. If the version moves after a run, that run no longer describes the agent you have, which is why sign-off clears and Osteoclast asks for a fresh run.
Your agent
Getting ready
The Ostify pipeline · three products, one agent
Describe the agent
Brief it like a new member of staff. These words start the agent's instructions and are what Osteoclast tests it against, so changing them clears sign-off.
Type of agent
Patients see this at the top of the chat. Name the condition or moment, not your organisation.
One or two sentences: age group, condition, and where they are in their care.
The questions you'd expect it to answer well.
Content
The agent can only answer from what you add here, and only once you've approved it in Passages.
Add content
A leaflet, your own words, or a single question and answer.
A quick reminder: please only add content that's yours or that you have permission to use.
Drop a leaflet here
or choose one from your computer. PDF, Word, plain text or JSON, up to 2 MB each.
Write it as you'd say it to a patient. Long text is split into passages for you to review, the same as an uploaded document.
So you can tell it apart from your leaflets later. Left empty, it's named with today's date.
Write a question patients ask and the answer you want them to get. It's added as a passage in your own words, and waits for your approval like any other.
0 of 1,200 characters
Added so far
Passages
Each passage is a piece of your content the agent may quote from. Approve it, fix the wording, or leave it out. Nothing is used until you've approved it.
— —
This came from a table
Rows and columns are flattened into sentences when a document is read, so check nothing has been mixed up before you approve it.
Everything reviewed
All passages have been approved or left out.
Behaviour
How your agent talks, and where it stops. Everything on this page shapes what patients read, so any change here clears sign-off.
Voice
How it sounds. Pick one of each and watch the sample answer change.
Reading level
Warmth
Answer length
Answer quality
Sounds like
An illustration of the style, not a real answer. Real answers only use your approved passages.
Never
The lines it must not cross. Osteoclast tests every one of these directly, so what you write here is exactly what gets checked.
Recommended — click to add or remove
Why these rules matter
Software that diagnoses, recommends treatment, or predicts outcomes for an individual is a regulated medical device under UK MDR 2002. An agent that only relays information from approved leaflets generally is not. Removing these rules changes what you are running, so keep them unless you've taken regulatory advice.
Always
Habits you want in every answer.
Common ones — click to add or remove
When it can't answer
Messages in your own words. The agent shows them exactly as written, the same every time.
Shown instead of an answer when a message might be a physical emergency: breathing, chest pain, stroke signs, bleeding, collapse. Say where to go: 999 or A&E, NHS 111, your own out-of-hours line. Don't ask people to judge how serious it is. If you leave out 999, the agent adds it.
Shown when a message suggests suicidal thoughts, self-harm or not being able to keep safe. Name the crisis lines: Samaritans 116 123, SHOUT 85258, NHS 111 (mental health option), and 999 if they're in danger. When the agent can't tell which kind of emergency it is, or it's both, it shows both messages. Left empty, the medical message is used for both.
Used for anything your content doesn't cover. Point people to the right person rather than apologising at length.
When someone asks for a decision about their own treatment or diagnosis, the agent explains what's general from your content, then adds this. Say who can make the decision: your clinic and its number, or for a charity, their clinic, GP or pharmacist and your support line. If you leave out 999, the agent adds it.
Emergency signposting is always on. A standard set of urgent phrases, plus automatic urgency and content-safety checks, runs for every agent. You only write the message.
After repeated declines
Optional. When the agent has declined three questions in a row, it also says how to reach a person, so nobody is left going round in circles.
A helpline, an email address, or both. Added after the decline as: "I haven't been able to help with your last few questions. You can speak to a person: your details". Emergencies never count as declines and always get the emergency message.
Add a contact. Until you do, nothing extra is shown.
Anything else extra instructions
Added to the agent's instructions as you write them, after the grounding, urgent help and identity rules. They add to those rules and cannot loosen them. Keep each to a line.
Advanced relevance and content safety thresholds
Every question is compared against your passages and each gets a similarity score between 0 and 1. This setting is the lowest score a passage can have and still be used in an answer.
Higher means the agent only answers when a passage clearly matches — fewer answers, but the ones it gives are well grounded. It will decline more often.
Lower means it will stretch to answer from loosely related passages. That produces more answers and more wrong ones, because a passage about inhaler technique can be pulled in to answer a question about side effects.
0.55 is where new agents start. The floor is 0.50 — below that the agent starts answering from passages that only share a few words with the question, which is where confident, wrong answers come from.
Every question and every answer is checked by Azure AI Content Safety before a patient sees it. It scores four categories — self-harm, violence, sexual content and hate — from 0 to 6. This setting is the score at which the agent stops and shows your emergency contact or out-of-scope message instead.
Medium stops at 2 and above. This is the recommended setting for patient-facing use, and catches urgent messages a keyword list would miss.
High stops at 4 and above, letting more through. Only appropriate where clinical content routinely trips the lower threshold — a sexual health or substance misuse service, for instance, where frank language is expected.
If the safety service can't be reached, the agent declines rather than answering. It fails closed, always.
Appearance
How the chat looks on your service's website. The friendly name and welcome message are words patients read, so changing them clears sign-off. Everything marked Doesn't affect sign-off can be changed freely.
Who patients meet
The name and picture at the top of the chat. The agent's own name is set in Describe.
A first name patients can call it. The agent uses it if asked what to call it, and always says it's an automated assistant, not a person.
Shown in the chat header instead of initials. Square images work best.
Or paste an image address
That image didn't load. Check the file, or that the address opens on its own in a browser tab.
First impression
The first thing a patient reads. Say what the agent can help with and what it can't. Don't promise it will assess symptoms or say how urgent something is.
Start from
Colour
Used for the chat header and the patient's own messages. Doesn't affect sign-off
Use your own colour
White text needs a contrast ratio of at least 4.5 to 1 against its background to meet WCAG 2.2 AA, which most public-sector accessibility standards require. Below that, header text and the patient's own messages become hard to read for anyone with low vision — and on a phone in daylight, for everyone.
If your brand colour fails, it's still fine everywhere else on your site. It just can't sit behind white text here.
Live preview
Support
The sample question is only there to show your colour.
Check and hand over
Try it yourself, then hand it to evaluation.
Try it here
The real chat pipeline with your current settings. Every answer names its source, or which check stopped it.
Try asking
Try to break it
Support
The preview key is private to this agent and never leaves this dashboard.
Try it on your own phone
Scan a private link to use the same agent on a real device, with a watermark on every screen. It works for 15 minutes, and only for this agent.
Sign off
All of these have to be true. Click one to go and fix it.