Skip to main content

EnvForge CLI Diagnostic Agent — inspect your ML environment

Project description

envforge-agent

Standalone CLI diagnostic agent for the EnvForge platform.

Inspects your local ML environment and reports what's installed, what's compatible, and what's broken — without requiring a network connection.

Install

pip install envforge-agent

Commands

# Inspect your environment (output to terminal)
envforge diagnose

# Save report to JSON file
envforge diagnose --output report.json

# Send report to EnvForge API for compatibility analysis
envforge diagnose --send --api-url https://api.envforge.dev

# Check if a specific profile is compatible with your system
envforge verify --profile pytorch-cuda

# Generate a repair script from a saved diagnostic report
envforge fix --report report.json

What it detects

Category Details
OS Name, version, architecture, WSL version
CPU Brand, physical cores, logical threads
RAM Total GB, available GB
GPU Name, VRAM, driver version (via nvidia-smi)
CUDA Installed version, toolkit path, cuDNN version
Python All installed versions, active venv, pip version

Output format

All commands output DiagnosticReport JSON compatible with POST /api/v1/diagnose.

{
  "agent_version": "1.0.0",
  "os": { "name": "Ubuntu 22.04", "version": "22.04", "architecture": "x86_64" },
  "cpu": { "brand": "Intel Core i9-13900K", "cores": 24, "threads": 32 },
  "ram": { "total_gb": 64.0, "available_gb": 48.2 },
  "gpus": [{ "name": "NVIDIA RTX 4090", "vram_gb": 24.0, "driver_version": "535.54", "index": 0 }],
  "cuda": { "version": "12.1", "toolkit_path": "/usr/local/cuda-12.1", "cudnn_version": "8.9.0" },
  "python_installations": [{ "version": "3.11.9", "path": "/usr/bin/python3.11", "is_venv": false }],
  "active_python": { "version": "3.11.9", "path": "/usr/bin/python3.11", "is_venv": false }
}

Platform support

Platform Status
Linux (Ubuntu, Debian, Fedora, Arch) ✅ Full support
Windows 10/11 ✅ Full support
WSL2 ✅ Full support
macOS ❌ Out of scope (no CUDA)

Troubleshooting

For common CLI, API, and environment issues, see:

../TROUBLESHOOTING.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

envforge_agent-1.0.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envforge_agent-1.0.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file envforge_agent-1.0.1.tar.gz.

File metadata

  • Download URL: envforge_agent-1.0.1.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for envforge_agent-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1ca5f0a611607c66099daad03bcc123df66d46abdd098a71fb67637f5e72c968
MD5 826f4eae750d2b8b7665dfb33440c664
BLAKE2b-256 29b6631de405a313a11750ed4d852e70c704c75f280fc4f20acdb9f5020e981e

See more details on using hashes here.

Provenance

The following attestation bundles were made for envforge_agent-1.0.1.tar.gz:

Publisher: release.yml on rishabh0510rishabh/EnvForage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file envforge_agent-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: envforge_agent-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for envforge_agent-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb50ba944cd0db1c02bfb4245cfc0c7ebc1e0db33b62e6636be0b48eb7062174
MD5 3dfa665ad50ff74b65ee9e00ec9d1dad
BLAKE2b-256 687a30019bf9b66ff50f4ade5f38892e8edf54a508cb98b4438ec03aaec35905

See more details on using hashes here.

Provenance

The following attestation bundles were made for envforge_agent-1.0.1-py3-none-any.whl:

Publisher: release.yml on rishabh0510rishabh/EnvForage

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page