llmtop
llmtop is an intelligent system monitoring tool that combines real-time system metrics with LLM-powered insights. It provides a dynamic terminal interface showing system performance metrics enhanced with AI-driven analysis.
Note: This project is currently in beta testing. Features and interfaces may change.
Features
- Real-time system metrics monitoring (CPU, Memory, Disk, Network)
- Process monitoring with resource usage
- AI-powered system analysis using either OpenAI or Ollama
- Smart alerting system for resource thresholds
- Dynamic terminal UI with auto-updating metrics
Installation
Install directly from PyPI:
pip install llmtop
LLM Backend Options
llmtop supports two LLM backends for system analysis:
OpenAI (GPT-4)
- Set your OpenAI API key:
export OPENAI_API_KEY='your-api-key-here'
- Run with OpenAI:
llmtop --use-openai
Ollama (Default)
- Install Ollama from ollama.ai
- Start the Ollama service
- Run llmtop:
llmtop
Command Line Options
llmtop [OPTIONS]
Options:
--update-frequency INTEGER Update frequency in seconds (default: 5)
--use-openai Use OpenAI instead of local model
--history-length INTEGER Number of historical data points to keep (default: 60)
--help Show this message and exit
Usage Tips
- The tool defaults to using Ollama for analysis, which is free but requires local installation
- OpenAI mode provides more detailed analysis but requires an API key and has associated costs
- Adjust update frequency based on your system's performance and monitoring needs
Known Issues
- Experimental support for Windows systems
- Update frequency might need adjustment on slower systems
- Some process names may be truncated in the display
Contributing
This project is in beta, and we welcome contributions! Please feel free to:
- Report bugs
- Suggest features
- Submit pull requests
License
MIT License - see LICENSE file for details.
Acknowledgments
Built using:
- Rich for terminal UI
- OpenAI/Ollama for LLM integration
- psutil for system metrics
Metadata
Release files for llmtop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llmtop-0.1.0.tar.gz | 12.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llmtop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / llmtop-0.1.0.tar.gz
| Download URL | llmtop-0.1.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60dce2e477044c0cbf3170fe4a5cc9e2b3aa7ee9f8799fecbc800875cb44588b
|
|
BLAKE2b-256 checksum How to use checksums |
6a2a0c4791b02c41a12099a1709af3b4af3ba9593e7e1a7034f60219ab5fba94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.1
|
Release files / llmtop-0.1.0-py3-none-any.whl
| Download URL | llmtop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c93c6bcfe64004aec7739e9ceea8650a204598c314d4dcdee7c654de26dcff0b
|
|
BLAKE2b-256 checksum How to use checksums |
3e215b26887d84794d3855f96f8eb7ce03bfcf7632d98dc2c174a33362bab886
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.1
|
Security for llmtop 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.