Cross-Node Federated LLMas-a-Service

This use case brings AI assistance into Neurodesk, a community-driven platform used for reproducible neuroimaging and biomedical imaging research.

Scientific impact

By making AI tools available directly within the environment researchers already use, the use case will help them with coding, analysis and more complex research tasks without requiring them to set up separate services. Overall, the experience will be simpler for users while supporting a wider range of AI models and increasing the capacity available to the Neurodesk community.

This service offers transparent and secure access to LLM services within a federated environment, ensuring control over data processing and compliance with data sovereignty requirements. It enables the creation and deployment of domain-specific AI assistants using open-source models, reducing dependency on proprietary, external AI services.

Problem addressed

The objective is to make AI assistance available inside the same environment in which scientific analysis takes place, as current approaches produce different challenges. While commercial LLM services may offer limited transparency and control over the processing of requests and research data, operating a dedicated inference requires significant hardware resources and operational effort. Relying on a single institutional provider limits Neurodesk to the models, capacity, and availability of one provider. Finally, integrating several institutional or commercial providers can broaden model choice and available capacity, but requires managing different endpoints, credentials, and configurations. Agentic applications further increase these challenges because a single action may generate multiple model requests, thus increase inference demand.

Neurodesk addresses these requirements by integrating Neurodesk Europe Play with the federation of LLM inference providers operated by EGI. The EGI Node provides the federation layer, while the EOSC Node Czechia and HUN-REN SZTAKI contribute inference capacity. The federation exposes models through a unified OpenAI-compatible interface and provides access to a broader model portfolio and distributed inference capacity, while Neurodesk retains control over the scientific environment and the user-facing integration.

Technical approach

Three complementary AI tools are integrated into Neurodesk. Notebook Intelligence provides an AI coding assistant with chat, inline code editing, code completion and an agent that can interact with notebooks and workspace files. OpenCode complements this with an open-source agentic coding environment for more complex development tasks. T3 code acts as a meta-harness integrating OpenCode, Codex CLI, and Claude Code within a single interface, making it easier to manage multiple agentic analyses.

The integration is implemented directly in the Neurodesk environment. As a result, researchers do not need to configure the tools independently or manage access to different inference providers. They can select an available model and use it directly from the notebook environment, while the underlying inference service is provided through the federation.

The use case supports authentication and authorization through existing federated identity systems (e-INFRA CZ AAI / LS AAI and eventually LEXIS). Participating nodes will integrate their LLM inference frameworks into the federated service to enable seamless cross-node operation. This includes authentication and authorization activities to ensure single sign-on (SSO) across the services.

Target audience and value to users

The service enables researchers and developers to integrate LLM capabilities into applications and scientific workflows. Both junior and senior researchers will be able to use consistent, reproducible biomedical imaging tools on desktop, HPC and web environments with ease. Neurodesk Play provides access to the neuroimaging analysis environment directly through a web browser, with servers in the US, Europe and Australia.

The use case will also provide support for researchers, service providers, and operators in integrating LLM capabilities into their workflows through documentation, reference implementations, and onboarding support.

Added value of the EOSC Federation

As AI-assisted software development becomes increasingly useful in scientific workflows, Neurodesk is extending this environment with LLM-based coding assistants and agents.

The work brings together Neurodesk, EOSC Node EGI, EOSC Node Czechia and HUN-REN SZTAKI in Hungary. The EGI EOSC Node provides the federation layer that connects participating organisations, while EOSC Node Czechia and HUN-REN SZTAKI contribute computing capacity for running AI models. Neurodesk integrates these capabilities into its Europe Play environment, giving researchers straightforward access to AI support alongside their scientific workflows. The result is a shared, distributed approach that combines expertise and infrastructure from several organisations while keeping the user experience within Neurodesk.

Status
In-progress
Coordinator

Lukáš Hejtmánek, CESNET
Use case coordinator



Scientific disciplines

Use case type