Pyre

High-precision system telemetry & optimizer for your Mac.

Five interactive views.

Hardware-level detail, active optimization, no configuration needed.

Silicon

Performance and efficiency cores, memory bandwidth, Neural Engine.

$ pyre live

Thermals

SMC temperatures, fan speeds, throttling status.

$ pyre check

Network

Per-connection forensics with socket-level detail.

$ pyre netusage

Power

Battery health, cycle count, and per-process energy.

$ pyre bench "npm test"

Optimizer

Quit forgotten apps, purge inactive RAM, clean 13 GB+ caches, and audit startup items.

$ pyre optimize
$ pyre live

Complete featureset.

Every capability engineered for macOS, Linux, and Windows — from low-level silicon metrics to active automation and memory optimization.

Active Maintenance

macOS System Optimizer

Intelligent memory and disk reclamation tailored for macOS workflows.

  • Idle App Reaper: Ranks GUI apps by activation order via lsappinfo and safely quits inactive windows.
  • Background Tracker: Native launchd agent (pyre optimize track) recording precise frontmost app usage.
  • Safe ⌘Q Termination: Graceful AppleScript quit gives apps a chance to prompt for unsaved documents.
  • Inactive RAM Purge: Evaluates memory pressure, swap, compressed pages, and flushes cache via sudo purge.
  • Developer Cache Cleaner: Safely measures and cleans Xcode DerivedData, Homebrew, npm, Yarn, pnpm, and pip caches.
  • Startup & DNS Audit: Flags broken or orphaned LaunchAgent plists and flushes the macOS DNS resolver cache.
pyre optimize macOS Sonoma & Sequoia
Hardware Probes

Apple Silicon & Sensors

Microsecond-accurate hardware telemetry directly from Apple Silicon counters.

  • P/E Cluster Telemetry: Performance and Efficiency core frequencies, thread load, and per-core mini bars.
  • GPU & Neural Engine: Real-time Metal core utilization, VRAM allocation, and Apple Neural Engine (ANE) power draw.
  • Real-Time Wattage: Live power draw in watts via IOReport and Powermetrics across CPU, GPU, and memory.
  • SMC Thermals & Fans: Die junction temps, thermal throttling alerts, and independent dual fan RPM telemetry.
  • Smart Battery Forensics: Rolling discharge heuristics forecasting true runtime, cycle count, and wear degradation.
  • S.M.A.R.T. Disk Health: NVMe wear level %, temperature, reallocated sectors, and total lifetime terabytes written.
pyre live / pyre smart M1 • M2 • M3 • M4
Interactive TUI

Interactive Terminal UI

Full-screen terminal dashboard with responsive layout and instant keyboard shortcuts.

  • 6 Built-In Themes: Default, Dracula, Cyberpunk, Monochrome, Nord, and Gruvbox, plus custom JSON color maps.
  • Search-As-You-Type: Fuzzy process filter (/) with instant sorting by CPU, RSS, PID, user, or state.
  • Process Hierarchy Tree: Instant tree-view toggle (t) visualising process parentage and worker threads.
  • Signal Dispatch: Send SIGTERM, SIGKILL, SIGSTOP, or SIGHUP directly to rogue processes (k / S).
  • Sparklines & Histograms: Rolling 60-second charts with dynamic zoom levels ([ / ]).
  • Bookmarks & Palette: Session bookmarks (Shift+M) and quick-action command palette (:).
pyre live --theme dracula Zero Latency • Mouse Support
Rules & Remediation

Autonomous Watchdog

Persistent daemon evaluating threshold rules and automatically mitigating rogue processes.

  • Runaway Mitigation: Configurable rules (e.g. CPU > 90% for 30s) automatically renice or kill runaway processes.
  • Multi-Channel Webhooks: Broadcast alerts to Slack, Discord, Pushover, or self-hosted ntfy.sh topics.
  • Thermal Protection: Protects Mac hardware by triggering cooldown notifications or actions before thermal throttle.
  • Native Service Integration: Install as an autonomous background LaunchAgent (macOS) or systemd unit (Linux).
  • Audit Trail: Complete forensic logs of triggered rules, killed PIDs, and resource states over time.
pyre watchdog Autonomous Daemon
Sockets & Networking

Network Forensics & Mesh

Deep socket inspections, per-process bandwidth metering, and encrypted peer streaming.

  • Per-Process Bandwidth: Real-time upload and download speeds per app using macOS nettop forensics.
  • Encrypted P2P Streaming: Stream live stats across machines over TCP with TLS and HMAC-SHA256 signing.
  • Multi-Host Fleet View: Aggregate tens of remote servers over SSH or P2P into an auto-tiled overview (pyre fleet).
  • Topology Auto-Discovery: Network topology mapper with active neighbor ARP/ping discovery (pyre topo).
  • DNS Query Inspector: Monitor DNS resolution cache and flush poisoned records on demand.
pyre netusage / pyre p2p TLS • HMAC • SSH
Intelligence & APIs

AI Insights & Integrations

Machine-learning anomaly detection, CPU call-tree sampling, and open ecosystem exports.

  • Z-Score Anomaly Digest: Statistical standard deviation analysis flags abnormal resource spikes over time.
  • Plain-English AI Explanations: Diagnose system spikes using local Ollama models or OpenAI (pyre explain).
  • Call-Tree CPU Profiler: Sample running processes via sample/spindump to locate hot functions (pyre profile-proc).
  • Active Build & Render Trackers: Real-time compiler tracking (pyre build) and Blender 3D render job monitor.
  • Prometheus & REST Server: Built-in Prometheus /metrics endpoint and lightweight JSON REST API server.
  • Historical CSV Replay: Log sessions continuously to CSV and play them back visually in the interactive TUI.
pyre explain / pyre prometheus Ollama • OpenAI • Prometheus

How Pyre compares.

Hardware telemetry, encrypted streaming, web portal.

FeaturePyrebtopmacmonmactopasitophtopGlances
Interactive TUI with themes6 themes✓✓✓✓Limited✓
Encrypted peer-to-peer streamingTLS + HMAC—————Partial
Multi-host fleet view✓—————✓
Web portal✓—————✓
Apple Silicon power drawWatts, P/E coresPartialIOReportPowermetricsPowermetricsPartialPartial
Socket forensics✓Partial————Partial
Anomaly detectionZ-score——————
Energy profilerkWh, joules——————
macOS System Optimizer✓ (Apps, Caches, RAM)——————
Autonomous Watchdog & Alerts✓ (Webhooks + Daemon)——————
Export formatsJSON, CSV, HTML, MD—————InfluxDB, CSV

Get Pyre.

Install once with npm. No configuration needed.

npm install -g pyre-cli

Requires Node.js 18 or later. Then run pyre live.

Documentation

CommandDescription
pyreSnapshot of CPU, memory, disk, network, and thermals
pyre liveInteractive live full-screen dashboard with real-time graphs
pyre checkOne-line plain-English health summary
pyre doctorRun system diagnostics (permissions, SIP, Gatekeeper, sensors)
pyre web [--port 3000]Serve an auto-refreshing live web portal with SSE stream
pyre ui [--compact]Launch native macOS Activity Monitor window
pyre netusage [--top 15]Real-time per-application network usage breakdown
pyre fleet <host1> <host2>Multi-host live dashboard monitoring multiple hosts
pyre ssh <user@host>Stream live stats from a remote host over SSH
pyre bench "<cmd>"Log CPU, memory, power draw, and estimate kWh cost
pyre benchmarkRun a 1-minute CPU benchmark calculating digits of PI
pyre anomalies [--since 7d]Compute z-score anomalies and print plain-language digest
pyre infoConcise hardware summary including battery health & displays
pyre brewPackage manager health panel (brew/apt/pacman/winget)
pyre smartS.M.A.R.T. disk health report (requires smartmontools)
pyre extensionsSystem Extensions / Driver inspector
pyre blenderTrack active Blender render jobs and their progress
pyre buildActive compiler and build system tracker
pyre topoNetwork topology mapper and pyre peer auto-discovery
pyre explainAI-powered anomaly explanation (Ollama/OpenAI/builtin)
pyre diff <file1> <file2>Compare two saved snapshot files side-by-side
pyre historyGraph historical resource trends from CSV logs
pyre replay <file>Play back a pyre CSV log file in the TUI
pyre pipeContinuous newline-delimited JSON stream for scripting
pyre stressSynthetic CPU/GPU load generator
pyre watchdogPersistent autonomous monitoring daemon and rules engine
pyre serve [--port 8080]Lightweight structured JSON REST API server
pyre profile <save|load|list>Atomic configuration profile management
pyre config <show|reset>View or reset persistent configuration file
pyre completions <shell>Generate shell auto-completion scripts (zsh, bash, fish, powershell)
pyre prometheusStart a Prometheus metrics exporter on localhost
pyre p2p <server|connect>Start a P2P server or connect to one
pyre serverPrint commands for starting P2P server/client with generated password
pyre sync <push|pull|status>Synchronize config profiles across machines
pyre xbarGenerate an xbar / SwiftBar menu bar plugin script
pyre optimizemacOS system optimizer overview & recommendations
pyre optimize appsFind & gracefully quit idle GUI apps (--idle, --keep, --dry-run)
pyre optimize trackBackground activity tracker daemon (--install / --uninstall / --auto-quit)
pyre optimize memoryEvaluate memory pressure, swap, compressor & run sudo purge
pyre optimize cachesMeasure & clean developer/app caches (--clean, skips active apps)
pyre optimize trashCalculate Trash size and safely empty it (--empty)
pyre optimize startupAudit Login Items & LaunchAgents, flagging broken leftover plists
pyre optimize dnsFlush macOS DNS resolver cache (dscacheutil & mDNSResponder)
pyre optimize protect <app>Add or remove applications from the protected whitelist
pyre --jsonExport as JSON (also --csv, --tsv, --html, --md)

TUI Shortcuts (inside pyre live)

?Power user quick reference: all shortcuts
:Command palette: fuzzy-search any action
Shift+M / MSave / recall named session bookmarks
[ / ]Zoom in / out on history graphs
Tab / Shift+TabCycle panels / go back in panel history
/Filter processes (search-as-you-type)
tToggle process tree view hierarchy
cOpen theme & panel customizer
k / SProcess kill mode / select termination signal
p / qPause live feed / quit

Private streaming: run pyre server on host to generate pairing command with a secure random token, then run the client command on the viewer.

Full documentation on GitHub ›