RAG bot for a 42-day program
Demo scenarioThis is a demo scenario: it shows how the agent will work in a business like this. No client has launched it yet.
The same questions — for 42 days straight.
A scenario for a 42-day wellness program whose participants ask every day about the day, the phase, foods and procedures. Answers have to fit the context and stay within the program's methodology.
A RAG bot on Mastra and Claude draws on the program's methodology. It knows which day and phase a participant is on and answers for that exact stage, only within the approved materials. It gives no advice on medication dosing; when it is not confident in an answer, the conversation goes to a curator in Telegram with the context: chat history, day and phase.
The first stage of the scenario is a website widget and a Telegram bot. The bot handles routine questions, and curators spend their time on support rather than on "which day am I on".
What gets in the way without an agent
- ✗Participants ask the same things every day: which day, which phase, what is allowed and when
- ✗Answers have to stay within the methodology — no improvisation
- ✗Curators spend time on routine questions instead of support
What the system does
Methodology-grounded answers
RAG over the program methodology — the bot answers only within approved materials.
Day and phase context
Knows which day of the program the participant is on and answers for that exact stage.
Guardrails and escalation
The bot gives no advice on medication dosing; uncertain answers go to a curator.
Memory of the participant
Remembers the participant's day and phase, so it does not ask again in every conversation.
How we roll it out.
Requests and access analysis
We study historical requests, verify CRM and API access, and score the automation potential.
A slice of real traffic
The agent runs on part of the live requests with weekly syncs — on real dialogues.
Metrics and scale-up
We evaluate volume, response speed and escalation share — then expand the agent to full traffic.