Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

FastAPI

High-performance Python web framework with automatic API docs and async support.

HTTP servers and APIs PyPI

Used in agent projects
537
4.2% of 12,697 public repos built with AI coding agents
Rank in http servers and apis
#3 of 30
by use in those projects
Downloads
107M
PyPI, last 7 days, fastapi
GitHub stars
103K
last push Oct 8, 2026

How FastAPI is used

FastAPI is a dependency in 537 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.2%), #3 of 30 in http servers and apis. The most used alternative there is Express. Projects that use it most often also use Uvicorn (93.5%), Pydantic (65.9%), python-dotenv (56.2%). It is more common in projects set up for Roo Code (8.8%) than for OpenAI Codex (3.8%).

Often used with FastAPI

Uvicorn93.5% of FastAPI projects · 21.8× more than average
Pydantic65.9% of FastAPI projects · 12.9× more than average
python-dotenv56.2% of FastAPI projects · 8.6× more than average
python-multipart36.7% of FastAPI projects · 21.5× more than average
Requests35.6% of FastAPI projects · 6.7× more than average
NumPy34.6% of FastAPI projects · 9.0× more than average
Pydantic Settings32.6% of FastAPI projects · 16.5× more than average
SQLAlchemy31.8% of FastAPI projects · 16.2× more than average

By coding agent

GitHub Copilot8.1% of projects set up for it
Claude Code6.0% of projects set up for it
Cursor6.9% of projects set up for it
Gemini CLI5.3% of projects set up for it
Devin Desktop6.2% of projects set up for it
OpenAI Codex3.8% of projects set up for it
OpenCode4.7% of projects set up for it
Roo Code8.8% of projects set up for it

Share of public repos configured for each agent that list FastAPI as a dependency.

Install

Packagepip install fastapi
Packages countedfastapi, fastapi-mcp, fastapi-cli, fastapi-cloud-cli, fastapi-mail, fastapi-cache2, fastapi-users, fastapi-featureflags
Main stacksPython (523), Next.js (11), Other (2), .NET (1)
Example projectsdramaclaw/dramaclaw, The-Swarm-Corporation/AutoHedge, Josh-XT/AGiXT, learntocloud/learn-to-cloud-app, daydreamlive/DEMON

Alternatives to FastAPI

All http servers and apis

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Express npm
Fast, unopinionated minimalist web framework for Node.js.
822 (6.5%) 142M 69.6K MIT
Uvicorn pypi
Lightning-fast ASGI server for running async Python web applications.
544 (4.3%) 13M 11K —
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
Is FastAPI right for your project? Ask AgentGid →