macodgent
Reusable functions for the statistics, modelling and visualization workflows of routine medical data analysis. Methods and code are fully auditable, ready for research delivery and teaching.
remotes::install_github("XieYj2026/macodgent")We work on medical data mining, clinical prediction models and enterprise AI agents; from statistical analysis to agent engineering, delivering reproducible, production-ready solutions. Our own tools: the macodgent R package and the RAI R AI IDE.
MA Codgent is led by Dr. Xie and grounded in medical data science methodology, spanning clinical prediction models, statistical analysis and AI agent engineering. We deliver for university research groups and enterprise clients, with medical rigor and reproducible methods as standard. Our own tools include the macodgent R package and the RAI R AI IDE.
We believe AI makes writing code cheap; knowing whether an analysis is correct is what creates value. Medical review and reproducibility are the baseline for everything we publish and deliver.

Alongside content and custom delivery, we build and maintain two tools in-house: the macodgent R package and the RAI R AI IDE. Both are publicly available.
Reusable functions for the statistics, modelling and visualization workflows of routine medical data analysis. Methods and code are fully auditable, ready for research delivery and teaching.
remotes::install_github("XieYj2026/macodgent")A local IDE built for medical research: persistent R sessions, editable code, an AI assistant and document preview, with support for your own R packages and plugins. Every step stays traceable.
From R for medical statistics to AI-assisted research, systematically organized, reproducible and continuously updated. Open a card to subscribe or purchase.
One body of work, distributed across platforms. Follow us wherever is convenient.
Two types of delivery for university research groups and SMEs, from methodology to production engineering.
Industry-agnostic: any setting with a knowledge base, repetitive workflows and human review. Medicine is our strength, not a requirement. Three hard requirements set us apart when serving government, finance and healthcare clients.
Pricing is scoped to project size and complexity · Request a custom proposal →
Base pricing stays fixed; we add services rather than discount, protecting the brand and margin.
Clinical, statistics and AI engineering, covering the full research lifecycle.
Whether it is clinical prediction models, publication-grade methodology or enterprise AI agents, we would like to hear from you. Professors and research groups are also welcome to discuss teaching and training.