Scan your whole stack
From OX Research Newsroom
Are you using arbi-serve?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.68
arbi-serve was last scanned on 26 Nov 2026 at version 0.3.68. Risk score 50 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 0.3.68 LATEST | 26 Nov 2026 | 1 rule fired |
| 0.3.67 | 26 Nov 2026 | 1 rule fired |
| 0.3.66 | 26 Nov 2026 | 1 rule fired |
| 0.3.65 | 26 Nov 2026 | Not shown |
| 0.3.64 | 25 Nov 2026 | Not shown |
Findings for v0.3.68. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The code polls a remote server in a background loop or thread and runs the command or code it receives: a value taken from a network response reaches a shell, a process launch or an eval. A program that does this gives whoever controls the server remote control of the machine. Normal tools run a fixed command, or pass server data to a fixed program as an argument. Confirmed on a package that registered each install with a hidden server and then ran whatever commands came back.
HIGHThe score describes 0.3.68; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Long-context inference that's actually viable on consumer GPUs: full model context, virtually lossless quality, concurrency built for real traffic — not a demo. Charts backing each of these land in Benchmark and value below as they're published.
The wedge between datacenter inference (vLLM, SGLang) and edge tools (Ollama): self-hosted LLM serving with datacenter-grade concurrency and VRAM efficiency, one-command-easy to run, monitor, and configure. Built for businesses that want real production characteristics on their own GPUs — RTX included — without a datacenter budget, and without depending on someone else's cloud to run their own models. Distributed inference, in the sense that matters: the power to run this yourselves stays with you, not a central provider.
It's a serving engine for a documented, explicit set of model architectures (Feature status below), not a generic fallback for every checkpoint on the Hub.
Needs uv and one NVIDIA GPU:
uvx arbi-serve Qwen/Qwen3.5-0.8B
One argument, a Hugging Face repo id or a model folder, and no prompt: it
downloads the model if it is not cached (saying how much first), serves its
weights as its config says, plans the fit with the engine planner, prints what
it chose (KV cache k4v4, 4 concurrent streams, no drafter, every free GPU) and
starts. --kv, --max-batch, --gpus and --drafter change any of them.
uvx arbi-serve alone asks how to start: a model already on this machine, a
Hugging Face name or folder, a saved plan (Enter takes the last one), or the
full planner menu (GPUs, memory, drafter, streams and KV, then the plan).
The launcher switches itself to the release image's Python (3.12), so the
native extensions come prebuilt from the public kernel store instead of
compiling (docs/kernel-store.md).
The launcher discovers installed CUDA toolkits from CUDA_HOME / CUDA_PATH,
nvcc on PATH, NVIDIA compiler wheels, or standard toolkit locations. It sets
the server’s CUDA paths and checks that a discovered compiler can build against
the host headers before loading weights. uvx installs Python dependencies;
PyTorch’s bundled CUDA runtime does not include nvcc. Prebuilt kernels can run
without a compiler, but a kernel-store miss needs a compatible toolkit.
Installs itself, boots, drops you into a chat prompt. Everything below is detail you don't need yet.
arbi-serve is the native serving engine for
Turbo Attention (tkv) —
the 2–8-bit asymmetric KV-cache codec (WHT rotation + calibrated
per-channel scaling, dequant fused inline into both prefill and decode).
Calibration, per-layer bit allocation, hot-swap, profiling, and memory
accounting are first-class rather than bolted on. Where SOTA kernels fit
(flash-attn, CuTeDSL, FlashInfer, Triton, vendor kernels) the
engine adopts them; where the serving path needs tighter control — fp8
paged-KV attention on consumer RTX cards the standard kernels refuse to
run, hybrid GDN/Mamba/ShortConv state, full-duplex audio — it carries
its own.
turbo-attn) specifically to hold quality at a
fraction of the KV-cache memory — not a generic INT8 cast./metrics, an admin
console, and structured boot/flag logging — the compile/cache paths and
memory budget stay inspectable instead of opaque.The trade is deliberate: this is an explicit model and hardware surface, not a generic Transformers fallback or a promise of feature parity with other servers. See the feature analysis for boundaries.
arbi-serve consumes tkv through its public API only:
tkv.runtime.*, tkv.codec, and tkv.core. It never imports
tkv.integrations.* or private/internal turbo-attn modules.
uvx arbi-serve (above) needs nothing installed ahead of time.
Into your own project or venv instead:
uv pip install arbi-serve # lightweight generated Python client
uv pip install "arbi-serve[server]" # standard NVIDIA inference server
uv pip install "arbi-serve[ui]" # remote admin console + client
uv pip install "arbi-serve[server,ui]" # local server + admin console
uv pip install "arbi-serve[fa]" # no-op extra (kept for resolve compat)
uv pip install "arbi-serve[convert]" # offline EXL3 converter (`arbi-serve convert`)
uv pip install "arbi-serve[dev]" # + tests + lint tooling
(plain pip install works identically if you don't have uv)
arbi-serve run <model> — see Quickstart — installs arbi-serve[server]
with uv (falling back to pip) if it isn't there yet, boots, waits for
readiness, and drops into a chat REPL. Run it again with a different model
while the first is still up and it hot-swaps the new model into the same
resident server (POST /v1/admin/model, the same fast park/wake path used
for A/B iteration) instead of booting a second process — pass --new to
force a separate instance on another --port. Extra flags for a fresh
boot go after -- (e.g. arbi-serve run demo -- --tp-size 2). Add
--console to also boot the admin console (installs [ui,otlp] too, and
leaves OTLP push at the engine's own default instead of forcing it off).
Companion commands:
arbi-serve pull Qwen/Qwen3.5-0.8B # fetch weights without booting a server
arbi-serve list # locally cached models
arbi-serve ps # running instances + their active model
arbi-serve stop # stop a tracked instance
A bf16 checkpoint's weights convert to EXL3 once, on one GPU (this is the weight quantization; the KV cache is chosen separately, at boot):
uv pip install "arbi-serve[convert]"
arbi-serve convert --model /models/MyModel --out /models/MyModel-exl3-4.0bpw --bits 4.0
--bits (weight bits per weight) |
Use |
|---|---|
| 3.0 | aggressive: smallest, for a model that would not fit otherwise |
| 4.0 | standard (default) |
| 5.0 | high quality |
| 6.0 | max quality |
Name the output <Model>-exl3-<bits>bpw beside the original and arbi-serve run
lists it as a weight quant of the same model.
For a GDN hybrid (Qwen3.5 / 3.6 / 3.8 family) the conversion also writes our INT8
attention sidecar (sidecars/attn_int8_q8ks.safetensors): the full-attention
projections quantised to INT8 from the bf16 source, which prefill serves (decode stays
on EXL3). Keep it beside the weights; --no-attn-sidecar skips it, and
--attn-sidecar-source <bf16 dir> names the source when --model is already quantised.
For an existing EXL3 checkpoint, tools/exl3_attn_q8.py builds one.
run/pull/ps/stop are Python-only orchestration around the existing
bare-metal entrypoint (python -m arbi_serve) and the generated admin
client — they never fall back to Docker Compose on their own. If the
native CUDA/kernel stack can't be made to work bare-metal, they say so and
stop; use the Docker Compose quickstart below instead.
arbi-serve doctor diagnoses a broken/incomplete install (works even
without torch/tkv — that's exactly when it's most useful) —
driver/CUDA/compute-capability, disk and cache writability, Hugging Face
reachability, and, once the server deps are present, turbo-attn/tkv
compatibility and environment sanity. arbi-serve plan --model <path>
estimates VRAM/context/concurrency for a config before booting, without
loading any weights — an estimate, not the persisted boot-confirmed
sizing cache described in docs/memory-accounting.md.
arbi-serve config explain <flag> / config flags / config resolve
inspect the same RuntimeFlags/ServerConfig surface the admin console
does. arbi-serve --version, arbi-serve --help (lists every
subcommand, including openapi/convert/calibrate/warmup/bench),
and each subcommand's own --help are the full reference.
The base install (no CUDA/PyTorch needed) is also a useful command-line
client for any already-running endpoint — one started with arbi-serve run
above, the Docker Compose path below, or a remote deployment:
arbi-serve chat --url http://localhost:8000 --model Qwen3.5-0.8B \
"What is 2 + 3? Answer with only the number."
The model can be omitted when the endpoint advertises exactly one model, and
the prompt can come from stdin. Use --token (or ARBI_SERVE_TOKEN) for an
authenticated endpoint, or carry the key in the URL as one pasteable string,
--url https://<your-server>#key=<your-api-key> (the fragment is stripped
before any request, so the key never reaches a log; the key is sent over plain
http:// only to localhost unless --allow-http is passed), --temperature and --max-tokens for sampling
controls, and --json when a complete OpenAI-compatible response is needed:
printf '%s\n' 'Name three primary colors.' | arbi-serve chat --url http://localhost:8000
GDN and structured generation are part of the standard server runtime, not
model-specific extras. arbi-serve does not use Transformers for serving; the
official container omits it. For bare-metal installs, upstream xgrammar
currently declares Transformers transitively even though arbi-serve supplies
its own tokenizer metadata. Transformers is otherwise test/reference-only.
EXL3 serving needs nothing beyond the server extra, and no exllamav3 at all:
arbi-serve reads the format and runs the trellis on its own kernels, which
come prebuilt from the kernel store
(docs/kernel-store.md), so
uvx --python 3.12 --from "arbi-serve[server]" arbi-serve serves an EXL3
checkpoint without a compiler. Stock upstream exllamav3 is installed only by
the [convert] extra, for the offline converter.
A kernel the store does not hold (a model geometry nobody prebuilt) is compiled
once on first use, with a JIT-COMPILING warning, and cached under the boot cache
(~/.cache/arbi-serve bare-metal, /cache in a container — mount it persistently),
so later boots reuse it. To share compiled kernels across several machines, mount
one directory on all of them and point ARBI_EXT_SHARE_DIR at it. The boot's
compiled kernels: line says where they are cached and whether a shared tier is on.
See pyproject.toml for the full extras list and version
floors. For source installs and a development setup, see
CONTRIBUTING.md.
With an ARBI account, the base install also starts a deployment (your own
private endpoint on a dedicated GPU, billed per minute from your ARBI
balance) and manages it, without the portal. arbictl is the same command.
arbi-serve login # approve the code in the portal; once per machine
arbi-serve billing # balance, burn rate, card on file, auto top-up
arbi-serve deploy Qwen3.8-27B # price, boot time, confirm; waits until it serves
arbi-serve deploy ls # your deployments
arbi-serve deploy status 12 --show-key # state, boot stage, uptime, cost; the endpoint and key
arbi-serve deploy logs 12 [-f | --boot] # its log, or its archived boot logs
arbi-serve deploy stop|start|down 12
deploy refuses before anything is rented when there is no card on file or
the balance does not cover an hour at the offer's price (--min-hours); add a
card or turn on auto top-up in the portal (arbi-serve billing open,
arbi-serve billing autotopup on --below 10 --add 50). The terminal never
handles card details and never opens a shell on the rented machine. With
--checkpoint DIR (the model's checkpoint on this machine and the server
install, for the planner) the deployment boots a plan made here on the
offer's card, --set FLAG=V included; --launch FILE boots a launch payload
from the admin console's Plan tab, and deploy relaunch ID does the same on a
running deployment that was started from a plan. The sign-in is kept in the
system keyring when the keyring package is installed
(uvx --with keyring arbi-serve login), else in a file readable only by you.
The Quickstart above (uvx arbi-serve run) is the fastest path for one
model on one machine. This is the Docker Compose path instead — same GPU
requirement, more explicit control over backend/codec, and what's actually
running behind the scenes if you want to see it. It explicitly selects auto,
which uses bf16 paged KV through the tkv-bypass kernels and needs no
calibration bundle. The general Compose file defaults to tkv, so keep this
override in the command. Qwen/Qwen3.5-0.8B is the small GDN smoke model used
for quick bring-up and high-concurrency testing. It is not the
project's performance or quality reference: that is the Qwen3.8-27B GDN path
below. See the supported model matrix before
choosing another checkpoint.
Prerequisites: Docker Compose v2, the NVIDIA Container Toolkit, one CUDA GPU, and enough VRAM for the selected model, context, and CUDA graphs.
git clone https://github.com/arbicity/arbi-serve
cd arbi-serve
ARBI_MODEL=Qwen/Qwen3.5-0.8B \
ARBI_KV_CACHE_DTYPE=auto \
ARBI_MAX_CONTEXT=2048 \
docker compose up -d --build
The first boot builds the image and downloads the hub checkpoint into the
persistent Compose cache. Follow detail with docker compose logs -f arbi-serve.
Wait for the serving gate, not just the web server binding:
/health is liveness and can return 200 while the model is building;
/health/ready is 503 until a request can be admitted. Probe both (as the
Compose healthcheck does):
until curl -fsS http://localhost:8000/health/ready >/dev/null; do sleep 2; done
curl -fsS http://localhost:8000/health
curl -fsS http://localhost:8000/health/ready
Discover the exact model id before making a request:
curl -fsS http://localhost:8000/v1/models
For a hub id, the default served id is the repository name (Qwen3.5-0.8B in
this example; an @revision suffix is retained). For a local checkpoint it is
the final path component. Send that served id, not necessarily the original
host path. The lightweight CLI uses the generated arbi client and
auto-discovers the model when exactly one is advertised:
arbi-serve chat --url http://localhost:8000 --model Qwen3.5-0.8B \
--max-tokens 24 "What is the capital of France?"
Applications can use the official OpenAI Python SDK directly:
pip install openai Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.