Source: https://seerepo.com/r/sgl-project/sglang/built
Markdown source: https://seerepo.com/r/sgl-project/sglang/built.md
Description: sglang is a Python repo built with FastAPI and axum. It stores its data in Redis and uses AI through OpenAI and Anthropic.

# What is sglang built with?

sglang is a Python repo built with FastAPI and axum. It stores its data in Redis and uses AI through OpenAI and Anthropic. It has 4,539 files and 3,187,732 written lines, with 4,053 test files.

Read on November 1, 2026, at commit cda284e.

Repository: https://github.com/sgl-project/sglang

## Backend

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: [in package.json](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/package.json)
- **[axum](https://seerepo.com/uses/axum)**: [in package.json](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/package.json)

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 1 file · [sgl-model-gateway/Cargo.toml, line 124](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/sgl-model-gateway/Cargo.toml#L124)

### Services

- **[OpenAI](https://seerepo.com/uses/openai)**: 66 files · [python/sglang/lang/backend/openai.py, line 16](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/python/sglang/lang/backend/openai.py#L16)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 2 files · [python/sglang/lang/backend/anthropic.py, line 7](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/python/sglang/lang/backend/anthropic.py#L7)

## Other repos with a similar stack

- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/built): FastAPI, axum, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/BerriAI/litellm/vs/sgl-project/sglang)
- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): FastAPI, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/sgl-project/sglang/vs/Significant-Gravitas/AutoGPT)
- [mem0ai/mem0](https://seerepo.com/r/mem0ai/mem0/built): FastAPI, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/mem0ai/mem0/vs/sgl-project/sglang)
- [volcengine/OpenViking](https://seerepo.com/r/volcengine/OpenViking/built): FastAPI, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/sgl-project/sglang/vs/volcengine/OpenViking)
- [HKUDS/LightRAG](https://seerepo.com/r/HKUDS/LightRAG/built): FastAPI, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/HKUDS/LightRAG/vs/sgl-project/sglang)
- [n8n-io/n8n](https://seerepo.com/r/n8n-io/n8n/built): Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/n8n-io/n8n/vs/sgl-project/sglang)

## Frequently asked questions

### What language is sglang written in?

sglang is written in Python: 4,539 files and 3,187,732 written lines.

### What framework does sglang use?

sglang is built with FastAPI and axum.

The proof: [in package.json](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/package.json)

### What database does sglang use?

sglang stores its data in Redis.

The proof: [sgl-model-gateway/Cargo.toml, line 124](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/sgl-model-gateway/Cargo.toml#L124)

### Does sglang use AI?

Yes. sglang uses AI through OpenAI and Anthropic.

The proof: [python/sglang/lang/backend/openai.py, line 16](https://github.com/sgl-project/sglang/blob/cda284e47b51bfa71a3414ed6a0ea3425b409cb3/python/sglang/lang/backend/openai.py#L16)

### Does sglang have tests?

Yes. sglang has 4,053 test files.

### Which repos have a stack like sglang's?

The ones that share most of its stack: BerriAI/litellm, Significant-Gravitas/AutoGPT, and mem0ai/mem0.

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