Skip to content

Primary Care as a Service (PCaaS) – A Multi-Agent Framework for Intelligent Primary Care

5 minute read
Content level: Intermediate
0

Healthcare providers face mounting challenges with administrative burden, care coordination, and chronic disease management. This article demonstrates how Amazon's Bedrock platform can be leveraged to build a "Primary Care As-a-Service" (PCaaS) solution that uses AI-powered agents to streamline clinical workflows, reduce provider workload, and improve patient care through intelligent automation and personalized health guidance.

Primary Care as a Service (PCaaS) – A Multi-Agent Framework for Intelligent Primary Care

In this article we show how you can use Amazon's Bedrock platform to build a 'Primary Care As-a-Service' (PCaaS)— offering. The "Primary Care as a Service" offering acts as a virtual team member within healthcare systems, focusing on chronic disease management, preventive health, point-of-care interventions, and care coordination. The solution determines optimal 'next best action' for all stakeholders in the care journey—physicians, patients, and caregivers. It seamlessly integrates with internal systems and external services to execute those actions, such as finding physicians, scheduling appointments, and coordinating follow-up care. Primary Care as a Service is an AI-powered, multi-agent platform built with Amazon Generative AI services that orchestrates patient workflows, from intelligent summarization to empathetic conversation and action execution.

Solution Overview

At the heart of PCaaS is a multi-agent architecture, with Agents backed by Knowledge Bases, guard rails and Amazon's AgentCore platform.

PCaaS multi-agent architecture

Key components:

  • Clinical Care Agent – Performs pre-visit summarization of patient's clinical data. The summarization and patient data can be visualized with Amazon QuickSight and natural-language interrogation with QuickSight Q.
  • Lab Agent – Evaluates new lab results in the context of patient's medical history and flags anomalies (e.g., A1C increases).
  • Nutrition Coach Agent – Offers tailored meal planning and lifestyle advice based on the patient's health metrics.

Supporting infrastructure includes:

  • Amazon Bedrock AgentCore – Orchestrates agent interactions and retains memory across encounters.
  • Amazon HealthScribe – Captures clinical notes from patient and provider conversations.
  • Amazon Nova Sonic – Powers natural, emotion-sensitive patient conversations post-visit.

How It Works – Workflow Steps

  1. Chart Summarization (Pre-visit): PCaaS indexes a patient's medical data through the Knowledge Base and generates visuals via QuickSight. Providers can run natural-language queries to gain additional insight into patient's health.
  2. Ambient Note Capture (During Visit): With HealthScribe, the patient-doctor dialogue is captured in real time, producing structured clinical notes that feed directly back into the patient record.
  3. Lab Review & Interpretation: When lab results arrive, the Lab Agent contextualizes them, such as noting a rise in A1C.
  4. Next Best Action Recommendations: AgentCore compares input against clinical guidelines and historical encounters.
  5. Patient Communication (Post-visit): Nova Sonic delivers empathetic conversations with the patient, covering results, reasoning, and next steps.
  6. Appointment Scheduling & Coordination: PCaaS schedules visits directly with providers, coordinating follow-up care.
  7. Nutrition Coaching: Patients receive personalized meal plans shaped by lab results and medical history, through chat or voice.

Why It Matters

StakeholderBenefit
ProvidersLess admin burden, faster decision-making, more time for patient care.
PatientsPersonalized, understandable, and empathetic health guidance.
Healthcare SystemsBetter care coordination, proactive intervention, and reduced clinical oversight costs.

Implementation Approach

Amazon Bedrock AgentCore is a framework for building and orchestrating multi-agent systems on top of Bedrock. Developers can define specialized agents (e.g., clinical, lab, nutrition) with unique roles, prompts, and tool integrations, and then coordinate them through a central orchestrator. AgentCore also provides guardrails, routing, and observability, so agents can safely collaborate in healthcare workflows.

AgentCore Memory is a managed service that allows agents to store and retrieve durable context across interactions. Instead of reprocessing all past conversations, memory persists distilled facts, preferences, or decisions (e.g., 'Goal: A1C < 7.0', 'Low-carb diet preferred'). This enables longitudinal continuity between patient visits, provider notes, and follow-up care while keeping memory structured and queryable by namespace and strategy.

Knowledge Bases for Amazon Bedrock provide an easy way to connect foundation models to your organization's private data without retraining. Unstructured sources such as clinical notes, lab reports, or care documentation can be ingested into a knowledge base, indexed with embeddings, and retrieved at runtime. When prompted, an agent queries the knowledge base, and Bedrock uses retrieval-augmented generation (RAG) to ground its responses in the patient's history and test results—without storing the raw data in memory.

Next Steps & Considerations

  • Security & Compliance – Ensuring PHI handling aligns with HIPAA and data governance policies.
  • Agent Training – Tailoring Knowledge Bases for your clinical context, including local guidelines and referral workflows.
  • Voice UX design – Defining conversational tones and interruption patterns via Nova Sonic.

Conclusion

Primary Care as a Service demonstrates the power of multi-agent AI, enabling clinicians to deliver smarter, more personalized care. Through the blend of Amazon Bedrock Agents, AgentCore, QuickSight Q, HealthScribe, and Nova Sonic, PCaaS modernizes primary care, supports providers, and empowers patients—turning complex healthcare pathways into seamless, scalable workflows.

About the Author

Mustafa Rahimi

Mustafa Rahimi

Mustafa Rahimi is an Enterprise Solutions Architect at Amazon Web Services. He enjoys helping customers innovate, transform, and become leaders in their respective domains.