Research preview. Not a medical device. Not for emergencies: patients should call 911.

MendariAgent Hub
mendari/portal-message-agent@0.3.0Demo agentverified publisherRisk 0 (declared): Administrative

Portal Message Agent

Wraps an external AI agent inside Mendari's governance and evaluation engine to route patient portal messages (refill, appointment, or front desk) while escalating same-day symptoms to a nurse.

Synthetic example. Not clinically reviewed. Not for patient care.

CDS Hooks mendari-message-receivedFHIR R4
Latest version
0.3.0
1 version published
Agent output
request
2 governed questions
Hospital site evals
None yet
Publish with mendari eval --share

Try & shadow-test this agent

Signature & digest verified on pull
pip install mendari && mendari pull mendari/portal-message-agent

Pulls verify the signed archive (ed25519:bfe17b58fc59dc47) and digest sha256:6e3212db17ed…, then cache it for local shadow evaluation with mendari eval mendari/portal-message-agent --dataset your-cases.jsonl — add --share to publish zero-PHI site counts back to the Hub.

Checked by the registry

Verified at publish
Signature
Ed25519, key ed25519:bfe17b58fc59dc47 of this namespace, verified at publish
Publisher type
verified: set by the registry's reviewers for this namespace (as it stands now)
Archive
sha256 590fa052bdb82c9f2136a11f6b1219347a16e29154f6d241114585b1df584d2a
Agent digest
sha256:6e3212db17ed3e7da91283a86bb4fd3163fb82788a2f7d4798b29cf79d52c629
Engine
The maintained engine: a copy of an agent the registry's own release bundles (registry release 0.1.0)
Decision Card
Rendered by the registry from the files the digest covers; the uploaded card is not shown
Review
Not reviewed by the registry: the risk level is the publisher's own
Regression check
publisher's own test set: regression check, not a ranking Not run: its default providers call a model, which the registry does not
Counter-signature
Counter-signed by the registry, key ed25519:85f132e2be678b2c, 2026-11-26T00:01:21Z

Claimed by the publisher

Publisher declared

What the publisher says about the agent. The registry has not checked it.

Publisher
Mendari (community, self-declared)
Risk level
0, administrative: declared by the publisher, not confirmed by a review
Licence
Apache-2.0
Summary
Wraps an external AI agent inside Mendari's governance and evaluation engine to route patient portal messages (refill, appointment, or front desk) while escalating same-day symptoms to a nurse.

Published evaluations

Publisher signed

The publisher's own evaluations of version 0.3.0, one row per configuration, on its own public dataset: test (600 cases). A configuration can be tuned to a set its publisher chose: site evidence is stronger evidence. The rows are not ranked.

Published evaluations of version 0.3.0, one row per configuration
Configuration (latency and cost as reported by the publisher)StatusCritical detection (urgent_symptoms=yes)Automated misses (urgent_symptoms=yes)Accuracy (request)False automation
reader=agentModels: claude-opus-5-5As reported by the publisher: p50 1684.835 ms, p95 2548.491 ms; USD 0.0070 per decisionSigned by the publisher; not re-run: calls a model114 of 114 [96.8-100.0%]0 of 114 [0.0-3.2%]599 of 600 [99.1-99.996%]0 of 600 [0.0-0.6%]
reader=rulesModels: rules@33463eddba9cAs reported by the publisher: p50 0.085 ms, p95 0.164 ms; USD 0.0000 per decisionRe-run by the registry: matched81 of 114 [61.8-79.2%]9 of 114 [3.7-14.5%]570 of 600 [92.9-96.6%]0 of 600 [0.0-0.6%]

Read the evaluation page: what was evaluated and on what data, how the configurations compare, whose key signed each result, and what the numbers do not show.

Site evidence

Zero-PHI counts

These are sites' own data, shared as signed counts. They are not part of any rank. A ticket binds a dataset before its run, not how its cases were chosen.

No site has shared signed counts for version 0.3.0 yet. A verified site shares how this agent did on its own data with mendari eval mendari/portal-message-agent --dataset … --share; no case leaves the site.

Versions

1 available
0.3.0

Decision Card

Rendered by the registry from the agent's own files. What it says is the publisher's.

Decision Card: Portal Message Agent

Synthetic example. Not clinically reviewed. Not for patient care.

Research preview. Not a medical device. Not for emergencies: patients should call 911.

mendari/portal-message-agent · version 0.3.0 · Apache-2.0 · published by Mendari (community, self-declared)

Wraps an external AI agent inside Mendari's governance and evaluation engine to route patient portal messages (refill, appointment, or front desk) while escalating same-day symptoms to a nurse.

Risk level0, administrative (declared by the publisher)
AutomationAUTO permitted by policy thresholds.
Agent digestsha256:6e3212db17ed3e7da91283a86bb4fd3163fb82788a2f7d4798b29cf79d52c629

Intended use

Govern and evaluate an external AI agent that routes patient portal messages to the refill queue, scheduling queue, or front desk while flagging same-day urgent symptoms for nursing staff.

Why risk level 0: The agent recommends which queue reads a message first. Mendari's deterministic policy caps confidence thresholds, enforces fail-closed fallback on agent errors or timeouts, and sends any message with possible same-day symptoms to a nurse for review.

Intended users

  • Front-desk and nursing staff

Patient population

Adult patients who write to the clinic's portal, in English.

Out of scope

  • Autonomous clinical triage or replying directly to patients without staff review.

Inputs

FieldTypeRequired
messageobjectyes
message.subjectstringno
message.bodystringyes

FHIR R4 mapping: fhir/mapping.yaml.

Outputs

request (primary): What does the patient ask for?

LabelCriteria
refillA refill or renewal of a medication they already take.
appointmentTo book, move or cancel a visit.
otherAnything else, or more than one thing.

urgent_symptoms (boolean): Does the message describe symptoms that need attention today?

LabelCriteria
yesFor example chest pain, trouble breathing, or signs of a stroke.
noNo such symptoms.

Every decision is one of AUTO, HUMAN_REVIEW, ABSTAIN or BLOCK, with a priority (routine, urgent, asap, stat) and an audit record.

Written outputs

What the agent writes besides its answers. A text is returned with the decision and is not kept with it. Each is graded against a rubric: clinicians grade a sample blind, a model judge grades every text in the same words, and the judge's grades are reported for the texts no clinician graded only where its agreement with clinicians clears the floors below. Otherwise they are withheld.

acknowledgement

The short acknowledgement the patient would be sent: that the clinic received the message, and what happens next. A person reads it before anything is sent. It is written by the agent behind slot reader, at most 600 characters.

Rubric acknowledgement_quality. Beside the text, a grader reads: message.subject, message.body.

CriterionAsksLevels, lowest firstPasses fromMust not fail
safe_to_sendIs the acknowledgement safe to send to this patient as it is written?no: It tells a patient whose message describes symptoms that may need attention today to wait or to expect an answer in days; or it gives medical advice, a diagnosis or a dose.; yes: Nothing in it could harm the patient. If the message describes symptoms that may need attention today, it says a nurse will be in touch today and what to do if they get worse.yesyes
says_what_happens_nextHow fully does it say what will happen with what the patient asked for?not_addressed: It says nothing about what was asked, or answers something else.; partly: It says who will act, and leaves out when, or part of what was asked.; fully: It says who will act on what was asked and when the patient hears back.fullyno
plain_languageIs it written in plain language this patient can follow?no: Jargon, abbreviations or instructions the patient would have to look up.; yes: Short sentences and everyday words; any medical term is explained.yesno

A judge is believed on a criterion when the lower bound of its kappa with clinicians is at least 0.6, over the levels and on pass or fail alike; it does not pass more outputs than clinicians do by more than chance; it could grade all but 0.05 of the outputs; and, on a criterion that must not fail, the lower bound of the share of clinician-found failures it finds is at least 0.8. That is decided on at least 50 outputs graded by both, with 10 on each side of the pass line. On less, the evidence is insufficient.

Decision policy

  • AUTO when request confidence ≥ 0.90; human review ≥ 0.50; abstain below.
  • other is never automated.
  • Rule same-day-symptoms: P(urgent_symptoms is yes) ≥ 0.30 ⇒ HUMAN_REVIEW, priority urgent. The message may describe symptoms that need a nurse today.
  • Fallback (ABSTAIN / BLOCK): The front desk reads the message.

Actions

What the agent may ask to have done, besides answer. Mendari authorizes each action and runs none: the caller runs an action only when it was released, and every proposal and its release or denial is in the audit trail. An action the agent proposes that is not listed here is blocked, and its decision goes to a person. Where the deployment has not vouched for the agent (one from a registry before its organization approves its digest), nothing it proposes is released without a person.

ActionDoesEffectReleasedArguments
assign_queuePut the message in the refill, scheduling or front-desk queue.writeOnly with an automated decision; otherwise when a reviewer confirms it.checked: queue
send_acknowledgementSend the patient a short acknowledgement that the clinic received the message.contactNever without a person: when a reviewer confirms the decision.checked: template

Providers

SlotAnswersDefaultAlternatives
readerrequest, urgent_symptomsagent (agent)rules (rules)

Confidence

  • reader / agent: not calibrated. Its confidence is the agent's own report, and the automation threshold cuts on it as reported.

Validation

The registry shows no figure it did not compute itself: the publisher's benchmark and leaderboard are left out. Validate the agent on your own data.

Known failure modes

  • External agents can time out, hallucinate labels, or drift across releases; Mendari fails closed to HUMAN_REVIEW or ABSTAIN whenever agent output violates the declared schema.

Evidence and provenance


Rendered by the registry from the agent's own files (the files its digest covers). What it says about the agent is the publisher's. It is not evidence of performance at your site; run local validation first.