12  The Aarokya Platform: Infrastructure for a Healthcare Ecosystem

12.1 More Than an App

There is a temptation, when describing what Aarokya is, to call it an app. And it is an app — a beautifully designed, deeply intelligent app that sits in a person’s pocket and connects them to healthcare.

But calling Aarokya just an app is like calling UPI just a payments app. UPI is not an app. UPI is infrastructure — a set of rails upon which an entire ecosystem of financial services has been built. Banks, fintech companies, merchants, government programs, and hundreds of millions of individuals all connect through UPI’s open architecture. The power is not in any single application. The power is in the platform.

Aarokya is designed with the same ambition. It is platform infrastructure for healthcare — a set of open, intelligent, secure rails upon which an entire ecosystem of healthcare services can be built, connected, and scaled.

An employer can plug into Aarokya to offer health benefits. A gig platform can integrate Aarokya’s SDK to enable micro-contributions. An insurer can connect through Aarokya’s API to offer coverage products. A pharmacy node can use Aarokya’s protocols to deliver local care. A government program can route benefits through Aarokya’s accounts. A hospital can receive patients with complete, Aarokya-maintained health records.

The app is the surface. The platform is the substance.

12.2 Core Platform Components

Aarokya’s platform is composed of eight interconnected systems, each essential to the whole.

flowchart TB
    subgraph UL["👤 User Layer"]
        U1["Individuals &<br/>Families"]
        U2["Gig Workers"]
        U3["Employers &<br/>Gig Platforms"]
        U4["Pharmacies &<br/>Care Nodes"]
        U5["Hospitals &<br/>Providers"]
    end

    subgraph AL["📱 App Layer"]
        A1["Mobile App<br/>Voice · Chat · Local Languages"]
        A2["Provider Portal<br/>Dashboard · Case Management"]
        A3["Partner Portal<br/>SDK · Integration · Analytics"]
    end

    subgraph IL["🧠 Intelligence Layer"]
        I1["AI Health Assistant<br/>Multilingual · Multimodal"]
        I2["Triage & Routing<br/>Engine"]
        I3["Risk Intelligence<br/>& Analytics"]
        I4["Preventive Care<br/>Workflows"]
    end

    subgraph DL["🗄️ Data Layer"]
        D1["Health Records<br/>ABHA-Linked"]
        D2["HSA Ledger<br/>Contributions & Balances"]
        D3["Claims &<br/>Disbursements"]
        D4["Provider &<br/>Network Registry"]
    end

    subgraph EL["🔗 Integration Layer"]
        E1["India Stack<br/>Aadhaar · UPI · ABHA<br/>DigiLocker"]
        E2["Insurance<br/>Partners"]
        E3["Laboratory<br/>Networks"]
        E4["Hospital<br/>Systems"]
    end

    UL --> AL
    AL --> IL
    IL --> DL
    DL --> EL

    style UL fill:#2780e3,color:#fff,stroke:#1a5fb4
    style AL fill:#3d8cf8,color:#fff,stroke:#2780e3
    style IL fill:#6a1b9a,color:#fff,stroke:#4a148c
    style DL fill:#1565c0,color:#fff,stroke:#0d47a1
    style EL fill:#339af0,color:#fff,stroke:#1a5fb4
Figure 12.1: Aarokya platform architecture — from users to external systems

Each layer builds on the one below it. Each is designed to be modular, extensible, and open to integration. Let us walk through the core components that power this architecture.

12.3 The Health Savings Account Engine

At the financial heart of Aarokya is the HSA engine — a ledger system purpose-built for healthcare savings.

This is not a general-purpose wallet. It is a healthcare-dedicated account with specific rules, constraints, and capabilities:

  • Multi-source funding — the account accepts contributions from the individual, employers, gig platforms, family members, CSR programs, tips, and government benefits. Each source is tracked, attributed, and reportable.
  • Micro-transaction support — the system handles contributions as small as ₹1 per transaction, because meaningful healthcare funding can be built from daily, per-task, per-delivery increments.
  • Healthcare-constrained spending — funds in the HSA are earmarked for healthcare use, creating trust for contributors and enabling favorable insurance and credit terms.
  • Goal tracking — users see their progress toward insurance premiums, check-up costs, emergency reserves, and other health goals.
  • Balance portability — the account belongs to the individual, not to any employer or platform. It moves with the person across jobs, cities, and life stages.

The HSA engine processes potentially millions of micro-transactions daily. It must be fast, reliable, auditable, and integrated with India’s payment infrastructure. It is the financial rail upon which everything else runs.

12.4 Contribution and Payment Rails

Money flows into and out of the HSA through a set of rails designed for flexibility, automation, and trust.

Inbound rails handle:

  • Recurring salary deductions from employers
  • Per-task contributions from gig platforms (triggered automatically via API)
  • UPI-based self-contributions from individuals
  • Family contributions — a son in Bangalore can contribute to his mother’s HSA in a village in Karnataka with a single tap
  • CSR and corporate wellness program disbursements
  • Government benefit transfers
  • Customer tips directed to a worker’s health account

Outbound rails handle:

  • Insurance premium payments — automatic, on-schedule, from the HSA
  • Provider payments — pharmacies, hospitals, labs, teleconsultation fees
  • Claims disbursements — insurance payouts routed directly into the HSA or to providers
  • Reimbursement processing

All of this is built on UPI and India’s existing payment infrastructure, extended with healthcare-specific logic: eligibility verification, fraud detection, constrained-purpose spending rules, and real-time balance management.

12.5 Insurance Integration Layer

Aarokya does not aim to replace insurance companies. It aims to make insurance accessible, affordable, and aligned — and to provide the infrastructure that insurers need to serve populations they have historically found too expensive or too risky to cover.

The insurance integration layer provides:

  • Premium management — automated collection from HSAs, installment support, gap tracking, and top-up mechanisms
  • Underwriting data — with user consent, anonymized health data and contribution patterns that enable better risk assessment and more inclusive underwriting
  • Claims processing — digital-first claims submission, AI-assisted verification, rapid disbursement
  • Product flexibility — support for traditional indemnity products, micro-insurance, community-rated pools, hospital-aligned plans, and hybrid models
  • Regulatory compliance — built-in adherence to IRDAI regulations, reporting requirements, and consumer protection standards

For insurers, Aarokya is a distribution channel, a data partner, and an operational platform. For users, it is the interface that makes insurance simple — something that works quietly in the background, funded incrementally from the HSA, and activated seamlessly when needed.

12.6 AI-Powered Health Assistant

The intelligence at the center of Aarokya is not a single model running a single task. It is an integrated AI system designed for healthcare — deeply multilingual, multimodal, context-aware, and built with safety as a first principle.

Multilingual capability — The AI operates fluently in Hindi, Tamil, Telugu, Kannada, Bengali, Marathi, Gujarati, Malayalam, Punjabi, Odia, Assamese, and English, with the ability to add more languages as coverage expands. It understands not just formal language but colloquial speech, regional dialects, and the way people actually describe their symptoms.

Multimodal input — Text, voice, and image. A user can type their concern, speak it aloud, or photograph a skin condition, a prescription label, or a test result. The AI processes all of these and integrates them into a coherent health interaction.

Context-aware conversation — The AI doesn’t treat each interaction as isolated. It knows the user’s history, their ongoing conditions, their medication schedule, their risk factors. A conversation today builds on the conversation last month. A symptom report is interpreted in the context of the user’s complete health profile.

Medical safety rails — The AI never diagnoses. It never prescribes. It never overrides professional judgment. It gathers, organizes, flags, suggests, and routes — always transparently, always with clear escalation paths to human professionals. Safety is not a feature. It is a constraint woven into every layer of the system.

Building AI for 1.4 Billion People

Aarokya’s AI must work for a farmer in Madhya Pradesh speaking Hindi with a Bundelkhandi inflection. It must work for a grandmother in Kerala who speaks only Malayalam. It must work for a teenager in Delhi who code-switches between Hindi and English mid-sentence. It must work for someone who has never used a smartphone before, and for someone who uses five apps before breakfast.

This is not a narrow technical challenge. It is a design philosophy: the AI adapts to the person, not the other way around.

12.7 Provider Network Management

Healthcare is ultimately delivered by people and institutions — doctors, nurses, hospitals, pharmacies, labs. Aarokya’s provider network management system ensures that these providers are discoverable, connected, quality-assured, and properly compensated.

The system maintains:

  • Provider registry — every doctor, nurse, pharmacy, lab, hospital, and care node in the network, with credentials, capabilities, availability, and performance metrics
  • Matching and routing — when a patient needs care, the AI matches them to the right provider based on condition, location, language, availability, insurance coverage, and patient preference
  • Quality assurance — ongoing monitoring of provider performance, patient feedback, outcomes tracking, and standards compliance
  • Onboarding and training — structured pathways for new providers to join the network, complete required training, and begin delivering care through the platform
  • Scheduling and capacity — real-time availability management for teleconsultations, in-person appointments, and pharmacy node services

12.8 Claims and Disbursement Engine

When healthcare costs are incurred, the claims engine handles the financial resolution — quickly, transparently, and with minimal friction for the patient.

  • Digital-first claims — no paper forms, no postal delays. Claims are submitted through the platform with supporting documentation captured digitally at the point of care.
  • AI-assisted adjudication — routine claims are assessed automatically against policy terms, provider agreements, and treatment protocols. Anomalies are flagged for human review.
  • Direct settlement — wherever possible, payments flow directly between the HSA or insurer and the provider, so the patient never handles large sums out of pocket.
  • Transparent tracking — the patient sees exactly where their claim is, what has been approved, what is pending, and what their remaining balance covers.
  • Fraud detection — pattern analysis across the network identifies billing anomalies, unusual treatment patterns, and potential abuse — protecting both patients and the system.

12.9 Analytics and Risk Intelligence

Aarokya’s data — aggregated, anonymized, and consent-governed — creates a powerful lens on population health.

For individuals, analytics means personalized health insights: your risk trajectory, your preventive care adherence, your health trends over time.

For providers, it means practice intelligence: which conditions are most common in their area, which treatments show the best outcomes, where follow-up rates are lagging.

For the healthcare system, it means epidemiological awareness: disease prevalence patterns, emerging health threats, vaccination coverage gaps, seasonal illness trends — at a granularity and timeliness that India’s public health infrastructure has never had.

For insurers, it means actuarial intelligence: better risk models, earlier intervention opportunities, outcomes-based pricing.

For policymakers, it means evidence: real-time data on healthcare access, utilization, outcomes, and costs — disaggregated by geography, demographics, and socioeconomic factors.

All of this is built on a foundation of privacy, consent, and anonymization. Individual data is never shared without explicit consent. Population-level insights are always anonymized and aggregated. The platform is designed to generate intelligence, not surveillance.

12.10 SDK and API Layer

This is where Aarokya’s platform ambition becomes most tangible. The SDK and API layer is what transforms Aarokya from a product into infrastructure.

The API enables any authorized system to interact with Aarokya programmatically:

  • A gig platform can call an API to create an HSA for a new worker and begin automated per-task contributions
  • An employer can integrate Aarokya’s health benefits into their HR system
  • A hospital can pull a patient’s health record (with consent) during admission
  • An insurance company can push policy details and process claims
  • A government program can route health subsidies directly into citizen HSAs

The SDK makes integration even simpler for common use cases:

  • A ride-hailing app embeds the Aarokya widget, allowing riders to direct tips to their driver’s health savings
  • A gig platform adds a health benefits dashboard to their worker app using Aarokya’s UI components
  • A corporate wellness program integrates Aarokya’s screening tools into their employee portal
The Platform Test

A platform is real when others build on it — when the ecosystem it enables is larger than the product itself. Aarokya’s SDK and API layer is designed to pass this test. The goal is not to build every health service ourselves, but to build the rails that make a thousand health services possible.

12.11 Platform Capabilities by Stakeholder

Different stakeholders interact with Aarokya in different ways. The platform is designed to serve each of them with purpose-built capabilities.

Platform capabilities by stakeholder — what Aarokya offers to each participant in the ecosystem
Stakeholder What Aarokya Provides
Individuals & Families Health Savings Account, AI health assistant, health records, preventive care, insurance access, provider discovery, teleconsultation, medicine management
Gig Workers Portable HSA, multi-source contributions, per-task savings, employer-linked benefits, immediate access to care, occupation-specific health guidance
Employers & HR Benefits administration API, contribution management, employee wellness dashboards, compliance reporting, tax-advantaged health spending
Gig Platforms SDK integration, automated per-task contributions, worker health benefits dashboard, CSR reporting, workforce wellness metrics
Hospitals & Clinics Patient records (with consent), referral management, claims processing, quality metrics, network participation, teleconsultation infrastructure
Pharmacies & Care Nodes Node management portal, testing protocols, inventory management, teleconsultation facilitation, training modules, revenue tracking
Insurers Distribution channel, underwriting data (anonymized, consented), claims processing, premium collection, risk analytics, product management
Laboratories Sample tracking, result delivery, quality assurance, network integration, patient communication
Government & Policy Benefit disbursement rails, population health analytics, program monitoring, public health surveillance, ABHA integration

This is the power of platform thinking: a single infrastructure that creates value for every participant, with each participant’s engagement making the platform more valuable for all the others.

12.13 Integration with India Stack

Aarokya is not being built in isolation. It is being built on top of India’s extraordinary digital public infrastructure — and designed to extend it into healthcare.

Aadhaar provides the identity layer. Verified, biometric, universal. Aarokya uses Aadhaar-based authentication to ensure that health accounts, records, and benefits reach the right person — securely and without duplication.

UPI provides the payment layer. Instant, low-cost, interoperable. Every contribution to an HSA, every provider payment, every insurance premium, every claims disbursement flows through UPI rails — making healthcare finance as frictionless as splitting a dinner bill.

ABHA provides the health identity layer. A standardized health ID that links records across providers, institutions, and systems. Aarokya’s health records are ABHA-native, ensuring that a patient’s history is portable and accessible wherever they seek care.

DigiLocker provides the document layer. Health reports, prescriptions, insurance documents, and medical certificates — all stored securely, all accessible when needed, all verifiable.

Together, these form the foundation upon which Aarokya builds. India has already invested billions in this digital public infrastructure. Aarokya’s role is to use it — faithfully, responsibly, and with purpose — to deliver healthcare outcomes that justify that investment many times over.

12.14 Security, Privacy, and Compliance

Building healthcare infrastructure demands security practices that go beyond industry norms.

Technical security — End-to-end encryption for all data in transit. AES-256 encryption for data at rest. Multi-factor authentication for all user and provider access. Regular penetration testing by independent security firms. Bug bounty programs to incentivize responsible disclosure.

Operational security — Role-based access controls ensuring that each team member, provider, and system can only access the data they need for their specific function. Comprehensive audit trails for every data access event. Incident response protocols tested and updated quarterly.

Regulatory compliance — Full alignment with India’s Digital Personal Data Protection Act. Compliance with IRDAI regulations for insurance operations. Adherence to National Health Authority standards for ABHA integration. Alignment with international health data standards (HL7 FHIR) for interoperability.

Ethical governance — An independent data ethics board reviews Aarokya’s data practices, AI models, and privacy policies. Regular transparency reports published publicly. User-accessible dashboards showing what data is held, who has accessed it, and for what purpose.

12.15 Open Source, Open Architecture: Build the Rails

Aarokya is open source. The code, the platform, the protocols — all built in the open, inspectable by anyone, improvable by the community, and adaptable for any context or country.

This is not incidental. It is foundational. Healthcare infrastructure that affects hundreds of millions of lives should be transparent, auditable, and collectively owned. Open source makes trust verifiable rather than promised.

Aarokya inherits this ethos from two proven open source projects built by the same engineering organization:

  • HyperSwitch — an open source payments orchestration system handling transactions at scale across multiple gateways and geographies. It proved that financial infrastructure demanding the highest standards of security, reliability, and compliance can be built in the open. Aarokya’s backend — the HSA engine, contribution rails, and payment integration — inherits HyperSwitch’s architecture and engineering rigor.

  • Namma Yatri — an open source ride-hailing platform serving millions of rides daily in Indian cities. It proved that consumer-facing apps with beautiful UI/UX and massive transaction volumes can be built and operated as open source. Aarokya’s user experience — multilingual, low-bandwidth-friendly, accessible to first-time smartphone users — inherits Namma Yatri’s design DNA.

The architecture is deliberately designed to be built upon, extended, and integrated with. Not open in the sense of exposing user data — that is protected with the highest standards. Open in the sense that the platform is designed for ecosystem participation.

This is a strategic choice rooted in a simple insight: no single organization can build all the healthcare services India needs. The need is too vast, the contexts too varied, the innovation required too diverse.

What a single organization can do is build the rails — the identity, the accounts, the records, the intelligence, the connectivity, the trust — and then invite the ecosystem to build on top of them.

A health-tech startup building a diabetes management program shouldn’t need to build an HSA from scratch — they should plug into Aarokya’s. A rural health NGO shouldn’t need to build their own health records system — they should use Aarokya’s. A state government launching a maternal health initiative shouldn’t need to create a new digital identity — they should leverage ABHA through Aarokya.

The philosophy is simple: build the rails, and let the ecosystem grow. The more participants on the platform, the more valuable it becomes for everyone. The more services available, the more reasons for users to engage. The more data flows through the system (with consent, always), the smarter the AI becomes. The smarter the AI, the better the health outcomes.

This is the flywheel. And it begins with open, robust, trustworthy infrastructure.

12.16 The Healthcare Operating System for India

Let us step back and see the whole.

Aarokya is a Health Savings Account that makes healthcare funding composable and portable. It is a contribution engine that allows anyone — individuals, employers, platforms, families, communities — to participate in building someone’s healthcare security. It is an insurance integration layer that makes coverage accessible and aligned. It is an AI health assistant that amplifies doctors and nurses tenfold. It is a provider network that connects pharmacies, hospitals, labs, and care nodes into a coherent system. It is a claims engine that resolves costs transparently. It is an analytics platform that generates health intelligence at population scale. It is an SDK and API that lets any organization build on these rails.

It is, in essence, a healthcare operating system.

Not in the grandiose sense of controlling everything. In the humble, powerful sense of providing the foundational services — identity, accounts, records, intelligence, connectivity, payments — that everything else needs in order to function.

Just as Android provides the operating system upon which millions of apps run, Aarokya provides the operating system upon which a healthcare ecosystem can grow. The platform handles the infrastructure. The ecosystem handles the innovation. And the patient — always the patient — benefits from both.

What an Operating System Does

An operating system doesn’t do everything. It does the fundamental things that everything else depends on — and does them reliably, securely, and at scale.

Aarokya’s role as a healthcare operating system is to provide:

  • Identity — know who the patient is (ABHA-linked, Aadhaar-verified)
  • Accounts — manage their healthcare funds (HSA engine)
  • Records — maintain their health history (consent-driven, portable)
  • Intelligence — understand their health context (AI-powered)
  • Connectivity — link them to care (provider network)
  • Payments — handle the money (UPI-based, insurance-integrated)
  • Extensibility — let others build on top (SDK/API)

Everything else — the specific health programs, the innovative care models, the specialized services — can be built by the ecosystem on these foundations.

India built UPI and gave the world a model for digital payments infrastructure. India built Aadhaar and created the world’s largest digital identity system. India built CoWIN and administered the world’s largest vaccination drive.

Aarokya aspires to the same lineage: India’s healthcare operating system — built for Indian realities, powered by Indian digital infrastructure, animated by Indian compassion, and designed to ensure that affordable healthcare reaches everyone.

Not someday. Not incrementally. Not for the privileged few.

For everyone.

Aarokya is not just an app. It is the healthcare operating system for India.