Proposals answered within 2 business days
All case studies
AI agentsRAGWhatsApp

AI coach on WhatsApp with participant memory and handover to humans

Client: Author of a 30-day personal development programme delivered over WhatsAppIndustry: Education and personal development16 March 2026
Results
cases resolved by AI without human involvement
92%
median response time
4.8 s
AI cost per answer
0.022 USD

Challenge

The author of a personal development programme wanted to guide participants through 30 days in a WhatsApp conversation, personally and in her own voice. With several hundred people at once this cannot be done by hand, and an ordinary chatbot would destroy what people pay for: the feeling that someone is listening.

The channel added its own limits. Meta lowers sending limits for numbers with a low quality rating, and block reports can end in a ban. The conversations are about emotions, so the system had to recognise crisis situations and hand them to people straight away.

Approach

We based the answers on the author’s knowledge base (hybrid search, semantic and full-text, with reranking) and on a short- and long-term memory of each participant. A second, cheaper model scores every answer. When confidence is low, crisis words appear or attempts keep failing, the conversation goes to the coaches’ queue.

Before launch we analysed how WhatsApp scales. Meta’s limits apply to the company’s whole portfolio, not to a single number, so adding numbers does not increase throughput. We stayed with one provider, with a second number only for redundancy, and set communication hours so that nobody is messaged in the evening or at night.

Implementation

The backend collects messages in a queue and merges a series of short messages from one person into a single statement before replying. The team dashboard shows live conversations, the escalation queue, broadcasts with targeting and a knowledge base with document upload. A testing module checks resistance to attempts to pull the model out of its role.

After the first week we reviewed 747 messages. The audit found, among other things, repeated phrases and no escalation after many failed attempts. We rolled out the fixes while the programme was running, without interrupting conversations.

Results

The programme covered several hundred participants, and the system handled tens of thousands of messages. AI resolved 92% of cases without human involvement. The rest went to the coaches, with the full context of the conversation.

In the first 11 days the median response time was 4.8 s, and on the busiest day the system accepted 516 messages with no drop in quality. AI cost in that period was 13.20 USD, or about 0.022 USD per answer, including search and quality scoring.

How it is built

Architecture
Fastify backend with BullMQ queues on Redis: separate queues for incoming messages, delayed replies and broadcasts sent in batches. PostgreSQL through Prisma, and the live conversation view in the panel runs on Redis Pub/Sub and SSE.
Knowledge retrieval
Hybrid: vectors in pgvector with an HNSW index plus full-text search, combined with Reciprocal Rank Fusion and finished with reranking. The knowledge base accepts PDF and DOCX documents uploaded from the panel.
Memory
Each participant has long-term memory (facts, goals) and episodic memory (events from the programme). Long conversations are summarised by a smaller model so the context does not grow without limit.
Quality control
A second, cheaper model scores every reply before it is sent. Escalation to humans on low confidence, crisis signals and a series of failed attempts. Photos from assignments are analysed by a vision-capable model.
Channel
WhatsApp Business API through Twilio: signature validation and webhook deduplication, communication windows in the participants' time zone, and monitoring of delivery and block rates.
Testing
Unit tests, jailbreak attempt scripts, load tests, and a webhook simulator in the panel that lets the team check a scenario without sending real messages.

Technologies

  • TypeScript
  • Fastify
  • BullMQ
  • Redis
  • PostgreSQL
  • pgvector
  • Next.js
  • Claude
  • OpenAI Embeddings
  • Cohere Rerank
  • Twilio WhatsApp API
Case studies

More case studies

Real estate

AI sales assistant platform for property developers, powered by live inventory

A chat on the developer’s website answers questions about available flats and prices using live data. In a test of 106 scenarios, the number of answers containing invented facts fell to zero.

View case study
Real estate

Sales and after-sales system for a developer, with 3D walkthroughs built from floor plans

An offer generator with open tracking, a defects dashboard with the statutory 14-day deadline, complaints with a phone line, and 360° walkthroughs generated automatically from floor plans for 81 of 82 flats.

View case study
Healthcare

Health app taken over, with a new product catalogue and 47 languages

We took over the app from the previous contractor: an audit, security and payment fixes, a new product search and localisation into 47 languages, without stopping sales.

View case study
Real estate

Automated system for statutory reporting of flat prices to dane.gov.pl

An audit of 612 files against the act and the ministry template, a fix to the generator at the source, and automatic upload of 409 overdue resources to a portal that has no write API.

View case study
Construction

Public tender analytics platform with a competitor relationship graph

The application combines data from the Public Procurement Bulletin, KRS, GUS and the VAT White List. It shows who is bidding, at what price and how they are connected, instead of manual searching before every tender.

View case study
Technology

Kubernetes platform with GitOps and image signing for 32 applications

We are moving several dozen applications from a single server to a Kubernetes cluster with Git-based deployments, a security policy and backups whose restoration we check every week.

View case study
Media

AI short-video factory with human approval in a mobile web app

Script, illustrations, voiceover, subtitles and render in a single pipeline. A person approves every episode in a phone app, and publishing runs in scheduled slots.

View case study
Customer service

Voice AI assistant for a helpline, with a custom audio pipeline for Polish

A phone line where the caller talks to an AI. We rebuilt the whole audio path so that conversation in Polish flows, and the system detects the end of an utterance by meaning, not by silence.

View case study
Hospitality

Video menu platform for restaurants with HLS streaming and QR codes

A guest scans a code at the table and sees short videos instead of a list of dishes, with no app to install. Video in three quality levels, data isolation for each restaurant and a database restore verified in practice.

View case study
Pharma

Analytics dashboard for a group of e-prescription online shops, with no patient data

The dashboard collects orders from many shops in real time, while patients' personal data never leaves the shops. Privacy by design from the first version.

View case study