Uvicorn
Lightning-fast ASGI server for running async Python web applications.
Used in agent projects
544
4.3% of 12,697 public repos built with AI coding agents
Rank in http servers and apis
#2 of 30
by use in those projects
Downloads
13M
PyPI, last 7 days, uvicorn
GitHub stars
11K
last push Oct 10, 2026
How Uvicorn is used
Uvicorn is a dependency in 544 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.3%), #2 of 30 in http servers and apis. The most used alternative there is Express. Projects that use it most often also use FastAPI (92.3%), Pydantic (65.3%), python-dotenv (59.2%). It is more common in projects set up for Roo Code (10.6%) than for OpenAI Codex (3.8%).
Often used with Uvicorn
| FastAPI | 92.3% of Uvicorn projects · 21.8× more than average |
|---|---|
| Pydantic | 65.3% of Uvicorn projects · 12.8× more than average |
| python-dotenv | 59.2% of Uvicorn projects · 9.1× more than average |
| Requests | 38.6% of Uvicorn projects · 7.3× more than average |
| python-multipart | 38.2% of Uvicorn projects · 22.4× more than average |
| NumPy | 34.4% of Uvicorn projects · 9.0× more than average |
| Pydantic Settings | 33.8% of Uvicorn projects · 17.1× more than average |
| SQLAlchemy | 31.1% of Uvicorn projects · 15.8× more than average |
By coding agent
| GitHub Copilot | 8.2% of projects set up for it |
|---|---|
| Claude Code | 5.8% of projects set up for it |
| Cursor | 6.3% of projects set up for it |
| Devin Desktop | 6.6% of projects set up for it |
| Gemini CLI | 4.1% of projects set up for it |
| OpenAI Codex | 3.8% of projects set up for it |
| OpenCode | 4.7% of projects set up for it |
| Roo Code | 10.6% of projects set up for it |
Share of public repos configured for each agent that list Uvicorn as a dependency.
Install
| Package | pip install uvicorn |
|---|---|
| Main stacks | Python (530), Next.js (10), Other (2), React Native / Expo (1) |
| Example projects | dramaclaw/dramaclaw, The-Swarm-Corporation/AutoHedge, Josh-XT/AGiXT, learntocloud/learn-to-cloud-app, daydreamlive/DEMON |
Alternatives to Uvicorn
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Express npm Fast, unopinionated minimalist web framework for Node.js. |
822 (6.5%) | 142M | 69.6K | MIT |
| FastAPI pypi High-performance Python web framework with automatic API docs and async support. |
537 (4.2%) | 107M | 103K | — |
| cors npm Express/Node.js middleware for handling Cross-Origin Resource Sharing. |
422 (3.3%) | 86.8M | 6,195 | MIT |
| python-multipart pypi Streaming multipart parser for handling file uploads in Python web frameworks. |
217 (1.7%) | 92.8M | 536 | — |
| Flask pypi Lightweight Python web framework for building web applications and APIs. |
174 (1.4%) | 40.9M | 75K | — |
| Hono npm Ultrafast web framework for edge runtimes built on Web Standards. |
136 (1.1%) | 73.9M | 32.5K | MIT |
| express-rate-limit npm Express middleware for rate limiting API requests by IP address. |
105 (0.8%) | 57.6M | 3,311 | MIT |
| GraphQL.js npm JavaScript implementation of GraphQL query language and runtime. |
105 (0.8%) | 50.6M | 20.3K | MIT |