{
 "kind": "tool",
 "slug": "sglang",
 "path": "tools/sglang/",
 "name": "SGLang",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Prompts, structured output and evals",
   "tools/llm-tooling/"
  ]
 ],
 "lead": "Fast inference engine for language models with optimized generation and serving.",
 "chips": [
  {
   "label": "Prompts, structured output and evals",
   "path": "tools/llm-tooling/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install sglang"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sgl-project/sglang"
  },
  {
   "label": "Website",
   "href": "https://github.com/sgl-project/sglang"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/sgl-project/sglang"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change today",
   "note": "Latest GitHub release Nov 2, 2026. ",
   "src": "https://github.com/sgl-project/sglang"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#75 of 78 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "2 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What SGLang does",
   "parts": [
    {
     "t": "prose",
     "text": "Fast inference engine for language models with optimized generation and serving."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "SGLang popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "37",
       "of": "/ 100",
       "l": "Gid Score, #3386 overall"
      },
      {
       "n": "121K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "39K",
       "l": "GitHub stars"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How SGLang is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "SGLang joined the catalog on its public numbers (120,723 downloads a week on PyPI and 38,970 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 0 of them set up for AI coding agents.",
      "Projects that use it most often also use Hugging Face Transformers (100.0%), Anthropic Python SDK (83.3%), OpenAI Python Library (83.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Hugging Face Transformers",
       "path": "tools/transformers/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "Anthropic Python SDK",
       "path": "tools/anthropic/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 83.3% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "Accelerate",
       "path": "tools/accelerate/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "Beautiful Soup",
       "path": "tools/beautifulsoup4/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about SGLang",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "sglang: Fast structured generation and serving for LLMs with RadixAttention prefix caching. Use for JSON/regex outputs, constrained decoding, agenti",
        "sglang-model-day0-support: Build or audit an evidence-driven SGLang Day-0 support program for a new LLM, VLM, MoE, hybrid-attention, or speculative-decoding model. Use"
       ]
      },
      {
       "title": "More in Prompts, structured output and evals",
       "path": "tools/llm-tooling/",
       "items": [
        {
         "text": "Ultracite",
         "path": "tools/ultracite/"
        },
        {
         "text": "tiktoken (Python)",
         "path": "tools/tiktoken-pypi/"
        },
        {
         "text": "tokenizers",
         "path": "tools/tokenizers/"
        },
        {
         "text": "LangSmith",
         "path": "tools/langsmith-pypi/"
        },
        {
         "text": "GPT Tokenizer",
         "path": "tools/gpt-tokenizer/"
        },
        {
         "text": "Langfuse (Python)",
         "path": "tools/langfuse-pypi/"
        },
        {
         "text": "TokenLens",
         "path": "tools/tokenlens/"
        },
        {
         "text": "@graphql-codegen/typescript-operations",
         "path": "tools/graphql-codegen-typescript-operations/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "SGLang",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 37",
        "121K/wk"
       ]
      }
     ],
     "more": "Compare SGLang with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install sglang"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for SGLang yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi sglang"
  ],
  [
   "Category",
   "Prompts, structured output and evals"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "36.9"
  ],
  [
   "Rank in category",
   "#75 of 78"
  ],
  [
   "GitHub",
   "sgl-project/sglang"
  ],
  [
   "Last change",
   "Nov 17, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sgl-project.png"
}