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

undici

High-performance HTTP/1.1 client for Node.js and Deno.

HTTP clients and networking npm MIT

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

dotenv59.0% of undici projects · 3.7× more than average
Zod59.0% of undici projects · 3.5× more than average
tsx47.4% of undici projects · 4.8× more than average
Vitest46.2% of undici projects · 3.8× more than average
TypeScript89.7% of undici projects · 1.6× more than average
Model Context Protocol SDK (JavaScript)28.2% of undici projects · 5.9× more than average
Express24.4% of undici projects · 3.8× more than average
Biome23.1% of undici projects · 6.6× more than average

By coding agent

Claude Code1.2% of projects set up for it
GitHub Copilot1.2% of projects set up for it
Cursor0.8% of projects set up for it
OpenAI Codex1.8% of projects set up for it
Gemini CLI1.4% of projects set up for it
OpenCode1.9% of projects set up for it

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

Install

Packagenpm install undici
Main stacksTypeScript / JavaScript (56), Next.js (17), Python (4), React Native / Expo (1)
Example projectsding113/claude-code-hub, regenrek/deepwiki-mcp, inboundemail/inbound, 5pyj29s7cm-tech/LumiCore, nirholas/three.ws

Alternatives to undici

All http clients and networking

Tool Used in agent projectsDownloads / wk GitHub starsLicense
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 —
Is undici right for your project? Ask AgentGid →