Shayan Mousavi
Shayan Mousavi
Shayan Mousavi, PhDSenior AI Engineer and tech lead at Sanofi R&D, Toronto

AI that accelerates scientific discovery.

I build AI agents and machine learning systems for drug and materials discovery, and I make them hold up outside the notebook. A PhD in applied AI for materials science, then autonomous labs at the National Research Council, now agentic platforms in pharma R&D.

  • Best Invention 2025, Clean Energy Innovation Awards
  • 4 papers on AI for spectroscopy and materials
  • In production under GxP at Sanofi
Designdrugs, materials Makerobots, synthesis Testassays, spectra LearnBayesian models AI agent plans, calls tools, picks the next step Scientist approves
Drug discoveryMaterials discovery

Where I work

Three problems I keep returning to. All of them end with a model making decisions about real experiments.

Agents for scientific discovery

Orchestrator-and-specialist agents that read the literature, plan experiments and drive lab hardware through the design, make, test, learn loop.

  • Agentic RAG
  • Self-driving labs
  • Knowledge graphs

Machine learning for the physical sciences

Bayesian optimisation and active learning where data is scarce and every experiment costs money, plus deep learning for spectroscopy and scientific imaging.

  • Active learning
  • Bayesian ML
  • Computer vision

Production AI for life sciences

The cloud infrastructure, evaluation and observability that let an autonomous system be trusted inside regulated R&D.

  • AWS and Terraform
  • LLM observability
  • GxP

Selected work

Five systems, most recent first: from electron microscopes and synchrotron beamlines to self-driving labs and pharma R&D.

SanofiSenior Data and AI Engineer, tech lead
2025 to now

A multi-agent platform for scientific data

I lead a team of three GenAI engineers building an orchestrator-and-specialist platform for bulk ingestion and analysis of scientific data. Hybrid retrieval, graph databases and domain ontologies do the semantic triage. An observability stack tracks drift, token cost and latency, and human-in-the-loop fallbacks are written into the GxP controls. I also moved an active-learning discovery platform from experimental models into a product with real APIs and routing.

Deployed in pharma R&D under GxP controls
  • Agentic RAG
  • AWS
  • Terraform
  • OpenSearch
  • FastAPI
National Research Council CanadaProgram Technical Lead in AI
2024 to 2025

AutoMatOOr and the Digital Fabric

I set the AI strategy for the Materials for Clean Fuels programme and architected the Digital Fabric, an ecosystem that connects autonomous AI systems to laboratory hardware across institutions. As product owner and lead developer I built AutoMatOOr, an agentic orchestrator that runs the design, make, test, analyze loop end to end.

AI technical vision for a ~$60M national programme
  • Self-driving labs
  • Agents
  • Federated AI
AutoMatOOr on GitHub
National Research Council CanadaLead Applied AI Scientist
2024 to 2025

RE.Inform.ED and SokeGraph

RE.Inform.ED is an agentic RAG system that reads scientific literature and extracts structured knowledge, built as product owner and lead developer to remove the human bottleneck in evidence review. SokeGraph, which I co-developed, uses language models to build domain knowledge graphs so researchers can query by concept instead of keyword.

SokeGraph: Best Invention of the Year, Clean Energy Innovation Excellence Awards 2025
  • Knowledge graphs
  • LLMs
  • Information extraction
Natural Resources CanadaAI Researcher, Bayesian ML
2022 to 2024

Human-in-the-loop active learning for lithium

A Bayesian active learning workflow that folds expert feedback into the model, for mineral composition spaces too sparse to search by brute force. It showed a lithium process could tolerate impurities 20 times beyond current standards, and it redesigned a high-throughput refinement step.

+20% efficiency, now running in an industry partner’s operations
  • Active learning
  • Bayesian optimisation
  • NSGA-II
Code on GitHub
McMaster, CCEM, Canadian Light SourcePhD research
2019 to 2022

Deep learning for spectroscopy and imaging

EELSpecNet, a U-shaped convolutional network for pixel-wise deconvolution of electron energy-loss spectra. Super-resolution of diffraction-limited hyperspectral images at a synchrotron infrared beamline. And a Bayesian MCMC tool that tracks peak evolution in in-situ X-ray diffraction in real time.

EELSpecNet published in Scientific Reports
  • Computer vision
  • Hyperspectral
  • Bayesian MCMC
EELSpecNet on GitHub

Harnesses and loop engineering

At Sanofi I build cross-product harnesses that put agents to work across the whole lifecycle of life sciences tools, from the backlog to production, where there is little room for mistakes. Each one is written once and reused across products and teams. The ones I can share are open source.

  1. Product and scrumOpen source
  2. ArchitectureInternal
  3. InfrastructureInternal
  4. GenAI developmentInternal
  5. DeploymentInternal
  6. ProductionInternal

Research and career

Trained as a materials scientist, then spent nearly a decade teaching machines to read the instruments. The full story is on the about page.

Publications

Career

  • SanofiSenior Data and AI Engineer, tech lead, R&D AI products2025 to now, Toronto
  • National Research Council CanadaProgram Technical Lead in AI; Research Officer, AI/ML for accelerated discovery2024 to 2025
  • Natural Resources CanadaAI Researcher, Bayesian ML and human-in-the-loop systems2022 to 2024
  • Canadian Light SourceVisiting researcher, ML for synchrotron hyperspectral imaging2021 to 2022
  • McMaster UniversityPhD, applied AI in computational materials science; MSc, materials engineering2017 to 2022
  • Sharif University of TechnologyBSc, materials science, secondary stream in theoretical mathematics

Working on AI for discovery?

I am glad to compare notes on agents for science, active learning, and getting models out of the notebook and into the lab. LinkedIn is the fastest way to reach me.