Capabilities
Every conversation starts where the last one ended.
A health agent that forgets the last conversation is a chatbot. Health Loops grounds answers in your documents, keeps a thread across messages, and gives every loop in the organisation the same member record, memory and scans.
Answers from your documents.
Upload policies, product guides and FAQs. The model gets a search tool and cites what it finds.
One member, every loop.
Metadata, a running memory and completed scans live on one organisation-wide record, keyed by the id you already use.
Threads survive the gap.
Every message and reply is stored. A person who comes back next week continues the same conversation.
State survives the wait.
A workflow keeps its step results and its place in the run until the person finishes a scan or call.
How it works
The mechanism, in order.
- Upload the source. Add PDF, text or markdown files to the loop knowledge base under Storage.
- The model searches it. At runtime the platform exposes searchKnowledgeBase to the agent automatically. You do not declare it in code.
- Open the member record. ctx.USER.getUser with your own external id upserts the record and returns a handle.
- Write what matters. setMetadata stores structured facts; remember appends a line to the running memory; scans attach to the same person.
- The next turn reads it. The next loop, run or conversation opens the same record and starts with what the last one learned.
import { workflow } from "@loops/sdk";
export const checkIn = workflow<{ patientId: string; note: string }>({
id: "check-in",
execute: async ({ step, event }) => {
return step.do("Save the check-in", async ({ ctx }) => {
const user = await ctx.USER.getUser({ id: event.body.patientId });
const metadata = await user.getMetadata<{ name?: string }>();
await user.setMetadata({ ...metadata, lastCheckIn: new Date().toISOString() });
await user.remember(`Check-in: ${event.body.note}`);
return user.getMemory();
});
},
});The specifics
What you get, and where it stops.
Knowledge base formats. PDF, plain text and markdown, uploaded per loop. Retrieval is over those files; Loops does not crawl your website or connect to a third-party knowledge product.
The user record. Two fields: metadata as a JSON object, and memory as an append-only markdown list. The record is shared by every loop in the organisation and keyed by an external id you control, such as a patient id, phone number or email.
Scans. Completed face scans attach to the same user record. A loop can read the latest scan or the full list, and an agent can inject the latest scan into its context for a turn.
Threads and sessions. Agent loops keep one thread per conversation, with every user and assistant message. The thread is what carries context from turn to turn; variables inside execute do not persist.
Run state. Durable steps store their return values. A suspended run resumes with the same step results, even after a deploy or a crash.
Where it stops. Memory is a per-user narrative, not a knowledge graph. Metadata set replaces the whole object, so read and merge before you write. There is no cross-organisation sharing.
Sources
The pages behind these claims.
FAQ
Questions
Does the model train on our documents or conversations?
No. Customer data is not used to train models. The model sees only what the current turn needs.
Can we import our help centre?
Upload the source files as PDF, text or markdown. There is no website crawler and no connector to a help-centre product today.
How long do you keep member memory?
For as long as the organisation keeps the user record. Unsaved guest records are deleted after seven days.
Can two agents share what they know about a person?
Yes. The user store is organisation-wide, so every loop reads the same metadata, memory and scans, whichever loop wrote them.
Is the memory a database we can query?
It is a record per user with a JSON metadata object and a markdown memory list, read through the SDK. It is not a general-purpose database or a vector store you query directly.
Ollie’s agents give wellness guidance. They don’t diagnose or prescribe, and they hand off to a human expert when it matters.
See the mechanism on your own journey.
