skillfed

smg-grpc-proto

SMG gRPC proto definitions for vLLM, TRT-LLM, MLX, TokenSpeed, and SGLang

smg-grpc-proto v0.4.14 1.4M downloads/30d#3,977 on PyPI461
Permissive license Apache-2.0 Active released

What it is and what it does

smg-grpc-proto is a package of pre-compiled Python gRPC service stubs for the Shepherd Model Gateway (SMG), an orchestration layer for large language model inference. It bundles protocol buffer definitions for four LLM inference backends: SGLang scheduler and encoder services, vLLM engine service, and TensorRT-LLM service. Rather than requiring users to compile proto files themselves, the package ships ready-to-use Python stubs generated at build time.

The package is lightweight—a pure Python wheel with only grpcio and protobuf as runtime dependencies—and targets Python 3.10 and later. It is primarily useful for developers building clients or integrations that communicate with SMG-orchestrated inference services, or for projects like vLLM that need to speak to multiple backend engines via gRPC.

Use it for:

  • Building a client application that communicates with SMG-orchestrated vLLM or TensorRT-LLM inference engines.
  • Integrating multiple LLM backends (SGLang, vLLM, TRT-LLM) into a single inference orchestration system.
  • Testing or developing SMG itself by importing the proto stubs without manually compiling proto files.
  • Deploying inference services that use gRPC for inter-service communication in a distributed LLM system.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides pre-compiled Python gRPC stubs for protocol buffers used by SMG (Shepherd Model Gateway) to communicate with LLM inference services including SGLang, vLLM, and TensorRT-LLM.

Yes, if you are building or deploying an SMG-based inference system or integrating with vLLM, TensorRT-LLM, or SGLang via gRPC. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. Install only if you actually need these specific proto stubs; it is a narrow-purpose dependency.

Install

smg-grpc-proto on PyPI

pip

pip install smg-grpc-proto

uv

uv add smg-grpc-proto

poetry

poetry add smg-grpc-proto

Installing smg-grpc-proto

Before you install

Low friction: pure Python wheel with only two runtime dependencies (grpcio and protobuf). Repository is active with recent commits and no archived status.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install smg-grpc-proto

from smg_grpc_proto import sglang_scheduler_pb2, sglang_scheduler_pb2_grpc
from smg_grpc_proto import vllm_engine_pb2, vllm_engine_pb2_grpc

Requires Python 3.10 or later; grpcio>=1.81.1 and protobuf>=5.26.0 must be installed.

Verify before relying

  • Whether the pre-compiled stubs are regenerated with each release or lag behind proto source changes
  • Compatibility guarantees between this package version and specific vLLM or TensorRT-LLM versions

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — grpcio, protobuf
Maintenance actively maintained — 34 days since the last release
Last repo commit
First released
Downloads 1,384,741/month — #3,977 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: smg_grpc_proto-0.4.14-py3-none-any.whl

Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

grpc protocol buffer stubsllm inference service definitionsvllm trtllm sglang grpcshepherd model gateway protogrpc service client stubsllm engine communication protocoldistributed inference grpc definitions
grpc-stubsllm-inferenceprotocol-buffers

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

smg-grpc-servicer

Provides gRPC servicer implementations that…

permissive · top 5,000 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

sentry-protos

Provides protocol buffer and gRPC schema…

unclear · top 15,000 on PyPI

proto-google-cloud-datastore-v1

Provides Protocol Buffer definitions and gRPC…

permissive · top 15,000 on PyPI

logic2-automation

Python client library for controlling Saleae…

unclear · top 15,000 on PyPI

aristaproto

Generates Python gRPC stubs and message classes…

permissive · top 15,000 on PyPI

grpc-gateway-protoc-gen-openapiv2

Generates Python support code for gRPC Gateway…

permissive · top 15,000 on PyPI

opensearch-protobufs

Provides pre-generated Python Protocol Buffer…

permissive · top 5,000 on PyPI

hatch-protobuf

A Hatch build plugin that generates Python…

copyleft · top 15,000 on PyPI

grpcio-status

Provides Python protobuf definitions for…

permissive · top 100 on PyPI