pharmacology × software

I build the software my research needs.

MD Pharmacology resident at AIIMS Jodhpur. I make tools for the problems I hit at the bench and bedside: paediatric dosing, drug interactions, PK modelling, trial management and evidence synthesis. The rule across all of them: the code does the arithmetic, and every claim has a source.

Fig. 1 Plasma concentration after a single oral dose, one-compartment model (ka 1.2 h⁻¹, ke 0.17 h⁻¹, t½ ≈ 4 h). Hover to read the curve.

Selected work

updated Nov 2026

Clinical & regulatory tools

  1. PaedScale

    live

    A defensible starting dose for a child, extrapolated from adult pharmacokinetics with allometry × organ maturation (Anderson–Holford). An Opus orchestrator drives a Sonnet subagent that pulls cited adult PK live from PubMed and openFDA; deterministic Python does the maths. Every output is graded A–D, and with no source the engine abstains rather than guess. Built at the 2026 Claude Life Sciences Hackathon.

    Python · FastAPI · multi-agent · PubMed · openFDA

    Open Code
  2. PharmaVision

    demo

    An open-source lab for behavioural pharmacology: rodent open-field video in, an ARRIVE 2.0 results section out. SAM 3.1 tracks the animal zero-shot (98–99.8% of frames on the validation videos), Python computes every metric and statistic, and the model only writes. A number audit rejects any figure in the prose that doesn't match a computed value. Built for the Meta Global AI Developer Hackathon 2026.

    Python · SAM 3.1 · Pydantic · stats pipeline

    Demo Code
  3. DDI Explorer

    live

    An evidence-graded drug–drug interaction checker. Snap a prescription, and it OCRs it, scrubs patient identifiers before any LLM sees the text, and resolves Indian brand names (242K brands) to generics. Each pair runs an early-exit waterfall, openFDA → PubMed and ClinicalTrials.gov → case reports, and is graded A, B or C by the evidence it found.

    Python · React · Presidio · RxNav · openFDA

    Open Code
  4. VigiFlow Autofill

    live

    ADR reporting in India means retyping the same case data into a slow government form. This Chrome extension maps structured case data straight into VigiFlow's ICSR fields. Published on the Chrome Web Store; I've shared it with the Uppsala Monitoring Centre.

    Chrome extension · JavaScript

    Install
  5. ThesisManager

    live

    Tracking RCT patients across PI, resident and nurse roles, with the audit trail GCP requires. A clinical-trial patient management tool I run for my own thesis.

    JavaScript · role-based access · audit log

    Open Code

Pharmacometrics & research methods

  1. Agent Skills vs PMxAgent

    research

    Does an agentic pharmacometrics platform need its Docker + R Plumber + MCP stack? With Prof. Surjit Singh, I re-ran the NCA benchmark from PMxAgent (CPT:PSP 2026; 182 drugs, 1,820 subjects) against plain Claude Code with Agent Skills, scored with the paper's own metric. Skills matched or beat the platform, at a fraction of the cost. Every transcript is archived on Zenodo.

    armaccuracycost / runtime
    PMxAgent (MCP), Sonnet98.18$0.696.4 min
    Skills + script, Sonnet98.64$0.201.2 min
    Skills + script, Haiku98.64$0.091.1 min

    R · Python · Claude Code · reproducible harness

    Code Evidence
  2. Pykinetics

    live

    PK modelling usually lives behind expensive desktop software. Paste concentration–time data and it fits the kinetic order, picks a 1- or 2-compartment model by AIC, and returns the full parameter set with interactive plots, for IV bolus and oral dosing.

    JavaScript · compartmental PK · model selection

    Open Code
  3. SRM Assistant

    open source

    A model-agnostic harness for systematic reviews and meta-analyses: sharpen the question into a PROSPERO-ready protocol, dual-pass screen exports with PRISMA reason codes, then extract data from PDFs with a confidence score on every field. Outputs are ready for Rayyan and RevMan.

    Python (stdlib only) · plain-markdown prompts

    Code
  4. BioStat Playground

    live

    Stats and PK courses hand you a formula and a static plot. This flips it: drag σ and watch the normal curve widen, push a dose and watch the concentration curve lift. An interactive playground for biostatistics and PK/PD.

    TypeScript · interactive teaching

    Open Code

In development

  1. AInstein

    in progress

    A research agent, the counterpart to coding agents. Code is cheap to check and research isn't, so AInstein makes it checkable: every claim links to an exact quote, and ainstein verify confirms the source exists, the quote is in it and it hasn't been retracted. Every search is logged, and batch judgements run on two independent reviewer models with Cohen's κ.

    Python · model-agnostic · provenance-first

  2. pi-researcher

    v0.1

    Turns the pi coding agent into a researcher for PK/PD, systematic reviews, clinical trials and observational studies on hospital data. Every number that can reach a paper comes from a saved, seeded R or Python script, not from the model. A PHI guard pseudonymises names, Aadhaar and UHIDs, and 24 method guides (RoB 2, GRADE, NCA, popPK…) ship with it.

    TypeScript · R (metafor, PKNCA, rxode2) · PubMed · CTRI

  3. CT Notifier

    in progress

    A mobile app for trial coordinators: set up a study's visit schedule, enrol patients, and get a push notification before each follow-up falls due, so no visit window is missed.

    Flutter · Dart · Riverpod

About

I'm a pharmacology resident who got tired of waiting for software to exist, so I learned to build it. Most of what I make solves a problem I've hit personally: slow regulatory forms, untracked trial patients, PK models locked behind expensive tools, paediatric doses worked out by hand.

Lately that's meant AI agents, built the careful way. Models do the judgement; deterministic code does the numbers; every claim carries a citation, and the system abstains when it can't find one. I'm headed toward pharmacometrics, where the medicine, the maths and the code point the same way.

Get in touch

Collaborations on pharmacometrics, evidence synthesis or clinical tooling are welcome, as are questions about any of the projects above.