psutil
Cross-platform library for retrieving process and system monitoring information.
Logging, monitoring and analytics PyPI BSD-3-Clause
Used in agent projects
144
1.1% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#5 of 29
by use in those projects
Downloads
74.7M
PyPI, last 7 days, psutil
GitHub stars
11.3K
last push Oct 8, 2026
How psutil is used
psutil is a dependency in 144 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.1%), #5 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use python-dotenv (59.7%), Requests (59.7%), NumPy (59.7%).
Often used with psutil
| python-dotenv | 59.7% of psutil projects · 9.2× more than average |
|---|---|
| Requests | 59.7% of psutil projects · 11.2× more than average |
| NumPy | 59.7% of psutil projects · 15.6× more than average |
| Pydantic | 54.2% of psutil projects · 10.6× more than average |
| PyYAML | 48.6% of psutil projects · 16.0× more than average |
| Uvicorn | 47.9% of psutil projects · 11.2× more than average |
| FastAPI | 45.8% of psutil projects · 10.8× more than average |
| pytest | 44.4% of psutil projects · 17.1× more than average |
By coding agent
| Claude Code | 2.1% of projects set up for it |
|---|---|
| Cursor | 2.2% of projects set up for it |
| GitHub Copilot | 1.4% of projects set up for it |
| OpenCode | 2.5% of projects set up for it |
| Gemini CLI | 1.4% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list psutil as a dependency.
Install
| Package | pip install psutil |
|---|---|
| Main stacks | Python (139), Next.js (3), Other (2) |
| Example projects | Josh-XT/AGiXT, VoltCyclone/PCILeechFWGenerator, bobmatnyc/claude-mpm, Sunanang/FNMessageBots, timowhite88/Farnsworth |
Alternatives to psutil
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Web Vitals npm Measure Core Web Vitals and other key performance metrics in JavaScript. |
222 (1.7%) | 48.7M | 8,640 | Apache-2.0 |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Sentry for Next.js npm Official Sentry SDK for error tracking and performance monitoring in Next.js apps. |
119 (0.9%) | 11.7M | 8,756 | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |
| Winston npm Versatile Node.js logging library supporting multiple transports and levels. |
105 (0.8%) | 27.2M | 24.5K | MIT |