https://github.com/remcoder/pi-agent
A not-too-serious system agent to monitor the health of your Raspberry Pi. Uses OpenAI.
https://github.com/remcoder/pi-agent
Last synced: 6 months ago
JSON representation
A not-too-serious system agent to monitor the health of your Raspberry Pi. Uses OpenAI.
- Host: GitHub
- URL: https://github.com/remcoder/pi-agent
- Owner: remcoder
- License: mit
- Created: 2024-02-22T19:44:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-22T20:36:21.000Z (about 2 years ago)
- Last Synced: 2025-08-03T08:41:33.547Z (7 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pi Agent - reporting the health of your Raspberry Pi via GPT
- collect system information via:
- mpstat -o JSON
- df -h
- free -h
- pgrep -f octoprint
- vcgencmd measure_temp
- ask GPT what to make of this and whether to raise an alarm
- send notification via Pushover

```mermaid
flowchart TD
A[Start] --> B[Collect System Metrics]
B --> D[Analyze Report with GPT-3]
D --> F{Is Alert Needed?}
F -->|True|G[Send Notification]
F -->|False|H[Log Status & Exit]
G --> I[End]
H --> I
```