sglang vs x-algorithm
sglang and x-algorithm share 10 technologies: axum, FastAPI, tower, Redis, Tokio, tracing, psutil, prometheus-client, tracing-subscriber, and OpenTelemetry. sglang is written in Python and x-algorithm in Rust.
What they share and what sets them apart
sgl-project
sglang
SGLang is a high-performance serving framework for large language models and multimodal models.
Python38.5kRead on November 6, 2026, at commit 0afb736What is sglang built with?Only in sglang
uvicorn
- axum-server
- pyzmq
- blobfile
OpenAI- Anthropic
- AIOHTTP
- wasmtime
- indicatif
- jsonwebtoken
apache-tvm-ffi
- cuda-python
flashinfer-python
- humming-kernels
- NVIDIA
- openai-harmony
- quack-kernels
- torch-c-dlpack-ext
- torch
- transformers
- einops
torchvision
- compressed-tensors
- gguf
tokenizers
xgrammar
- ModelScope
- tch
torchaudio
- hf-hub
partial-json-parser
- datasets
- mistral-common
- tiktoken
- llguidance
- rmcp
- sentencepiece
timm
pillow
minijinja
av
- torchcodec
- image
validator
msgspec
- Pydantic
- k8s-openapi
kube
- metrics
tracing-appender
- metrics-exporter-prometheus
opentelemetry-otlp
tracing-log
- tracing-opentelemetry
In common
xai-org
x-algorithm
Algorithm powering the For You feed on X
Rust34.1kRead on November 7, 2026, at commit 3b6919fWhat is x-algorithm built with?Only in x-algorithm
confluent-kafka
- rdkafka
pyarrow
arrow
- object_store
- moka
- heed
- Kafka
- Google Cloud Storage
google-cloud-auth
jax
- optax
- orbax-checkpoint
parquet
- opentelemetry-api
- log
- prometheus
- env_logger
opentelemetry-exporter-otlp-proto-grpc
Side by side
sglangx-algorithm
SizeLines written by people and agents, without generated ones; code files, without tests.
sglang3,312,331 lines written4,627 code files
x-algorithm419,187 lines written929 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
sglang8.7% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, GitHub Copilot, Devin, Codex, CodeRabbit, and OpenHands
x-algorithm1.5% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
sglangLast push November 6, 202621,830 commits38,542 stars
x-algorithmLast push November 7, 202665 commits34,122 stars
TestsThe files that test the code, and the share of code files a test imports.
sglang4,212 test files59.6% of its code files have a test that imports them
x-algorithm19 test files1.1% of its code files have a test that imports them
Frequently asked questions
Which is bigger, sglang or x-algorithm?
sglang, with 3,312,331 lines written; x-algorithm has 419,187.
The proof: sgl-project/sglang's code at commit 0afb736
Which has more GitHub stars, sglang or x-algorithm?
sglang, with 38,542 stars; x-algorithm has 34,122.
The proof: sgl-project/sglang on GitHub
Which has more tests, sglang or x-algorithm?
sglang, with 4,212 test files; x-algorithm has 19.
The proof: sgl-project/sglang's code at commit 0afb736
Which was updated more recently, sglang or x-algorithm?
x-algorithm: its last push was on November 7, 2026, and sglang's on November 6, 2026.
The proof: xai-org/x-algorithm's commits on GitHub
Which has more commits signed by AI, sglang or x-algorithm?
sglang: an AI signed 8.7% of its commits, with Claude Code, Gemini CLI, Cursor, GitHub Copilot, Devin, Codex, CodeRabbit, and OpenHands; in x-algorithm, 1.5%.
The proof: the commits each tool signed in sgl-project/sglang
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

