AI Intake Agent for a Teleradiology Patient Service
A multilingual AI agent that consults patients 24/7, collects structured requests and hands each one to a manager for confirmation.
AI Intake Agent turns website visitors of a remote diagnostic-imaging service into structured, manager-ready requests around the clock.
Partner's Profile
Background
The client is a remote diagnostic-imaging (teleradiology) service for patients. Its website sent visitors straight to an order form. Patients did not understand the difference between CT, MRI and X-ray reading or a second opinion, did not trust a remote service, and left. There was no way to capture and warm up leads, and many questions arrived at night and on weekends, when nobody was there to answer.
Objective
Put a consultant between the visitor and the order form: an AI agent that explains the services in the patient's language, answers from a knowledge base, collects a structured request and passes it to a manager for confirmation. Medical safety had to be enforced by code rather than left to the model, and the agent had to work on the website first and then in messaging channels.
Solution
We built the agent as a custom agentic application on our reusable multi-tenant intake engine: the same core runs 8 configurable verticals, from cargo, aviation and immigration to insurance, travel and now radiology. The agent detects whether the patient writes in Ukrainian, Russian or English, consults from a knowledge base, scores the lead from 0 to 100, gives an order link with UTM tags and sends the request with a summary to a manager through a Telegram alert. The web widget installs with one line of code; Telegram (including voice messages) and email channels are implemented.
The hard part was making an LLM dependable in a medical context. Our principle: the model runs the conversation, code makes the decisions. Validation, statuses and submission are deterministic. The model can change request data only through tool calls, and every value stores its source. The model estimates risk from the patient's words, but the URGENT flag is set only by a deterministic rule, and such cases always go to a human.
A single Pydantic schema is the source of truth: the tool schema, missing fields, progress bar and UI metadata are all derived from it, so the backend, the model and the interface stay in sync. That is why a consultation-only mode was added purely by configuration, without touching the core. The LLM layer is provider-agnostic, with Anthropic Claude and OpenAI GPT models switchable. The admin panel gives the team:
- an inbox with operator takeover of a live dialog
- prompt versioning and a full LLM call log
- a knowledge base that grows from managers' answers to escalated questions
We tuned the agent on 50 reference dialogs and tested it like any other production software: a red-team run on a test stand handled 23 of 23 medical-restriction provocations without a safety violation, the client's QA passed 15 of 15 scenarios, and the codebase carries about 2,700 automated tests. This is how we approach AI software development: the model where language matters, code where correctness matters.
Technologies
Backend
Python, Django 5.2 (ASGI, uvicorn), DRF, SimpleJWT, Pydantic 2, server-sent events
AI / ML
Anthropic SDK (Claude), OpenAI SDK (GPT), Qdrant vector search
Frontend
React 19, TypeScript, Vite, Tailwind, TanStack Query, Zustand
Infrastructure
Google Cloud Run, Cloud Tasks, Sentry
Projects
AI Intake Agent for a Teleradiology Patient Service
A multilingual AI agent that consults patients 24/7, collects structured requests and hands each one to a manager for confirmation.
LLM Matching of Veterinary Drugs to the State Registry
A data pipeline and API that join ~3,200 online catalog pages with the state registry into one structured veterinary drug reference.
Remote Patient Monitoring App
for remote medical diagnostics and health monitoring.
AI Translation of Radiology Reports with Doctor Review
An LLM drafts the report translation in 8 languages, the radiologist reviews it, and only then do customers and patients see it.
Referral and Payout Portal for a Teleradiology Platform
Doctors and medical reps refer patients by promo code, link or QR, and every reward is backed by money the platform actually received.
e-Prescribing App
for easy medical prescription issues and management.
Need a project estimate?
Drop us a line, and we provide you with a qualified consultation.