Portfolio / Rolevance.AI
Case study · Pharma coaching
Rolevance.AI
AI roleplay and coaching built for life sciences. Pharma reps practise conversations with AI-played doctors, built from their own approved materials, and get scored on what changes prescribing behaviour.


The brief
What the client needed.
Pharma field teams get few chances to rehearse before a real visit, and generic AI coaching tools do not know their therapeutic areas, compliance rules or materials.
The client, a team with long experience in pharma training, wanted roleplay that feels like a real healthcare professional (HCP) visit. It had to be built from each company's own cycle books and visual aids, checked for compliance as it runs, and measured against outcomes the business cares about.
What we built
Inside Rolevance.AI.
AI HCP roleplays
Video or audio roleplays with AI doctors set up by specialty, setting, attitude and clinical focus, such as a sceptical cardiologist.
Resource library
Product monographs, cycle books, objection lists, clinical data and e-detailing files become the source for each roleplay.
Compliance in every session
MLR filters flag off-label messaging, unbalanced risk framing and non-compliant language in real time.
Scoring and benchmarks
Every roleplay is scored on 50+ parameters, including iHCP Impact and Prescription Change Probability, against shared benchmarks.
Team analytics
Activity funnels, practice time, performance by user, product and roleplay, and a map of hard and soft skills.
Organisations and licences
Groups, departments, lines and regional managers, with role-based licences for reps, MSLs, KAMs and managers, and usage tracking.
How it works
The workflow, step by step.
Build
Turn cycle books and approved materials into HCP simulations, with no coding.
Roleplay
Reps practise on video or audio with the AI HCP.
Analyse
Each session is scored and checked for compliance.
Personalise
Managers add coaching and assign personalised roleplays.
Improve
Reps practise again, and progress shows in team analytics.
Challenges
The hard parts, and how we solved them.
Every customer isolated
The challengePharma companies will not share infrastructure that mixes their data, materials or users with a competitor's.
Our solutionThe platform is multi-tenant by design: each customer gets its own subdomain, data and file storage, with licences and usage managed per organisation.
Live, responsive roleplay
The challengeA simulated doctor that lags or loses the thread breaks the exercise.
Our solutionDjango Channels keeps roleplay sessions live over WebSockets, so the AI HCP responds as the conversation happens, on video or audio.
Compliance inside the simulation
The challengePractice is only useful if reps rehearse compliant messaging, not habits that would fail a medical, legal and regulatory (MLR) review.
Our solutionMLR filters run inside every session and flag off-label messaging, unbalanced risk framing and non-compliant language as it happens.
Enterprise roles and licensing
The challengeLarge field forces need structure: regions, lines, managers and different licence types.
Our solutionRole-based access for platform admins, marketing, managers and field roles, with bulk user import, groups, licence requests and usage tracking.
Under the hood
Technology.
- Frontend
- React, Vite, Material UI
- Backend
- Python, Django, Django Channels
- Storage
- Amazon S3
- Monitoring
- Sentry, PostHog
- Also
- Multi-tenant subdomains, multi-language interface, speech features
Delivered
What we shipped.
- AI HCP roleplays built from each company's own approved materials
- Real-time compliance checks and scoring on 50+ parameters with shared benchmarks
- Team analytics, skills mapping and personalised coaching for managers
- A multi-tenant platform with per-customer subdomains, licences and usage tracking
More work
Related projects.
Your project
Planning an AI product?
We design, build and run software like this, from the first prototype to production. Tell us what you want to build.




