Fast LLM serving with RadixAttention prefix caching for structured JSON, regex, and agentic tool-call outputs.
- CCM score
- 51 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers installation, server launch, basic inference, and structured generation for LLMs and VLMs
- Includes constrained decoding by JSON schema, regex, and EBNF grammar, plus function calling with tool definitions
- Enables automatic prefix caching by default via
--enable-radix-cache, reusing KV cache for shared system prompts - Designed for agent workflows and multi-turn conversations with repeated prefixes, with vLLM and TensorRT-LLM as alternatives
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill sglang -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SGLang
High-performance serving framework for LLMs and VLMs with RadixAttention for automatic prefix caching.
When to use SGLang
Use SGLang when:
- Need structured outputs (JSON, regex, grammar)
- Building agents with repeated prefixes (system prompts, tools)
- Agentic workflows with function calling
- Multi-turn conversations with shared context
- Need faster JSON decoding (3× vs standard)
Use vLLM instead when:
- Simple text generation without structure
- Don't need prefix caching
- Want mature, widely-tested production system
Use TensorRT-LLM instead when:
- Maximum single-request latency (no batching needed)
- NVIDIA-only deployment
- Need FP8/INT4 quantization on H100
Quick start
Installation
# pip install (recommended)
pip install "sglang[all]"
# With FlashInfer (faster, CUDA 11.8/12.1)
pip install sglang[all] flashinfer -i https://flashinfer.ai/whl/cu121/torch2.4/
# From source
git clone https://github.com/sgl-project/sglang.git
cd sglang
pip install -e "python[all]"
Launch server
# Basic server (Llama 3-8B)
python -m sglang.launch_server \
--model-path meta-llama/Meta-Llama-3-8B-Instruct \
--port 30000
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Category
- AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the sglang skill do for LLM serving?
The sglang skill covers fast structured generation and serving for LLMs using RadixAttention prefix caching. It suits JSON or regex outputs, constrained decoding, and agentic workflows with tool calls.
How do I install the sglang skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill sglang -y in a project to install the sglang skill. Once installed, the sglang skill lets your agent work with SGLang's structured output and prefix caching features.
When should I pick the sglang skill over vLLM?
The sglang skill is aimed at workloads that need structured outputs, repeated prefixes such as system prompts, or function calling. Its SKILL.md notes that vLLM remains the choice for simple text generation without structure or prefix caching.
Which skills sit next to sglang in the AI Agents and LLM Apps category?
The sglang skill is listed in the AI Agents and LLM Apps category, where microsoft-foundry and azure-ai are among the other top skills. Its own focus is high-throughput LLM serving with RadixAttention, which sets it apart from agent-platform skills.
More from orchestra-research/ai-research-skills
All 92- Chroma1.1K
- Nemo Curator1.1K
- Llama Factory1.1K
- Pyvene Interventions1.1K
- Gptq1.1K
- Model Pruning1.1K
- Sentencepiece1.1K
- Evaluating Code Models1.1K
- Distributed Llm Pretraining Torchtitan1.1K
- Mamba Architecture1.1K
- Openrlhf Training1.1K
- Sparse Autoencoder Training1.1K
- Llamaindex1.1K
- Ml Training Recipes1.1K
- Outlines1.1K
- Simpo Training1.1K
- Slime Rl Training1.1K
- Training Llms Megatron1.1K
- Guidance1.1K
- Nnsight Remote Interpretability1.1K
- Rwkv Architecture1.1K
- Implementing Llms Litgpt1.1K
- Llamaguard1.1K
- Nemo Guardrails1.1K
Similar to Sglang
More AI Agents & LLM Appsserving-llms-vllmSkillorchestra-research/ai-research-skills1.2K installsProduction LLM serving engine built on PagedAttention and continuous batching, with OpenAI-compatible endpoints and quantized models.
langchainSkillorchestra-research/ai-research-skills1.1K installsFramework for building LLM agents, chains, and RAG pipelines with swappable model providers.
llm-app-patternsSkilldavila7/claude-code-templates326 installsProduction-ready LLM app patterns covering RAG pipelines, agent architectures, and LLMOps observability.
langchain-architectureSkillwshobson/agents13.9K installsDesign LLM agents, state, memory, and tool integration with LangChain 1.x and LangGraph.
NexusMCP servergrafbase442 starsUnified endpoint routing MCP servers and LLM providers, with fuzzy search and tool execution.
llmSkillmindrally/skills767 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.