Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

httpx vs aiohttp

In 1,621 Python projects set up for AI coding agents, httpx is a dependency in 277 (17.1%) and aiohttp in 127 (7.8%): httpx is 2.2× as common. Among repos created in the last 90 days that use a http clients and networking tool, httpx is in 47.2% and aiohttp in 5.6%, against 35.1% and 16.9% of older ones. 33 projects list both, often a sign of a migration or of a monorepo with several apps.

HTTP clients and networking PyPI Updated Nov 17, 2026

httpx17.1%
aiohttp7.8%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

httpxaiohttp
Agent projects that use it277127
Rank in http clients and networking#3#5
In new repos with a http clients and networking tool (last 90 days)47.2%5.6%
In older repos with one35.1%16.9%
Downloads, last 7 days194M133M
GitHub stars15.8K16.6K
Last push to its repoNov 16, 2026Nov 16, 2026
LicenseBSDApache-2.0 AND MIT
Funding—Yes
Projects that list both33

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposhttpxaiohttp
Claude Code78217.9%8.3%
GitHub Copilot80515.9%7.3%
Cursor54815.5%9.1%
Gemini CLI8319.3%15.7%
OpenAI Codex7814.1%9.0%
OpenCode5324.5%9.4%
OpenClaw10425.0%8.7%
Devin Desktop6010.0%13.3%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

httpx

Modern Python HTTP client with async support, replacing the standard requests library.

Most often used with it:

Pydantic57.0% of its projects
Uvicorn52.3% of its projects
python-dotenv50.9% of its projects
FastAPI49.1% of its projects
Model Context Protocol SDK (Python)43.3% of its projects

pip install httpx

aiohttp

Async HTTP client/server framework for Python with WebSocket support.

Most often used with it:

python-dotenv76.4% of its projects
Pydantic68.5% of its projects
Requests62.2% of its projects
Uvicorn59.1% of its projects
FastAPI58.3% of its projects

pip install aiohttp

More matchups

Requests vs httpxhttpx vs urllib3Axios vs node-fetchAxios vs undiciRequests vs urllib3ws vs Socket.IO Clientws vs Socket.IO

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.