Source: https://seerepo.com/compare/sgl-project/sglang/vs/xai-org/x-algorithm
Markdown source: https://seerepo.com/compare/sgl-project/sglang/vs/xai-org/x-algorithm.md
Description: 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.

# 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.

- [sgl-project/sglang](https://seerepo.com/r/sgl-project/sglang): SGLang is a high-performance serving framework for large language models and multimodal models.
- [xai-org/x-algorithm](https://seerepo.com/r/xai-org/x-algorithm): Algorithm powering the For You feed on X

## What they share and what sets them apart

- In common: axum, FastAPI, tower, Redis, Tokio, tracing, psutil, prometheus-client, tracing-subscriber, OpenTelemetry
- 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
- Only in x-algorithm: confluent-kafka, rdkafka, pyarrow, arrow, object_store, moka, heed, Kafka, Google, 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

| | sglang | x-algorithm |
|---|---|---|
| Size | 3,312,331 lines written, 4,627 code files | 419,187 lines written, 929 code files |
| Who writes it | 8.7% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, GitHub Copilot, Devin, Codex, CodeRabbit, and OpenHands | 1.5% of its commits signed by AI. With Claude Code |
| Activity | Last push November 6, 2026, 21,830 commits, 38,542 stars | Last push November 7, 2026, 65 commits, 34,122 stars |
| Tests | 4,212 test files. 59.6% of its code files have a test that imports them | 19 test files. 1.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/sgl-project/sglang/tree/0afb736d0aab96e3ab80b4c54a376213a1db67a6)

### 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](https://github.com/sgl-project/sglang)

### 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](https://github.com/sgl-project/sglang/tree/0afb736d0aab96e3ab80b4c54a376213a1db67a6)

### 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](https://github.com/xai-org/x-algorithm/commits)

### 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](https://seerepo.com/r/sgl-project/sglang/ai)

## Sources

- sgl-project/sglang: Read on November 6, 2026, at commit 0afb736 (https://github.com/sgl-project/sglang/tree/0afb736d0aab96e3ab80b4c54a376213a1db67a6)
- xai-org/x-algorithm: Read on November 7, 2026, at commit 3b6919f (https://github.com/xai-org/x-algorithm/tree/3b6919f87532e57063bb3f1e85c2f509323b513e)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
