In short
Preparing for the PLAB-2 medical exam means practising on patients — which is expensive, scheduled, and gatekept by whoever can supervise it. Dr Sarmad asked whether an AI could play the patient convincingly enough to practise against. It could. Then the platform meant to house it, a year into development with another firm, was going nowhere: sixty-second API calls, a non-functional admin, an indefinite launch. We took the whole thing over and rebuilt it in four months.
The client
Dr Sarmad is a physician working on how medical students prepare for board exams. His aim was a single platform combining UK medical textbooks, question banks and exam materials, so students stop assembling their preparation from a dozen sources.
The challenge
The first problem was whether an AI patient could feel human enough to be worth practising against — frustrated, anxious or calm, with a mood that shifts as the conversation goes. The second was inherited: a platform a year in the making, with a codebase that made every small change expensive and an admin panel nobody could use.
- Simulate patients convincingly enough that practice actually transfers
- Take over a stalled project and a codebase built by someone else
- Backend calls taking over sixty seconds to return
- A frontend re-rendering up to thirty times for a single action
What we built
We showed the client the arithmetic on patching versus rebuilding, and rebuilt. The AI patient simulators from the proof of concept went into the new platform rather than beside it.
- AI patients with moods
- Voice agents that hold a persona through a consultation — anxious, frustrated, calm — and shift as the conversation goes, so the practice resembles the exam.
- Question banks that teach
- Every answer links back to the specific section of the knowledge base it came from, closing the loop between testing yourself and learning the thing you got wrong.
- Timed exam simulation
- Full timed papers across topics, so students meet the pressure before the day it counts.
- An admin the client can actually use
- A Notion-style editor for ingesting and presenting medical content, replacing a panel that made content management effectively impossible.
How it was built
Technical analysis before any code
- Audited the inherited codebase and quantified what patching would cost
- Presented both paths — patch or rebuild — with the data behind each
- Rebuild chosen on evidence, not preference
Ground-up re-engineering
- Backend and frontend rebuilt, eliminating redundant re-renders
- Knowledge base, question module and timed exams built as one system
- AI patient simulators integrated with a management interface for the client
Delivery in two-week sprints
- Milestones every two weeks against a published timeline
- Full-featured delivery in four months
- Admin experience handed over fully functional
Results
The rebuild replaced a platform students would have tolerated with one they would actually use:
- 83%Faster API responsesFrom over sixty seconds to under ten — the difference between a platform students tolerate and one they use.
- 97%Fewer page re-rendersFrom thirty re-renders per action down to one.
- 4 monthsFrom stalled to shippedA project a year in the making and indefinitely delayed, rebuilt and delivered in four months.
- 100%Functional admin experienceContent control back with the client, on a platform they can run without us.
“Thanks to Bytebricks's work, the client has seen significant improvements in the project. The team has laid out a timeline for the remainder of the project and is working in two-week sprints to achieve milestones regularly. Bytebricks' transparency and client-focused approach are impressive.”
What does your organisation know that only works when the expert is in the room?
