smg-grpc-proto
SMG gRPC proto definitions for vLLM, TRT-LLM, MLX, TokenSpeed, and SGLang
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-protouv
uv add smg-grpc-protopoetry
poetry add smg-grpc-protoInstalling 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
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
smg-grpc-servicerProvides gRPC servicer implementations that…
permissive · top 5,000 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
sentry-protosProvides protocol buffer and gRPC schema…
unclear · top 15,000 on PyPI
proto-google-cloud-datastore-v1Provides Protocol Buffer definitions and gRPC…
permissive · top 15,000 on PyPI
logic2-automationPython client library for controlling Saleae…
unclear · top 15,000 on PyPI
aristaprotoGenerates Python gRPC stubs and message classes…
permissive · top 15,000 on PyPI
grpc-gateway-protoc-gen-openapiv2Generates Python support code for gRPC Gateway…
permissive · top 15,000 on PyPI
opensearch-protobufsProvides pre-generated Python Protocol Buffer…
permissive · top 5,000 on PyPI
hatch-protobufA Hatch build plugin that generates Python…
copyleft · top 15,000 on PyPI
grpcio-statusProvides Python protobuf definitions for…
permissive · top 100 on PyPI