Skip to content
RAEY
Back to home

The full platform

Everything RAEY actually does.

The homepage makes one point: an answer, and a source to check it against. True, but it's a fraction of the system. This page is the rest of it.

The software is finished and runs today. The protocols it currently runs on are synthetic, written for this project, because no hospital has handed us a corpus yet. Point it at yours and nothing about the system changes.

01 / Access

Four roles. What you can't see is enforced, not just hidden.

Sessions are JWT-backed, passwords are bcrypt-hashed, and every endpoint checks permissions on the server. A clinical login can't reach what a compliance login can by editing the URL.

Clinical staff

Ask questions, run bedside lookups, work from the SOPs their department owns. Submit feedback and incident reports, propose updates.

Sees their open proposals and department SOPs.

Educator

Run scenario training and quick-reference sessions, and see what staff are asking that the SOPs don't currently answer.

Sees training gaps drawn from real questions.

Governance and compliance

Review proposals, work through attestations, CAPA and exceptions, and track compliance across the document set.

Sees pending reviews and a compliance heatmap.

System admin

Manage users and source configuration, run the evaluation harness, watch system health.

Sees live infrastructure and content health.

02 / Ask RAEY

How a question becomes an answer you can check.

Six steps. Each one is there because skipping it would let something unverified reach the person reading.

1

Ask, safely.

A clinician types a plain-language question. Before it goes anywhere, a scanner checks it for identifiable patient information and warns before sending.

2

Work out what's actually being asked.

The question gets sorted into one of six types: procedure, threshold, contraindication, monitoring, medication, or general. Clinical abbreviations and synonyms get expanded. A compound question gets split into its parts. If it's genuinely ambiguous, RAEY asks a clarifying question instead of picking an interpretation and hoping.

3

Find the right passages.

Dense embeddings and keyword search run at the same time, and their results get fused by reciprocal rank fusion. Ranking is boosted toward the kind of passage the question calls for, so a dosage question surfaces threshold content rather than a policy preamble. When one SOP points at another, a second pass follows the reference.

4

Decide what the evidence can actually support.

Before generating anything, RAEY scores what it found on relevance, keyword overlap, entity grounding, and semantic fit. Then it routes one of five ways: answer from your SOP library, go out to published evidence, combine the two, say there's nothing here to answer from, or come back with a clarifying question. Abstaining is a real outcome, not an error state.

5

Answer, constrained.

Generation is restricted to the passages that were actually retrieved. If no model is configured, it falls back to extraction, quoting the SOP directly rather than writing anything new. Every clinical sentence carries a citation.

6

Check the answer against the source it cites.

The Procedural Faithfulness Verifier is the part of this we're most proud of. It re-reads the generated answer against the source looking for wrong thresholds and dosages, steps that went missing or came back in the wrong order, and contraindications that got dropped. A number the source doesn't actually support is redacted to "[value not confirmed in cited source]" rather than stated as fact.

It also behaves like the chat apps people already use: answers stream in, you can stop or regenerate one, edit a question and resend it, and every conversation stays in a sidebar.

03 / Citations

A citation that admits how precise it isn't.

Most systems either give you an exact quote or give you nothing. Real documents are messier than that, so citations here degrade through six rungs, and the interface tells you which rung you got.

Exact offset

The citation points at a specific character range. Click it and the precise text highlights.

Step anchor

The exact range wasn't recoverable, so it anchors to a numbered step in the procedure.

Snippet

No step number to anchor to, but the matching passage itself is identified.

Section

Narrowed to a section of the document, not a single passage.

Whole document

The right document, with no reliable position inside it.

Couldn't locate

Said plainly, rather than pointing somewhere approximate and letting it look exact.

A citation never claims more precision than it actually has. That sounds like a small thing until you've watched someone trust a confident-looking reference that pointed at the wrong paragraph.

04 / From an answer

An answer is a starting point, not a dead end.

Every answer comes with somewhere to go next.

External Evidence

A live search across PubMed, Europe PMC, CDC, WHO, ClinicalTrials.gov, FDA, MedlinePlus, and CMS, ranked by evidence grade rather than by date, with real abstracts and excerpts instead of a list of links.

Trust and Audit

The checks behind that specific answer: faithfulness score, which generation mode produced it, confidence tier, and how the evidence-sufficiency scoring came out.

SOP Version History

The timeline of changes to the source document, committee comments, and a diff between any two revisions.

Compare with Clinical Evidence

Pulls a topically matched published guideline and, where your SOP differs, says why: a genuine conflict, a stale reference, a wording difference that changes nothing, or something that can't be judged without knowing your institution's context. It used to flag every difference as a red "Needs Review", which taught people to ignore it.

Propose an SOP Update

Opens the real governance workflow: committee review, voting, approval, and, when the change carries a compliance flag, a staff acknowledgment requirement that's actually tracked. You can also switch an answer to plain language, regenerate it, or flag a clinical override.

05 / Beyond chat

The chat window is the front door, not the whole building.

Most of what makes this usable in a hospital happens outside the conversation.

SOP Library

Full-text search across every approved document, with the same exact-passage citation viewing.

Bedside Lookup

A kiosk-style quick-answer mode, built for someone standing at a bedside rather than sitting at a desk.

Scenario Training and Quick Reference

Structured practice for education, kept separate from live clinical lookup so the two never get confused.

Governance suite

Proposals and committee voting, CAPA linked to incidents, exception and deviation tracking, and Part-11-style attestations that are signed and hash-chained.

Gap reports

Every question staff asked that no SOP could answer, collected. It doubles as a training signal and a list of what your document set is missing.

Evaluation

RAGAS metrics, an adversarial red-team suite, and ablations, run on a live dashboard rather than quoted as one number on a slide. It discloses when a run fell back to extraction instead of a real model.

06 / What it plugs into

Built to sit on top of what you already run, not replace it.

RAEY isn't trying to become your new system of record. It reads from what exists and writes back into it.

It doesn't own your SOPs.

RAEY ingests documents you already have and answers strictly from those. The system of record for policy stays where it is.

CDS Hooks, not another app to open.

A CDS Hooks v2 endpoint lets your EMR call RAEY inline, during order entry for example, so guidance appears in the workflow clinicians are already in.

Identity federates, it doesn't fork.

A real deployment authenticates against your existing identity provider over SAML, OAuth, or LDAP, rather than becoming a second set of accounts to manage.

Evidence is fetched live, not stockpiled.

There's no private copy of the medical literature here. When RAEY looks outside your SOPs it queries the source and cites straight back to it.

07 / Under the hood

The actual stack.

If you evaluate systems like this for a living, here's what's underneath without the plain-language translation.

Embeddings

sentence-transformers, bge-small-en-v1.5

Keyword search

BM25 and TF-IDF

Fusion

Reciprocal rank fusion, plus chunk-type boosting

Query types

Six: procedure, threshold, contraindication, monitoring, medication, general

Multi-hop

Second retrieval pass when one SOP references another

Reranker

None by default. A heuristic reranker double-counted signals already in the base score

Inference

Ollama locally, or Groq hosted

No-model fallback

Extractive. Quotes the SOP directly, generates nothing

External sources

Eight: PubMed, Europe PMC, CDC, WHO, ClinicalTrials.gov, FDA, MedlinePlus, CMS

Evaluation

RAGAS, adversarial red-team suite, ablations

Auth

JWT sessions, bcrypt hashing, per-endpoint permission checks

EMR integration

CDS Hooks v2

Demo corpus

22 synthetic protocols, written for this project

Everything on this page is built and running, not a mockup and not a roadmap. What it runs on right now is a corpus of 22 synthetic protocols we wrote ourselves, because we don't have a hospital partner yet. None of the system is tied to that corpus. It ingests whatever documents you already have and answers strictly from those, so the honest version of what's missing here is your SOPs, not our code. That's the whole shape of a pilot.

What we are not claiming: no clinician has validated the output, RAEY is not FDA cleared, it isn't presented as HIPAA-certified, and it is not a substitute for clinical judgment.

Read the full research log

Want to see this running on your own protocols?

Talk to us about a pilot