Skip to content
Business Agile
Work
AI · Food safety and nutrition (B2B) · Oct 2025

ScienceProtect

APIs, data pipelines and a knowledge graph to track food science.

scienceprotect.com
ScienceProtect home page, scientific monitoring for food safety

Key figures

studies tracked (figure published by the client)40 million
automated tests on the Who's Who API (team)607
of PubMed API commits are mine68%
start of my work, still ongoing2024

ScienceProtect helps the food industry keep track of what research publishes about substances, foods and their health effects. The client sums it up on its website: turning 40 million peer-reviewed scientific studies into actionable signals for food safety and nutrition. I have worked on this product since 2024, within the technical team of CheckTheNet, the company that publishes it. It is team work, and this case study states exactly what I built.

In pictures

scienceprotect.com
English version of the ScienceProtect marketing site
The bilingual marketing site built with the team: one address per language, server-rendered pages.
French version of the ScienceProtect site on mobile
The French version on mobile, under its own address.

The project in detail

In 2024 I wrote most of the API of the first platform, with Django REST Framework on PostgreSQL: substances, foods, publications, user accounts and monitoring. It feeds a Next.js application whose interface was built by another developer on the team, with whom I worked on the integration.

In 2025 I designed and built PubMed API, a fully asynchronous FastAPI service sitting in front of the public PubMed API. It batches requests, caches results in Redis and keeps its throughput under the public service's quota, so the rest of the platform can query the scientific literature without being throttled. The service exposes 25 routes and I authored about two thirds of its commits.

I then contribute to the core product, Who's Who, a GraphRAG built as a team: a Memgraph knowledge graph links substances, diseases, foods, publications, experts and panels of EFSA, the European Food Safety Authority. TaskIQ pipelines fetch the publications of each substance and link them to diseases, then LLM agents written with pydantic-ai classify the study domain, the methodology and the observed effect. Agent instructions are versioned: when one changes, only the affected publications are reprocessed. I wrote about a third of this repository's commits, including the scrapers that collect EFSA experts and opinions.

Together with the team, I also built the client's bilingual marketing site with TanStack Start (server-rendered pages, one URL per language, structured data) and the small FastAPI service that relays its contact form through Brevo.

Two open source libraries came out of this project: fastapi-object-pagination, to paginate typed FastAPI responses, and async-factory-boy, to generate asynchronous test data. I also contributed upstream to neontology, the Python library bridging Pydantic and graph databases.

What was done

  1. 01

    Django REST Framework API of the first platform, mostly written by me

  2. 02

    Asynchronous FastAPI proxy for PubMed: batching, Redis cache, quota compliance

  3. 03

    Contribution to the Who's Who GraphRAG on Memgraph, with pydantic-ai agents

  4. 04

    Scrapers for EFSA experts and opinions

  5. 05

    Bilingual TanStack Start marketing site and Brevo contact API

  6. 06

    Two open source libraries extracted from the project

Frequently asked questions

What is a GraphRAG and why use it for scientific monitoring?

A GraphRAG combines a knowledge graph with a language model: the model answers from explicit relations (a substance, a disease, a publication, an expert) rather than from isolated text passages. For ScienceProtect, this ties every answer back to the publications it rests on.

How do you query PubMed at scale without being throttled?

Through an intermediate service that batches requests, caches results and keeps throughput under the public service's quota. That is the job of PubMed API, built with asynchronous FastAPI, Redis and TaskIQ.

Can Business Agile join an existing technical team?

Yes. On ScienceProtect I work inside the client's technical team: I own whole services (APIs, the PubMed proxy, scrapers) and contribute to shared repositories with the same conventions, code reviews and continuous integration as everyone else.

Other work

A project? Let's talk this week.

A short brief, an answer within 48 hours, a firm estimate after scoping.

Describe my project