rskit-inference — model-serving runtime contracts
rskit-inference is the model-serving runtime contract layer for Triton, vLLM raw, TGI, KServe v2, BentoML, ONNX Runtime Server, TFServing, and custom REST/gRPC serving APIs. Concrete serving adapters live in contrib/inference/*. It is not a chat completion abstraction; chat belongs to rskit-llm and contrib/llm/*.
Install
[]
= "0.2.0-alpha.1"
= { = "1", = ["macros", "rt-multi-thread"] }
Adapter crates
| Adapter | Protocol | Streaming | Status |
|---|---|---|---|
rskit-inference echo |
local test adapter | No | Implemented in core |
rskit-inference-triton |
KServe v2 HTTP | No | Implemented in contrib |
rskit-inference-vllm |
OpenAI-compatible /v1/completions |
No | Implemented in contrib |
rskit-inference-tgi |
OpenAI-compatible /v1/chat/completions |
No | Implemented in contrib |
Quick start
use HashMap;
use ;
use ;
async
When to use
Use rskit-inference when you are integrating serving runtimes with typed inputs and outputs. If you want conversational LLM behavior, tool use, or canonical chat events, stay in rskit-llm.