$npx skillfedfor your agent

kserve

KServe Python SDK

With conditionsPyPI Software DevelopmentReleased Aug 2026164.6K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — kserve-0.20.0-py3-none-any.whl
v0.20.0 · released 2026-08-06 · Python <3.13,>=3.10 · 28 runtime deps: uvicorn, fastapi, starlette, cloudevents, six, kubernetes, python-dateutil, numpy

Yes, if you are deploying models on Kubernetes and want a standardized, framework-agnostic inference server with built-in storage integration and metrics. The large dependency footprint and requirement for Python 3.10+ may complicate isolated environments. No, if you need a lightweight inference library for local or non-Kubernetes deployments—consider simpler alternatives. Yes-with-conditions if you are already in a Kubernetes ecosystem and can absorb the dependency complexity.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (capped below 3.13).
  • Kubernetes cluster and appropriate cloud credentials (AWS, GCP, Azure) needed if using remote storage backends.
  • Low install friction with a pure Python wheel.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.

last release 2026-08-06 (8 days) · last repo commit 2026-08-14 · 5,794 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 164,646 downloads/mo, #10,541 on PyPI

Verify before relying

pip install kserve

from kserve import KServeModel

class MyModel(KServeModel):
    def predict(self, request):
        return {"predictions": request["instances"]}

if __name__ == "__main__":
    model = MyModel("my-model")
    model.load()
    model.start()
  • Whether the package supports model frameworks beyond Scikit-Learn, XGBoost, and PyTorch mentioned in the description.
  • Performance characteristics and latency overhead of the pre/post-processing and prediction pipeline.
  • Availability and completeness of documentation for the client API and custom model extension.
Same gist for agents: .md · .json

What it is and what it does

KServe is a Python SDK for building and managing model inference services, split into two main components: a server library that standardizes how models are registered, loaded, and served with prediction handlers, and a client library for interacting with KServe control planes to create and manage InferenceService instances on Kubernetes clusters.

The server side handles model loading from multiple storage backends (Google Cloud Storage, S3, Azure Blob Storage, local filesystem, persistent volumes, and HTTP URLs), provides hooks for pre/post-processing and liveness/readiness checks, and emits Prometheus metrics for request latency across each pipeline stage. The client side lets you programmatically create, patch, and delete inference services on a remote KServe cluster. It's designed for teams deploying ML models at scale on Kubernetes, with built-in support for common frameworks and a large dependency footprint reflecting its integration with fastapi, grpcio, kubernetes, and data libraries.

Use it for

  • Deploy a trained scikit-learn or PyTorch model as a REST/gRPC inference service on Kubernetes with automatic model loading from cloud storage.
  • Build a custom prediction server with pre/post-processing logic (e.g., feature engineering, output transformation) using the standardized handler interface.
  • Manage multiple model inference services on a Kubernetes cluster via the Python client, automating service creation and lifecycle operations.
  • Monitor inference latency and request throughput using Prometheus metrics exposed at the /metrics endpoint for each prediction stage.
  • Load models from diverse storage sources (S3, GCS, Azure, local files, HTTP URLs) without writing custom download logic.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are deploying models on Kubernetes and want a standardized, framework-agnostic inference server with built-in storage integration and metrics.

The large dependency footprint and requirement for Python 3.10+ may complicate isolated environments. No, if you need a lightweight inference library for local or non-Kubernetes deployments—consider simpler alternatives. Yes-with-conditions if you are already in a Kubernetes ecosystem and can absorb the dependency complexity.

Install

kserve on PyPI

Before you install

Low install friction with a pure Python wheel. Active maintenance with a recent release (8 days old) and steady repository activity. Requires Python 3.10–3.12; pulls in 28 runtime dependencies including fastapi, kubernetes, grpcio, and data processing libraries, which may add complexity to your environment.

Requires Python 3.10 or later (capped below 3.13). Kubernetes cluster and appropriate cloud credentials (AWS, GCP, Azure) needed if using remote storage backends.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary projects.

Quickstart

pip install kserve

from kserve import KServeModel

class MyModel(KServeModel):
    def predict(self, request):
        return {"predictions": request["instances"]}

if __name__ == "__main__":
    model = MyModel("my-model")
    model.load()
    model.start()

Verify before relying

  • Whether the package supports model frameworks beyond Scikit-Learn, XGBoost, and PyTorch mentioned in the description.
  • Performance characteristics and latency overhead of the pre/post-processing and prediction pipeline.
  • Availability and completeness of documentation for the client API and custom model extension.

Package facts

LicenseApache-2.0 permissive
Python supportCapped below the current Python release <3.13,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
28 packages
uvicornfastapistarlettecloudeventssixkubernetespython-dateutilnumpypsutilgrpciogrpcio-toolsgrpc-interceptorprotobufprometheus-clientorjsonhttpxtiming-asgitabulatepandaspydanticpyyamlurllib3aiohttph11cryptographypython-multipartpyjwtpyasn1
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads164,646 / month, #10,541 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: kserve-0.20.0-py3-none-any.whl

Tags

Capabilities
ml model serving frameworkkubernetes inference servicemodel deployment sdkprediction server libraryml inference managementmodel serving kubernetesinference service client
Topics
model-servingkubernetesinference-framework

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kubernetes inference service”

  • kserveKServe Python SDK provides server and client libraries for deploying…
  • vllm-routerRoutes and load-balances requests across vLLM worker instances with…
  • jinaJina is a framework for building and deploying AI services that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also sagemaker-inference · mlserver · tensorflow-serving-api · sagemaker-serve · bentoml · azureml-inference-server-http · google-cloud-container · kfp-kubernetes · matrice · multi-model-server