#5262·kedro

Kedro Service for Universal Deployment

Author: rashidakanchwalaCreated Dec 9, 2025Updated Sep 28, 2026
LabelsIssue: Feature Request

Description

Build a Kedro Service that makes Kedro pipelines easy to run from production systems such as APIs, orchestration tools, applications, and testing frameworks. Introduce a long-lived KedroServiceSession that breaks the 1:1 session = run constraint, supports runtime data and parameters, and preloads datasets for fast, repeated execution.

Context

Current KedroSession enforces a 1 session = 1 run constraint, limiting use in:

  • APIs, orchestration tools, interactive apps
  • Cloud functions, agentic systems, testing frameworks

This limitation prevents Kedro from being used in scenarios requiring high-frequency pipeline execution, runtime parameter injection, or long-lived services.

Related: #3540 (Universal Kedro Deployment), Kedro-Serve

Possible Implementation

Build KedroServiceSession - a long-lived, multi-run session designed for production deployment that:

  • Breaks 1:1 session=run constraint
  • Accepts runtime parameters & data per run
  • Preloads heavy datasets at startup for fast runs
  • Provides simple API interface (POST /run)

Additionally: Pipeline Inspection endpoints (GET /pipelines/* GET /nodes/*) for querying project structure without running pipelines.

Non-Breaking: KedroServiceSession coexists with KedroSession - existing CLI and notebook workflows remain unchanged.

Implementation Phases

  • #5263 Phase 1: API Interface with Current KedroSession
  • #5264 Phase 2: KedroServiceSession Core
  • #5265 Phase 3: Integration of KedroServiceSession with API & Testing
  • #5266 Phase 4: Pipeline Inspection Endpoints (in parellel with Phase 1)

Architecture Diagram

Image

Interest signals from GitHub:

• Discussion 4272 → 27 signals https://github.com/kedro-org/kedro/discussions/4272 • Issue 3540 → 2 signals https://github.com/kedro-org/kedro/issues/3540 • Anselm Workbench workaround → 1 signal • Discussion 2134 → 9 signals https://github.com/kedro-org/kedro/discussions/2134 • Discussion 2612 → 1 signal https://github.com/kedro-org/kedro/discussions/2612 • Discussion 1755 → 2 signals https://github.com/kedro-org/kedro/discussions/1755 • Discussion 933 → 2 signals https://github.com/kedro-org/kedro/discussions/933 • Discussion 795 → 3 signals https://github.com/kedro-org/kedro/discussions/795 • Issue 2169 → 1 signal https://github.com/kedro-org/kedro/issues/2169 • Issue 2879 → 2 signals https://github.com/kedro-org/kedro/issues/2879 • Issue 2182 → 1 signal https://github.com/kedro-org/kedro/issues/2182 Total explicit signals: 51 Additional adoption metric: • Kedro Boot Plugin → 457 downloads last month (shows organic demand for server-like behaviour)