--- title: "Longitudinal memory for healthcare AI agents" description: "Healthcare AI agents need longitudinal context: what changed across visits, the source note behind every fact, and an insufficient-evidence status when the record is silent." canonical: https://past.dev/industries/healthcare last-updated: 2026-10-15 --- # Memory infrastructure for healthcare AI Source: https://past.dev/industries/healthcare Healthcare AI agents often work from individual encounter records. Longitudinal questions require facts and changes across visits, with sources for each claim. past.dev accepts timestamped source text and returns ranked documents with dates and source excerpts for the application's own review policy. ## The memory problems inside healthcare AI - **Longitudinal context.** Encounter tools produce per-visit artifacts. Questions arrive across visits: what changed since March, when did the symptom first appear, which medication was current at the time. - **Conflicting records.** The chart says one thing, the patient reports another, a second system disagrees. In clinical work a conflict is information that must surface, never be averaged away. - **Evidence per claim.** A clinical statement without its source note is not actionable. Every recalled fact needs the document and date behind it. - **Unsupported questions.** The application needs an explicit insufficient-evidence result when the record does not establish an answer. - **Backfilled histories.** Importing years of records must preserve original event dates, or every timeline question silently breaks. ## How clinical workflows use recall results past.dev recall returns ranked documents with dates and source excerpts. A healthcare application can cite those excerpts, present records that disagree, and decline to answer when its own sufficiency checks are not met. Time is equally structural: facts carry [validity windows](/glossary/validity-window), so an agent can answer what was current at the time of a past visit, and change questions derive from [supersession](/glossary/fact-supersession) records rather than from re-reading every note. ## How the integration works Agents send visit summaries, messages, and intake notes through `POST /api/v1/ingest` with each record's original timestamp and author identity. `POST /api/v1/recall` requires an identity and returns ranked documents with dates and source excerpts. The [quickstart](/docs/memory-api/quickstart) documents the public request flow. The [Claude Agent SDK](/integrations/claude-agent-sdk) and [LangGraph](/integrations/langgraph) guides show integrations. ## Security posture and regulatory reality The [security page](/security) documents SOC 2 Type II, ISO frameworks, encryption, deletion and retention behavior. HIPAA obligations remain with covered entities and their vendors. Infrastructure can provide controls, audit logs, deletion and agreements, but cannot make an application compliant by itself. HIPAA has no product certification. For deployment and agreement questions, [talk to us](/contact). Recall quality, including conflict handling and abstention, is measured in public with the method on the [benchmarks page](/benchmarks). ## Frequently asked questions ### Does past.dev store PHI? past.dev stores the text you send it. Whether that includes PHI is an architectural choice you control: some teams send full clinical text, others send de-identified or reference-linked records. Review the security page for controls and talk to us about the agreements your deployment needs. ### How does this relate to an EHR or FHIR store? It does not replace either. The EHR stays the system of record. past.dev is the queryable memory over the unstructured stream around it, messages, notes, summaries, with time and provenance, so agents can answer longitudinal questions the chart snapshot cannot. ### What happens when two records disagree? Recall can return both documents with the dates and source excerpts on each side. The application should present or review the disagreement instead of silently choosing one. ## Related - [Fact supersession](https://past.dev/glossary/fact-supersession) - [Validity window](https://past.dev/glossary/validity-window) - [Memory for accounting AI](https://past.dev/industries/accounting) - [What is agent memory?](https://past.dev/what-is-agent-memory) - [Quickstart](https://past.dev/docs/memory-api/quickstart) - [Security and certifications](https://past.dev/security)