Used in agent projects
78
0.6% of 12,697 public repos built with AI coding agents
Rank in http clients and networking
#16 of 29
by use in those projects
Downloads
212M
npm, last 7 days, undici
GitHub stars
7,707
last push Oct 10, 2026
How undici is used
undici is a dependency in 78 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.6%), #16 of 29 in http clients and networking. The most used alternative there is Axios. Projects that use it most often also use dotenv (59.0%), Zod (59.0%), tsx (47.4%).
Often used with undici
| dotenv | 59.0% of undici projects · 3.7× more than average |
|---|---|
| Zod | 59.0% of undici projects · 3.5× more than average |
| tsx | 47.4% of undici projects · 4.8× more than average |
| Vitest | 46.2% of undici projects · 3.8× more than average |
| TypeScript | 89.7% of undici projects · 1.6× more than average |
| Model Context Protocol SDK (JavaScript) | 28.2% of undici projects · 5.9× more than average |
| Express | 24.4% of undici projects · 3.8× more than average |
| Biome | 23.1% of undici projects · 6.6× more than average |
By coding agent
| Claude Code | 1.2% of projects set up for it |
|---|---|
| GitHub Copilot | 1.2% of projects set up for it |
| Cursor | 0.8% of projects set up for it |
| OpenAI Codex | 1.8% of projects set up for it |
| Gemini CLI | 1.4% of projects set up for it |
| OpenCode | 1.9% of projects set up for it |
Share of public repos configured for each agent that list undici as a dependency.
Install
| Package | npm install undici |
|---|---|
| Main stacks | TypeScript / JavaScript (56), Next.js (17), Python (4), React Native / Expo (1) |
| Example projects | ding113/claude-code-hub, regenrek/deepwiki-mcp, inboundemail/inbound, 5pyj29s7cm-tech/LumiCore, nirholas/three.ws |
Alternatives to undici
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Axios npm Promise-based HTTP client for browser and Node.js with interceptors. |
1,264 (10.0%) | 115M | 109K | MIT |
| Requests pypi Elegant Python HTTP library for making web requests. |
675 (5.3%) | 309M | 54.6K | Apache-2.0 |
| aiohttp pypi Async HTTP client/server framework for Python with WebSocket support. |
295 (2.3%) | 117M | 16.6K | — |
| ws npm Simple, fast WebSocket client and server for Node.js with full RFC support. |
287 (2.3%) | 283M | 22.8K | MIT |
| websockets pypi WebSocket implementation for Python with RFC 6455 and 7692 compliance. |
286 (2.3%) | 109M | 5,732 | — |
| httpx pypi Modern Python HTTP client with async support, replacing the standard requests library. |
266 (2.1%) | 16M | 15.6K | BSD-3-Clause |
| node-fetch npm Bring the Fetch API to Node.js for making HTTP requests. |
219 (1.7%) | 207M | 8,852 | MIT |
| urllib3 pypi HTTP client with thread-safe connection pooling, file uploads and advanced features. |
193 (1.5%) | 338M | 4,071 | — |