Source: https://seerepo.com/compare/pyrefly-org/pyrefly/vs/sgl-project/sglang
Markdown source: https://seerepo.com/compare/pyrefly-org/pyrefly/vs/sgl-project/sglang.md
Description: pyrefly and sglang share 5 technologies: Tokio, indicatif, torch, tracing, and tracing-subscriber. pyrefly is written in Rust and sglang in Python.

# pyrefly vs sglang

pyrefly and sglang share 5 technologies: Tokio, indicatif, torch, tracing, and tracing-subscriber. pyrefly is written in Rust and sglang in Python.

- [pyrefly-org/pyrefly](https://seerepo.com/r/pyrefly-org/pyrefly): A fast type checker and language server for Python
- [sgl-project/sglang](https://seerepo.com/r/sgl-project/sglang): SGLang is a high-performance serving framework for large language models and multimodal models.

## What they share and what sets them apart

- In common: Tokio, indicatif, torch, tracing, tracing-subscriber
- Only in pyrefly: jax
- Only in sglang: axum, FastAPI, uvicorn, pyzmq, blobfile, OpenAI, Anthropic, tower, AIOHTTP, tml-renderers, apache-tvm-ffi, cuda-python, flashinfer-python, humming-kernels, NVIDIA, nvshmem4py-cu13, openai-harmony, quack-kernels, sgl-deep-ep, sgl-deep-gemm, sgl-flash-mla, sglang-kernel, torch-c-dlpack-ext, transformers, einops, torchvision, dynamo-renderer, dynamo-protocols, compressed-tensors, gguf, dynamo-tokenizers, tokenizers, xgrammar, dynamo-parsers, ModelScope, tch, torchaudio, dynamo-multimodal, deepseek-recipe, hf-hub, partial-json-parser, DeepSeek, mistral-common, sgl-fa3, tiktoken, decord2, kernels, llguidance, outlines, sentencepiece, timm, pillow, minijinja, av, torchcodec, image, msgspec, Pydantic, psutil, prometheus-client, k8s-openapi, kube, tracing-appender

## Side by side

| | pyrefly | sglang |
|---|---|---|
| Size | 685,909 lines written, 641 code files | 3,493,138 lines written, 4,746 code files |
| Who writes it | 0% of its commits signed by AI. With GitHub Copilot | 9.5% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, GitHub Copilot, Codex, Devin, CodeRabbit, and OpenHands |
| Activity | Last push November 20, 2026, 18,472 commits, 7,217 stars | Last push November 19, 2026, 22,827 commits, 39,041 stars |
| Tests | 944 test files. 21.4% of its code files have a test that imports them | 4,429 test files. 62.5% 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, pyrefly or sglang?

sglang, with 3,493,138 lines written; pyrefly has 685,909.

The proof: [sgl-project/sglang's code at commit a3eae55](https://github.com/sgl-project/sglang/tree/a3eae555453777c3f4c5ab41e19ef1c9577e0785)

### Which has more GitHub stars, pyrefly or sglang?

sglang, with 39,041 stars; pyrefly has 7,217.

The proof: [sgl-project/sglang on GitHub](https://github.com/sgl-project/sglang)

### Which has more tests, pyrefly or sglang?

sglang, with 4,429 test files; pyrefly has 944.

The proof: [sgl-project/sglang's code at commit a3eae55](https://github.com/sgl-project/sglang/tree/a3eae555453777c3f4c5ab41e19ef1c9577e0785)

### Which was updated more recently, pyrefly or sglang?

pyrefly: its last push was on November 20, 2026, and sglang's on November 19, 2026.

The proof: [pyrefly-org/pyrefly's commits on GitHub](https://github.com/pyrefly-org/pyrefly/commits)

### Which has more commits signed by AI, pyrefly or sglang?

sglang: an AI signed 9.5% of its commits, with Claude Code, Gemini CLI, Cursor, GitHub Copilot, Codex, Devin, CodeRabbit, and OpenHands.

The proof: [the commits each tool signed in sgl-project/sglang](https://seerepo.com/r/sgl-project/sglang/ai)

## Sources

- pyrefly-org/pyrefly: Read on November 20, 2026, at commit 3447b75 (https://github.com/pyrefly-org/pyrefly/tree/3447b753d16a155d2c6fdc51ff822b429b462852)
- sgl-project/sglang: Read on November 19, 2026, at commit a3eae55 (https://github.com/sgl-project/sglang/tree/a3eae555453777c3f4c5ab41e19ef1c9577e0785)

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