How the AI works here
This is information, not medical advice. It cannot tell you whether you can join a study. Ask your doctor or the study team.
Two ways to use the site
The search form uses no AI at all. The assistant is an AI that does the same things for you when you ask in your own words. It runs in your browser, on your own key from an AI provider you choose. This site runs no AI, pays for none and sees none of your conversation.
What is sent, and where
| What | Goes to | When |
|---|---|---|
| Your search words: the condition, place, age and sex you enter | ClinicalTrials.gov, a public database run by the U.S. National Library of Medicine | Each time you search, by the form or by the assistant. The first time on each visit, the page asks you first. |
| What you type to the assistant, the chat so far, and the study records it reads | The AI provider you chose in the assistant's settings | Each time you send the assistant a message. Their prices and their privacy terms apply. |
| The assistant's instructions and the list of things it can do | The same AI provider | With each message. They are public anyway: read them. |
| Anything at all | This site | Never. The site is plain files; it has no server that receives anything. |
| A short question: the condition and what you asked, never your age, sex or place unless you asked for exactly that | The assistant of Fernhollow Asthma Friends, a partner site (an invented support group, for this demonstration) | Only when the assistant wants to ask it, and only after you agree on a card that names it. Your browser then downloads that site's public assistant files, and its assistant reads the question here in your browser, using your AI provider. Nothing you type is sent to that site's server. |
| Anything at all | Any other site | Never. The assistant asks no site but Fernhollow Asthma Friends, and only after you agree. |
A study's contact details are shown on the page as the record lists them. They are not sent to the AI provider, and they are never used for anything else.
Your key
The assistant's settings panel belongs to the challenge's open browser runtime. Trial Finder's own code never reads your key. The runtime keeps it in this browser only:
- Saved setups, key included, in this site's local storage, until you delete them.
- The setup in use, also in this tab's session storage, until the tab is closed.
- When the site runs on your own computer for testing (an address starting with localhost or 127.0.0.1), the runtime also copies saved setups into a cookie for 180 days, which other pages on that computer's local addresses can read. Use a key with a low spending limit for testing.
To remove it: open AI model settings, then Advanced settings, choose Delete setup, and close the tab. Your key is sent only to the AI provider you chose.
The assistant's two helpers
- The Trial Finder assistant talks with you. It can search, open a study's details, change your shortlist, and make your sheet for the doctor.
- The study explainer reads one study's rules about who can take part, compares them with what you told the assistant, and puts notes on the page. It sees only the study's id and the facts the assistant passes on, never your whole chat.
Neither can contact a study, send a message, sign you up, book anything, store anything about you, or read your key. There is no button or tool for any of those to press.
Asking another site, and being asked
The assistant can ask Fernhollow Asthma Friends, an invented support group made for this demonstration, about support for daily life. Before it does, a card shows the site's name and the start of the question, and nothing happens until you choose. "Always allow" skips the card for that site until you reload the page.
Other sites' assistants can ask Trial Finder too. When they do, Trial Finder's assistant runs in their visitor's browser without this page's tools: it can say what Trial Finder offers and where to find it, but it cannot search for them.
What the code checks
Some rules must always hold, so they are checked by the page's own code, whatever the AI writes:
- Nothing is searched until you agree, once per visit, to send your search words.
- Only studies the page has shown can go on your shortlist.
- Notes on a study's rules are refused until the page has fetched that study's record.
- Each note must quote the study's own words, found in its record. A quote that is not there is dropped.
- Each note says only "Likely meets", "Likely does not meet" or "Cannot tell: ask the study team", under a heading that says the notes are written by AI and are not a decision. A note that decides for you whether you can take part is dropped.
- Questions the assistant adds to your sheet must be questions, and must not decide for you whether you can take part.
- Text written by a study's sponsor is marked as such for the AI, as something to read, never as instructions to follow.
What the code cannot check
- The assistant's own words in the chat are written by the AI. The code cannot stop it saying something wrong there. The cards, the study details and the rules in the study's own words on the page come from the record; when the chat and the page differ, trust the page, and ask the study team.
- The assistant changes the page without asking first: it can search, open a study, change your shortlist, add notes and make your sheet. You can see each change and undo it on the page. It cannot print; printing is your own button.
- AI can be wrong, and so can a record. Only the study team can say whether you can take part.
Seeing what it did
Above the chat, "Agents working for you" shows which part of the assistant is working. The Developer button shows a log of every step: which helper ran, which tool it used, and what came back. It never shows your key.