# Merlin case: an AI superagent for therapists | NextAI

Canonical source · https://nextai.pro/en/case-studies/merlin-superagente-historial-sesiones-terapeuta

Histories by anonymous code, session preparation and close, reports and a validated library: how Yolanda works with Merlin, her AI superagent.

## Merlin: the superagent that prepares and closes every session with an integrative therapist

Client: Yolanda · integrative medicine practice · Sector: Wellbeing · Real case (not a concept)

## The starting point

In her integrative medicine practice, Yolanda uses techniques such as the biomagnetic pair, Chinese medicine, emotional release techniques and Bach flowers, and her sessions are recorded on audio. Turning every session into text, writing reports and analysing them by hand did not fit into the working day. In her words (translated from Spanish): “It saves me a great deal of time, because if I had to do the transcripts, the reports and the analysis of all the sessions… I would have to spend a huge amount of time on it.”

## What we built

NextAI developed Merlin for her: a custom AI superagent that acts as copilot and mentor. Merlin keeps the practice's memory in structured records rather than in the conversation, and each patient is identified only by an anonymous code. Before each session it analyses the previous one and prepares the next; afterwards it turns Yolanda's narration into a draft record that she validates before it is saved. Yolanda works with Merlin on Telegram and through a web chat.

- History · Each patient identified only by an anonymous code
- Sessions · Preparation from the previous session, with at most three approaches and a flag on anything needing referral
- Sessions · Three-step flow: pre-session outline, draft record after Yolanda's narration, validation and saving
- Sessions · Session close with validation before saving
- Sessions · Progress PDF every 3–4 sessions
- Judgement · Separates fact, hypothesis, scientific evidence and traditional framework
- Judgement · Competence map per discipline
- Learning · Sources of every kind (book, course, video, article, direct experience, document, audio), each with its confidence level
- Learning · When two sources contradict each other, it presents both; it never invents the content of a source it could not consult
- Learning · 20 % adjacent / 10 % distant expansion strategy: neighbouring concepts and challenging questions, with “calm, not overload”
- Report · Automatic weekly report on Sundays, with an “adjacent concept” and a “challenging question”
- Library · Validated library (cards by series and author, sources and index) exported to a shared folder
- Documents · From Markdown to branded PDF
- Privacy · Never uploads patient material to the shared folder; patient documents go through a private file with a signed link
- Privacy · Does not contact patients unless Yolanda asks and approves the content
- Channels · Telegram and web chat
- Mentoring · Daily mentoring available, not switched on

## In Yolanda's words

> “Where it helps me most is in managing my patients' histories.” (translated; original: «En lo que más me ayuda es en la gestión del historial de los pacientes.») — Yolanda, Integrative medicine therapist
> “It analyses the previous session and helps me prepare the next one.” (translated; original: «Analiza la sesión anterior y me ayuda en la preparación de la siguiente.») — Yolanda, Integrative medicine therapist
> “By freeing up all that time, it lets me look after my patients much better.” (translated; original: «Al liberarme todo ese tiempo, me permite atender a mis pacientes mucho mejor.») — Yolanda, Integrative medicine therapist

## The practice's memory in records, not in the chat

1. **Pre-session outline.** Merlin analyses the previous session and proposes at most three approaches.
2. **Draft after the narration.** Yolanda describes the session and Merlin structures it into a record.
3. **Validation and saving.** Nothing is saved without her approval.
4. **Learning.** Weekly report and a validated library with sources and confidence levels.

Yolanda's sessions are recorded on audio and she needs to go back to them to refine protocols and prepare the next visit. Doing it by hand did not fit into the working day, and keeping that information in a conversation with an assistant would have been neither orderly nor prudent.

The practice's memory lives in structured records (patients, sessions, follow-ups and goals) and each patient is identified by an anonymous code. By rule, the superagent's general memory does not keep clinical histories, diagnoses or session details; those go to each patient's records. Every record starts as a draft and is only saved after Yolanda validates it.

The pattern fits any practice that works in sessions: psychology, physiotherapy, speech therapy, nutrition or coaching. The key is the same: structured records, codes instead of names and human validation before saving.

## Scope

- 100 % of patients by anonymous code
- Max. 3 approaches per session
- 3 steps: outline, draft, validation
- 1 automatic weekly report

What to measure: Time between the session and the validated record, records needing correction after the draft, and sessions prepared from the previous one. These are proposed measures; this case does not publish values.

What not to infer: Merlin does not diagnose or replace the therapist's judgement or a health professional. An anonymous code reduces exposure, but the data remain personal and Yolanda remains responsible for them.

Tech stack: Superagente NextAI a medida, Telegram, Chat web, Google Drive (carpeta acotada), PDF de marca

Video testimonials: https://nextai.pro/en/testimonials · Free digital audit: https://nextai.pro/en/digital-audit
