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

Mendari

Apache-2.0 · Healthcare AI Agent Governance & Hub

Stop evaluating healthcare AI agents from scratch.

Mendari is an open-source AI Agent Governance & Evaluation Platform and Agent Hub for healthcare. Builders wrap any agent in deterministic guardrails and publish reproducible evals; hospitals browse vetted agents, shadow-test locally, and share zero-PHI site evidence.

Browse Agent Hub ↗ Wrap Your Agent

  • 01 Wrap any LLM, LangGraph or HTTP agent
  • 02 Model-by-model evals & site evidence
  • 03 7-day shadow pilots & FHIR audit trail
Demo Agent Guardrail Trace Demo agent · Synthetic

Patient portal · MessageGoverned intake

“Please refill my inhaler. Also I have had chest pain since last night.”
  1. 01 Input gateSchema valid
  2. 02 Agent slot0.94 sure
  3. 03 Policy ruleSame-day symptoms
  4. 04 OutcomeHUMAN_REVIEW

mendari/portal-message-agent 0.1.1 · offline mock agent

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

Request
refill
Urgent symptoms
yes
HUMAN_REVIEW Suggested: refill · urgent Confident (0.94) that it is a refill, but the message may describe symptoms that need a nurse today, so a person decides. Recorded in the audit trail.

Two-sided platform

One governance engine. Built for both sides of healthcare AI.

AI builders stop rebuilding compliance wrappers from zero. Health systems stop starting blind with every vendor pitch.

For AI Developers & Vendors

Wrap any AI agent, prove what works, and publish.

  1. 01
    Wrap your agent in deterministic guardrails

    Put Mendari around Claude, OpenAI, LangGraph, a custom HTTP agent, or rules with typed schemas, risk caps, and explicit human handoffs.

  2. 02
    Eval which models & configs work best

    Benchmark models, prompts, and rules head-to-head on shared labelled cases — measured as exact k of n with 95% intervals.

  3. 03
    Publish a signed Agent + Scorecard to the Hub

    Ship an Ed25519-signed archive with an auto-rendered Decision Card and reproducible regression check so hospitals can verify before piloting.

Works with: OpenAI-compatible LLMs · LangGraph · Custom HTTP agents · Rules & local ML

For Hospital IT, CMIOs & Informatics

Browse vetted agents, shadow-test locally, and share proof.

  1. 01
    Start from vetted agents, not slide decks

    Inspect signed digests, declared vs. reviewed risk caps, auto-rendered Decision Cards, and multi-site hospital evidence on the Agent Hub ↗.

  2. 02
    Shadow-test in the Governance Console

    Pull any agent and run a 7-day shadow pilot over FHIR R4, CDS Hooks, and the clinician review queue with zero live automation risk.

  3. 03
    Adopt with audit trails & publish zero-PHI site evals

    Deploy with hash-chained FHIR audit trails and exportable Validation Briefs, then optionally share signed site counts back to the Hub.

Integrates via: FHIR R4 · CDS Hooks 2.0 · SMART App Launch · Hash-chained audit & review queue

Deterministic runtime boundary

Every agent call ends in one of four governed outcomes.

Your AI agent can use an LLM, a LangGraph workflow, a custom HTTP service, local models, or deterministic rules. Mendari’s policy engine turns every call into a strict clinical boundary — and policy can only lower automation, never raise it.

  • AUTO

    Automated

    Acted on without a person, strictly within the agent’s risk cap and confidence policy.

  • HUMAN_REVIEW

    Human review

    A clinician decides, with the agent’s recommendation and guardrail trace.

  • ABSTAIN

    Abstained

    Not confident enough — or missing required EHR data — to make a call.

  • BLOCK

    Blocked

    The input schema, safety screen, or a clinical guardrail stops it cold.

Every decision writes to an append-only, hash-chained audit trail. Escalated cases wait in the clinician review queue, and every decision exports as a FHIR Task.

Bring your own agent

Wrap any healthcare AI agent in minutes.

Mendari is the governance, evaluation, and distribution layer — your AI agents are the product. Wrap any Claude, OpenAI, LangGraph, custom HTTP agent, or ruleset as a signed, governed agent with typed schemas, risk caps, and reproducible evals.

  • Model-agnostic slots: benchmark frontier LLMs, local models, HTTP agents, and rules head-to-head on identical cases
  • Standard healthcare plumbing: instant REST, FHIR R4 $decide, CDS Hooks 2.0, and clinician review queue
  • Signed Hub publishing: ship Ed25519-verified archives with auto-rendered Decision Cards and zero-PHI site evals

Wrap, eval & publish your agentCLI

mendari new --agent triage-agent --id my-org/triage-agent
mendari test triage-agent
mendari eval triage-agent --dataset examples
mendari push triage-agent --key keys/publisher.key

Bundled demo agent

Try one governed agent locally, offline.

Included solely to demonstrate the governance format and local console, not as clinical products.

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

Fits the hospital systems you already run.

  • FHIR R4
  • US Core 6.1.0
  • CDS Hooks 2.0
  • SMART App Launch
  • SMART Backend Services
  • Bulk Data
  • Da Vinci CRD · DTR · PAS
  • CQL
  • OMOP CDM 5.4

Try the demo agent, or launch the Governance Console.

mendari test and mendari eval run the bundled demo agent offline. Scaffold your own HTTP or LLM agent with mendari new --agent, or start mendari serve for the local API and Governance Console.

The source opens to the public at launch. Until then, cloning needs access to the repository.

TerminalPython 3.11+, uv

git clone https://github.com/mendari-hq/mendari.git
cd mendari
uv sync
uv run mendari test agents/portal-message-agent
uv run mendari eval agents/portal-message-agent --dataset examples
uv run mendari new --agent my-agent --id my-org/my-agent
uv run mendari serve   # http://127.0.0.1:8000