Appearance
Reference Integrations
Three small, runnable examples under examples/reference-integrations/ in the monorepo. Each uses only the Runtime SDK (no internal engine imports), synthetic data only, and demonstrates a distinct runtime outcome.
A. Discharge Summary Agent
Uses the engine's shipped discharge-summary-agent and submits a medication recommendation that cites no supporting source. medication_requires_review fires — as it does for any medication recommendation regardless of evidence — landing the session in waiting_for_human_review. The example then approves it and retrieves the replay.
bash
npm run dev:engine
npm run dev --workspace=examples/reference-integrations/discharge-summaryOutcome: require_human_review → approved → completed.
B. Radiology Follow-up Agent
Activates the engine's seeded radiology-follow-up-agent (registered draft, with no backing adapter — it exists to demonstrate the lifecycle gate) and submits an evidence-supported recommendation: "Repeat CT imaging in three months," citing a real retrieved source. Demonstrates the engine confirming the task is allowed for this agent, that the claim is evidence-supported, and whether review is required.
bash
npm run dev:engine
npm run dev --workspace=examples/reference-integrations/radiology-followupOutcome: allow → completed directly, no review required — this output is a synthetic demonstration only and is not medical advice.
C. Clinical Documentation Agent
A lower-risk documentation workflow. Registers a new example agent that reuses the existing discharge_summary task type (no new task type or policy was added — the platform brief explicitly avoids that unless genuinely necessary, and it wasn't here) and submits a clean, fully grounded output: no medication recommendation, no unsupported claim, discharge instructions present. No seeded policy triggers.
bash
npm run dev:engine
npm run dev --workspace=examples/reference-integrations/clinical-documentationOutcome: allow → completed directly, at low computed risk.
Comparing the three
| A. Discharge Summary | B. Radiology Follow-up | C. Clinical Documentation | |
|---|---|---|---|
| Agent | Shipped, active | Seeded draft → activated | Newly registered |
| Task type | discharge_summary | radiology_follow_up_recommendation | discharge_summary |
| Medication recommendation | Yes (no source) | No | No |
| Claim evidence | n/a | Supported | Supported |
| Control action | require_human_review | allow | allow |
| Human review | Yes | No | No |
Next
- Quickstart for the full end-to-end walkthrough
- Integration Patterns for how to structure your own integration around these outcomes