Serverless Computing for Artificial Intelligence: The OSCAR–AI4EOSC Integration Story.

Serverless Computing for Artificial Intelligence: The OSCAR–AI4EOSC Integration Story.

Monday, November 10, 2025

The AI4EOSC European Project uses the OSCAR serverless platform to support the scalable execution of the inference phase of AI models. As the project has come to its end in August 2025, in this post, we want to briefly summarize the achievements and integrations performed during it.

What is AI4EOSC?

AI4EOSC stands for “Artificial Intelligence for the European Open Science Cloud.” It is an initiative aimed at integrating artificial intelligence (AI) technologies into the European Open Science Cloud (EOSC), a federated ecosystem that enables researchers to access, process, and share data and services across Europe.

The AI4EOSC project focuses on simplifying how scientists develop, train, and deploy AI models. Thus, the main goal of AI4EOSC is to enhance the capabilities of EOSC by leveraging AI to improve data management, analysis, and sharing, thereby fostering innovation and collaboration in scientific research. Aligned with this aim, the project has successfully delivered the AI4OS software stack and the AI4EOSC Dashboard, where, among others, users can find the catalogue of available AI models and can easily deploy or re-train them.

AI4EOSC Dashboard screenshot

OSCAR: The Serverless Solution for Inference of AI Models

The scalable inference of AI models is performed by the AI4OS inference platform, which is based on the open-source serverless platform OSCAR. The AI4OS inference platform consists of a pre-deployed production instance of the OSCAR cluster that is exclusively accessible to users belonging to the virtual organisation of AI4EOSC (vo.ai4eosc.eu).

OSCAR has evolved during the AI4EOSC project, and these are the key features we have developed during this collaboration:

  • Pre-trained AI models are delivered directly via OSCAR, ready for inference without additional setup. More info.
  • Provided multiple execution modes: asynchronous (event-triggered), synchronous (HTTP requests), and exposed services (REST APIs).
  • Supported deployment on multi-cloud and edge devices (e.g., Raspberry Pi), with elastic scaling and integration with object storage (MinIO, dCache).
  • Enhanced privacy and multitenancy, with bucket management and Kubernetes secrets for secure data handling.
  • Streamlined authentication via integration with Keycloak for unified access control.
  • A redesigned dashboard, built with React, provides a user-friendly interface, while Prometheus and Grafana enable real-time monitoring and accounting.
  • Automated testing ensures reliability through Robot Framework acceptance tests, executed regularly via Jenkins pipelines.
  • Integration with AI4Compose for the execution of composite pipelines involving several AI models, created with a drag and drop approach (with Node-RED or Elyra).

Use Cases Integration

The use cases of AI4EOSC have been using OSCAR for the deployment of their AI models for inference. Let’s have a closer look at them to know how they have been using OSCAR.

AI4EOSC Use Cases

UC1 - Agrometeorological forecasts

In agriculture, timely weather insights are critical. This use case has developed an AI model that combines radar imagery, in-situ measurements and numerical weather predictions to provide timely and precise warnings for farmers and local communities. The OSCAR instance has been used to deploy multiple forecasting models (eight in total, one for each prediction lead time) as part of an agrometeorological nowcasting pipeline. Here’s how it works:

  1. Input data are transferred from a forecasting virtual machine to the MinIO object storage system.
  2. This automatically triggers asynchronous inference on OSCAR.
  3. The model’s predictions are stored and transferred back, where they feed into a GeoServer to visualize warnings for farmers using a simple three-color (traffic light) system — and trigger notifications when needed.

This workflow ensures automated, scalable, and real-time decision support for agricultural management. This work has been done in collaboration with the colleagues of MicroStep-MIS.

UC2 - Integrated plant protection scenario

This use case has developed an AI model focused on the early detection of plant disease. The model combines a network of meteorological data, existing mathematical models and ground observations, enhanced with satellite data, to provide greater terrain coverage and spatial precision. Focused on a dataset directly taken from plants and crops of Poland, the model aims to improve the quality and safety of food production by reducing the usage of pesticides.

A proof-of-concept integration with OSCAR has enabled a plant protection application to be deployed directly through the AI4EOSC marketplace. Researchers can test and experiment with this service using try-out deployments or containerized (Docker) access, paving the way for broader adoption in agricultural monitoring and pest management. This work has been done in collaboration with the colleagues of PSNC.

UC3 - Automated Thermography

In the field of energy efficiency, two different AI models have been developed by this use case. The models apply Deep Learning techniques to detect hotspots through instance segmentation in combined thermal and RGB image data. OSCAR supports continuous inference for Thermal Bridges on Building Rooftops Detection (TBBRDet) model. Through a secure and user-friendly interface, building owners or urban planners can analyze thermographic data to detect energy losses — all without sharing raw data or inference results.

This demonstrates OSCAR’s privacy-preserving design: enabling powerful AI analysis while keeping sensitive information under control. This work has been done in collaboration with the colleagues of KIT.

Conclusion

The integration of OSCAR into the AI4EOSC ecosystem marks a major step toward democratizing access to AI infrastructure for European researchers. By combining serverless computing with open science principles, it empowers scientific communities to deploy, test, and scale AI models efficiently and transparently.

OSCAR is developed by the GRyCAP research group at the Universitat Politècnica de València. AI4EOSC has received funding from the European Union’s Horizon Europe 2022 research and innovation programme under agreement #101058593.