sgl-project/sglang
SGLang is a high-performance serving framework for large language models and multimodal models.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/sgl-project/sglang?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/sgl-project/sglang?utm_source=readme_badge) [](https://githubrepo.cloud/repo/sgl-project/sglang?utm_source=readme_badge) [](https://githubrepo.cloud/repo/sgl-project/sglang?utm_source=readme_badge)
Momentum
+917
STARS · LAST 30 DAYS
31
PER DAY
#80
MOST-STARRED Python
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +244 | +917 | +2.8K |
| Per day | 35 | 31 | 31 |
| Forks gained | +95 | +185 | +463 |
sglang gained 917 stars in the last 30 days, about 31 a day, and now has 36.7K. It is about 3 years old and has averaged roughly 12.2K stars a year. It ranks #80 among Python repositories and #341 across all languages on GitHubRepo.
Trending Record
10
DAYS ON TRENDING
#140
BEST RANK
Sep 25, 2026
FIRST APPEARANCE
Active
STATUS TODAY
sglang has maintained a continuous presence across global trending indexes, peaking at #140. Below is the 30-day activity profile:
💡 Overview
sglang is an open-source project written in Python: SGLang is a high-performance serving framework for large language models and multimodal models.
Engineered for speed, consistency, and developer ease, it solves common hurdles in attention, blackwell, cuda. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Python for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ pip install sglang
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Python >= 3.9, pip, virtualenv
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
sglang coordinates its core functionality through a modular Python pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with sglang.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install sglang using your package manager: `pip install sglang`
Initialize your project workspace or configuration file for sglang.
Import sglang into your codebase or invoke it directly from your terminal.
Execute your test suite or run `sglang --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Python, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
sgl-project/sglang is currently ranked #341 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #336 | huggingface/pytorch-image-models | Python | ★ 37.2K | Compare ↗ |
| #337 | google-ai-edge/mediapipe | C++ | ★ 37.1K | Compare ↗ |
| #338 | firecracker-microvm/firecracker | Rust | ★ 37.1K | Compare ↗ |
| #339 | keycloak/keycloak | Java | ★ 37.1K | Compare ↗ |
| #340 | nextcloud/server | PHP | ★ 37K | Compare ↗ |
| #341 | sgl-project/sglang This Project | Python | ★ 36.7K | |
| #342 | gitroomhq/postiz-app | TypeScript | ★ 36.6K | Compare ↗ |
| #343 | wailsapp/wails | Go | ★ 36.4K | Compare ↗ |
| #344 | jax-ml/jax | Python | ★ 36.4K | Compare ↗ |
| #345 | permissionlesstech/bitchat | Swift | ★ 36.3K | Compare ↗ |
| #346 | solidjs/solid | TypeScript | ★ 36.1K | Compare ↗ |
Frequently Asked Questions
What does sglang do? +
SGLang is a high-performance serving framework for large language models and multimodal models.
What language is sglang written in? +
The primary language is Python. Topics include: attention, blackwell, cuda, deepseek, diffusion.
Is sglang actively maintained? +
Yes, the last recorded push was on Oct 1, 2026 with 5,491 open issues being tracked.
How many stars does sglang have? +
sglang has 36,696 stars and 9,253 forks on GitHub.
How does sglang rank among GitHub repositories? +
With 36,696 stars, sgl-project/sglang is ranked #341 globally across all repositories tracked on GitHubRepo and #80 among Python projects.
What license is sglang distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.