VMware AIops
AI-powered VMware vCenter and ESXi operations tool. Manage your entire VMware infrastructure using natural language through any AI coding assistant.
Need read-only monitoring only? Use VMware-Monitor — an independent repository with code-level safety (zero destructive code in the codebase). Install: clawhub install vmware-monitor
When to Use This Skill
- Query VM, host, datastore, cluster, and network inventory
- Check health status, active alarms, hardware sensors, and event logs
- Perform VM lifecycle operations: power on/off, create, delete, snapshot, clone, migrate
- Monitor vSAN health, capacity, disk groups, and performance
- Access Aria Operations (VCF Operations) for historical metrics, anomaly detection, and capacity planning
- Manage vSphere Kubernetes Service (VKS) clusters
- Run scheduled scanning with webhook notifications (Slack, Discord)
Quick Install
Works with Claude Code, Cursor, Codex, Gemini CLI, Trae, Kimi, and 30+ AI agents:
# Via ClawHub (recommended)
clawhub install vmware-aiops
# Via Skills.sh
npx skills add zw008/VMware-AIops
Claude Code
/plugin marketplace add zw008/VMware-AIops
/plugin install vmware-ops
/vmware-ops:vmware-aiops
Usage Mode: MCP First, CLI Fallback
Default: MCP mode — vmware-aiops runs as an MCP Server registered in the AI tool. All queries and operations go through MCP tool calls directly, no manual CLI needed.
Fallback: CLI mode — only when MCP connection fails (server crash, config error, etc.), switch to CLI commands via vmware-aiops in the terminal.
MCP Tools (9 tools)
| MCP Tool |
Type |
Description |
Equivalent CLI |
list_virtual_machines |
Read |
List all VMs |
vmware-aiops inventory vms |
list_esxi_hosts |
Read |
List ESXi hosts |
vmware-aiops inventory hosts |
list_all_datastores |
Read |
List datastores |
vmware-aiops inventory datastores |
list_all_clusters |
Read |
List clusters |
vmware-aiops inventory clusters |
get_alarms |
Read |
Active alarms |
vmware-aiops health alarms |
get_events |
Read |
Recent events |
vmware-aiops health events |
vm_info |
Read |
VM details |
vmware-aiops vm info <name> |
vm_power_on |
Write |
Power on VM |
vmware-aiops vm power-on <name> |
vm_power_off |
Write |
Power off VM |
vmware-aiops vm power-off <name> |
All tools accept optional target parameter (e.g., "home-esxi", "prod-vcenter").
MCP Setup (Claude Code)
Add to ~/.claude/settings.json:
{
"mcpServers": {
"vmware-aiops": {
"command": "/path/to/VMware-AIops/.venv/bin/python",
"args": ["-m", "mcp_server"],
"cwd": "/path/to/VMware-AIops",
"env": {
"VMWARE_AIOPS_CONFIG": "~/.vmware-aiops/config.yaml"
}
}
}
}
When to Fall Back to CLI
- MCP server fails to start or crashes mid-session
- Need operations not yet exposed via MCP (create, delete, snapshot, clone, migrate, vSAN, Aria, VKS)
- Need daemon/scan features (
scan now, daemon start)
- Debugging connection issues (CLI gives more verbose output)
# Activate venv and run CLI
source /path/to/VMware-AIops/.venv/bin/activate
vmware-aiops inventory vms --target home-esxi
Architecture
User (Natural Language)
↓
AI CLI Tool (Claude Code / Gemini / Codex / Aider / Continue / Trae / Kimi)
↓
├─ MCP mode (default): MCP Server (stdio) ──→ pyVmomi ──→ vSphere API
│
└─ CLI fallback: vmware-aiops CLI ──→ pyVmomi ──→ vSphere API
↓
vCenter Server ──→ ESXi Clusters ──→ VMs
or
ESXi Standalone ──→ VMs
Capabilities
1. Inventory
| Feature |
vCenter |
ESXi |
Details |
| List VMs |
✅ |
✅ |
Name, power state, CPU, memory, guest OS, IP |
| List Hosts |
✅ |
⚠️ Self only |
CPU cores, memory, ESXi version, VM count, uptime |
| List Datastores |
✅ |
✅ |
Capacity, free/used, type (VMFS/NFS), usage % |
| List Clusters |
✅ |
❌ |
Host count, DRS/HA status |
| List Networks |
✅ |
✅ |
Network name, associated VM count |
2. Health & Monitoring
| Feature |
vCenter |
ESXi |
Details |
| Active Alarms |
✅ |
✅ |
Severity, alarm name, entity, timestamp |
| Event/Log Query |
✅ |
✅ |
Filter by time range, severity; 50+ event types |
| Hardware Sensors |
✅ |
✅ |
Temperature, voltage, fan status |
| Host Services |
✅ |
✅ |
hostd, vpxa running/stopped status |
Monitored Event Types:
| Category |
Events |
| VM Failures |
VmFailedToPowerOnEvent, VmDiskFailedEvent, VmFailoverFailed |
| Host Issues |
HostConnectionLostEvent, HostShutdownEvent, HostIpChangedEvent |
| Storage |
DatastoreCapacityIncreasedEvent, SCSI high latency |
| HA/DRS |
DasHostFailedEvent, DrsVmMigratedEvent, DrsSoftRuleViolationEvent |
| Auth |
UserLoginSessionEvent, BadUsernameSessionEvent |
3. VM Lifecycle
| Operation |
Command |
Confirmation |
vCenter |
ESXi |
| Power On |
vm power-on <name> |
— |
✅ |
✅ |
| Graceful Shutdown |
vm power-off <name> |
Double |
✅ |
✅ |
| Force Power Off |
vm power-off <name> --force |
Double |
✅ |
✅ |
| Reset |
vm reset <name> |
— |
✅ |
✅ |
| Suspend |
vm suspend <name> |
— |
✅ |
✅ |
| VM Info |
vm info <name> |
— |
✅ |
✅ |
| Create VM |
vm create <name> --cpu --memory --disk |
— |
✅ |
✅ |
| Delete VM |
vm delete <name> |
Double |
✅ |
✅ |
| Reconfigure |
vm reconfigure <name> --cpu --memory |
Double |
✅ |
✅ |
| Create Snapshot |
vm snapshot-create <name> --name <snap> |
— |
✅ |
✅ |
| List Snapshots |
vm snapshot-list <name> |
— |
✅ |
✅ |
| Revert Snapshot |
vm snapshot-revert <name> --name <snap> |
— |
✅ |
✅ |
| Delete Snapshot |
vm snapshot-delete <name> --name <snap> |
— |
✅ |
✅ |
| Clone VM |
vm clone <name> --new-name <new> |
— |
✅ |
✅ |
| vMotion |
vm migrate <name> --to-host <host> |
— |
✅ |
❌ |
4. vSAN Management
| Feature |
Details |
| Health Check |
Cluster-wide health summary, per-group test results |
| Capacity |
Total/free/used capacity with projections |
| Disk Groups |
Cache SSD + capacity disks per host |
| Performance |
IOPS, latency, throughput per cluster/host/VM |
Requires pyVmomi 8.0.3+ (vSAN SDK merged). For older versions, install the standalone vSAN Management SDK.
5. Aria Operations (VCF Operations)
| Feature |
Details |
| Historical Metrics |
Time-series CPU, memory, disk, network with months of history |
| Anomaly Detection |
ML-based dynamic baselines and anomaly alerts |
| Capacity Planning |
What-if analysis, time-to-exhaustion, forecasting |
| Right-sizing |
CPU/memory recommendations per VM |
| Intelligent Alerts |
Root cause analysis, remediation recommendations |
REST API at /suite-api/. Auth: vRealizeOpsToken. Rebranded as VCF Operations in VCF 9.0.
6. vSphere Kubernetes Service (VKS)
| Feature |
Details |
| List Clusters |
Tanzu Kubernetes clusters with phase status |
| Cluster Health |
InfrastructureReady, ControlPlaneAvailable, WorkersAvailable |
| Scale Workers |
Adjust MachineDeployment replicas |
| Node Status |
Machine status, ready/unhealthy counts |
Kubernetes-native API via kubectl/kubeconfig. VKS 3.6+ uses Cluster API specification.
7. Scheduled Scanning & Notifications
| Feature |
Details |
| Daemon |
APScheduler-based, configurable interval (default 15 min) |
| Multi-target Scan |
Sequentially scan all configured vCenter/ESXi targets |
| Scan Content |
Alarms + Events + Host logs (hostd, vmkernel, vpxd) |
| Log Analysis |
Regex pattern matching: error, fail, critical, panic, timeout |
| Webhook |
Slack, Discord, or any HTTP endpoint |
Safety Features
| Feature |
Details |
| Plan → Confirm → Execute → Log |
Structured workflow: show current state, confirm changes, execute, audit log |
| Double Confirmation |
All destructive ops (power-off, delete, reconfigure, snapshot-revert/delete, clone, migrate) require 2 sequential confirmations — no bypass flags |
| Rejection Logging |
Declined confirmations are recorded in the audit trail for security review |
| Audit Trail |
All operations logged to ~/.vmware-aiops/audit.log (JSONL) with before/after state |
| Input Validation |
VM name length/format, CPU (1-128), memory (128-1048576 MB), disk (1-65536 GB) validated before execution |
| Password Protection |
.env file loading, never in command line or shell history; file permission check at startup |
| SSL Self-signed Support |
disableSslCertValidation for ESXi 8.0 self-signed certs |
| Task Waiting |
All async operations wait for completion and report result |
| State Validation |
Pre-operation checks (VM exists, power state correct) |
Version Compatibility
| vSphere Version |
Support |
Notes |
| 8.0 / 8.0U1-U3 |
✅ Full |
CreateSnapshot_Task deprecated → use CreateSnapshotEx_Task |
| 7.0 / 7.0U1-U3 |
✅ Full |
All APIs supported |
| 6.7 |
✅ Compatible |
Backward-compatible, tested |
| 6.5 |
✅ Compatible |
Backward-compatible, tested |
pyVmomi auto-negotiates the API version during SOAP handshake — no manual configuration needed.
Supported AI Platforms
| Platform |
Status |
Config File |
| Claude Code |
✅ Native Skill |
plugins/.../SKILL.md |
| Gemini CLI |
✅ Extension |
gemini-extension/GEMINI.md |
| OpenAI Codex CLI |
✅ Skill + AGENTS.md |
codex-skill/AGENTS.md |
| Aider |
✅ Conventions |
codex-skill/AGENTS.md |
| Continue CLI |
✅ Rules |
codex-skill/AGENTS.md |
| Trae IDE |
✅ Rules |
trae-rules/project_rules.md |
| Kimi Code CLI |
✅ Skill |
kimi-skill/SKILL.md |
| MCP Server |
✅ MCP Protocol |
mcp_server/ |
| Python CLI |
✅ Standalone |
N/A |
CLI Reference
# Inventory
vmware-aiops inventory vms [--target <name>]
vmware-aiops inventory hosts [--target <name>]
vmware-aiops inventory datastores [--target <name>]
vmware-aiops inventory clusters [--target <name>]
# Health
vmware-aiops health alarms [--target <name>]
vmware-aiops health events [--hours 24] [--severity warning]
# VM Operations
vmware-aiops vm info <vm-name>
vmware-aiops vm power-on <vm-name>
vmware-aiops vm power-off <vm-name> [--force]
vmware-aiops vm create <name> [--cpu <n>] [--memory <mb>] [--disk <gb>]
vmware-aiops vm delete <vm-name> [--confirm]
vmware-aiops vm reconfigure <vm-name> [--cpu <n>] [--memory <mb>]
vmware-aiops vm snapshot-create <vm-name> --name <snap-name>
vmware-aiops vm snapshot-list <vm-name>
vmware-aiops vm snapshot-revert <vm-name> --name <snap-name>
vmware-aiops vm snapshot-delete <vm-name> --name <snap-name>
vmware-aiops vm clone <vm-name> --new-name <name>
vmware-aiops vm migrate <vm-name> --to-host <host>
# vSAN
vmware-aiops vsan health [--target <name>]
vmware-aiops vsan capacity [--target <name>]
vmware-aiops vsan disks [--target <name>]
vmware-aiops vsan performance [--hours 1]
# Aria Operations
vmware-aiops ops alerts [--severity critical]
vmware-aiops ops metrics <resource-name> [--hours 24]
vmware-aiops ops recommendations [--target <name>]
vmware-aiops ops capacity <cluster-name>
# VKS (Kubernetes)
vmware-aiops vks clusters [--namespace default]
vmware-aiops vks health <cluster-name>
vmware-aiops vks scale <machine-deployment> --replicas <n>
vmware-aiops vks nodes <cluster-name>
# Scanning & Daemon
vmware-aiops scan now [--target <name>]
vmware-aiops daemon start
vmware-aiops daemon stop
vmware-aiops daemon status
Setup
# 1. Install via uv (recommended) or pip
uv tool install vmware-aiops
# Or: pip install vmware-aiops
# 2. Configure
mkdir -p ~/.vmware-aiops
vmware-aiops init # generates config.yaml and .env templates
chmod 600 ~/.vmware-aiops/.env
# Edit ~/.vmware-aiops/config.yaml and .env with your target details
Development Install
git clone https://github.com/zw008/VMware-AIops.git
cd VMware-AIops
uv venv && source .venv/bin/activate
uv pip install -e .
License
MIT
1---
2name: vmware-aiops
3description: >
4 AI-powered VMware vCenter/ESXi monitoring and operations.
5 Manage infrastructure via natural language: inventory queries, health monitoring,
6 VM lifecycle (create, delete, power, snapshot, clone, migrate), vSAN management,
7 Aria Operations analytics, Kubernetes clusters, and scheduled log scanning.
8installer:
9 kind: uv
10 package: vmware-aiops
11metadata:
12 source: https://skillmd.com/skills/modbender/vmware-aiops
13---
14
15# VMware AIops
16
17AI-powered VMware vCenter and ESXi operations tool. Manage your entire VMware infrastructure using natural language through any AI coding assistant.
18
19> **Need read-only monitoring only?** Use [VMware-Monitor](https://github.com/zw008/VMware-Monitor) — an independent repository with code-level safety (zero destructive code in the codebase). Install: `clawhub install vmware-monitor`
20
21## When to Use This Skill
22
23- Query VM, host, datastore, cluster, and network inventory
24- Check health status, active alarms, hardware sensors, and event logs
25- Perform VM lifecycle operations: power on/off, create, delete, snapshot, clone, migrate
26- Monitor vSAN health, capacity, disk groups, and performance
27- Access Aria Operations (VCF Operations) for historical metrics, anomaly detection, and capacity planning
28- Manage vSphere Kubernetes Service (VKS) clusters
29- Run scheduled scanning with webhook notifications (Slack, Discord)
30
31## Quick Install
32
33Works with Claude Code, Cursor, Codex, Gemini CLI, Trae, Kimi, and 30+ AI agents:
34
35```bash
36# Via ClawHub (recommended)
37clawhub install vmware-aiops
38
39# Via Skills.sh
40npx skills add zw008/VMware-AIops
41```
42
43### Claude Code
44
45```
46/plugin marketplace add zw008/VMware-AIops
47/plugin install vmware-ops
48/vmware-ops:vmware-aiops
49```
50
51## Usage Mode: MCP First, CLI Fallback
52
53**Default: MCP mode** — vmware-aiops runs as an MCP Server registered in the AI tool. All queries and operations go through MCP tool calls directly, no manual CLI needed.
54
55**Fallback: CLI mode** — only when MCP connection fails (server crash, config error, etc.), switch to CLI commands via `vmware-aiops` in the terminal.
56
57### MCP Tools (9 tools)
58
59| MCP Tool | Type | Description | Equivalent CLI |
60|----------|------|-------------|----------------|
61| `list_virtual_machines` | Read | List all VMs | `vmware-aiops inventory vms` |
62| `list_esxi_hosts` | Read | List ESXi hosts | `vmware-aiops inventory hosts` |
63| `list_all_datastores` | Read | List datastores | `vmware-aiops inventory datastores` |
64| `list_all_clusters` | Read | List clusters | `vmware-aiops inventory clusters` |
65| `get_alarms` | Read | Active alarms | `vmware-aiops health alarms` |
66| `get_events` | Read | Recent events | `vmware-aiops health events` |
67| `vm_info` | Read | VM details | `vmware-aiops vm info <name>` |
68| `vm_power_on` | **Write** | Power on VM | `vmware-aiops vm power-on <name>` |
69| `vm_power_off` | **Write** | Power off VM | `vmware-aiops vm power-off <name>` |
70
71All tools accept optional `target` parameter (e.g., `"home-esxi"`, `"prod-vcenter"`).
72
73### MCP Setup (Claude Code)
74
75Add to `~/.claude/settings.json`:
76
77```json
78{
79 "mcpServers": {
80 "vmware-aiops": {
81 "command": "/path/to/VMware-AIops/.venv/bin/python",
82 "args": ["-m", "mcp_server"],
83 "cwd": "/path/to/VMware-AIops",
84 "env": {
85 "VMWARE_AIOPS_CONFIG": "~/.vmware-aiops/config.yaml"
86 }
87 }
88 }
89}
90```
91
92### When to Fall Back to CLI
93
94- MCP server fails to start or crashes mid-session
95- Need operations not yet exposed via MCP (create, delete, snapshot, clone, migrate, vSAN, Aria, VKS)
96- Need daemon/scan features (`scan now`, `daemon start`)
97- Debugging connection issues (CLI gives more verbose output)
98
99```bash
100# Activate venv and run CLI
101source /path/to/VMware-AIops/.venv/bin/activate
102vmware-aiops inventory vms --target home-esxi
103```
104
105## Architecture
106
107```
108User (Natural Language)
109 ↓
110AI CLI Tool (Claude Code / Gemini / Codex / Aider / Continue / Trae / Kimi)
111 ↓
112 ├─ MCP mode (default): MCP Server (stdio) ──→ pyVmomi ──→ vSphere API
113 │
114 └─ CLI fallback: vmware-aiops CLI ──→ pyVmomi ──→ vSphere API
115 ↓
116vCenter Server ──→ ESXi Clusters ──→ VMs
117 or
118ESXi Standalone ──→ VMs
119```
120
121## Capabilities
122
123### 1. Inventory
124
125| Feature | vCenter | ESXi | Details |
126|---------|:-------:|:----:|---------|
127| List VMs | ✅ | ✅ | Name, power state, CPU, memory, guest OS, IP |
128| List Hosts | ✅ | ⚠️ Self only | CPU cores, memory, ESXi version, VM count, uptime |
129| List Datastores | ✅ | ✅ | Capacity, free/used, type (VMFS/NFS), usage % |
130| List Clusters | ✅ | ❌ | Host count, DRS/HA status |
131| List Networks | ✅ | ✅ | Network name, associated VM count |
132
133### 2. Health & Monitoring
134
135| Feature | vCenter | ESXi | Details |
136|---------|:-------:|:----:|---------|
137| Active Alarms | ✅ | ✅ | Severity, alarm name, entity, timestamp |
138| Event/Log Query | ✅ | ✅ | Filter by time range, severity; 50+ event types |
139| Hardware Sensors | ✅ | ✅ | Temperature, voltage, fan status |
140| Host Services | ✅ | ✅ | hostd, vpxa running/stopped status |
141
142**Monitored Event Types:**
143
144| Category | Events |
145|----------|--------|
146| VM Failures | `VmFailedToPowerOnEvent`, `VmDiskFailedEvent`, `VmFailoverFailed` |
147| Host Issues | `HostConnectionLostEvent`, `HostShutdownEvent`, `HostIpChangedEvent` |
148| Storage | `DatastoreCapacityIncreasedEvent`, SCSI high latency |
149| HA/DRS | `DasHostFailedEvent`, `DrsVmMigratedEvent`, `DrsSoftRuleViolationEvent` |
150| Auth | `UserLoginSessionEvent`, `BadUsernameSessionEvent` |
151
152### 3. VM Lifecycle
153
154| Operation | Command | Confirmation | vCenter | ESXi |
155|-----------|---------|:------------:|:-------:|:----:|
156| Power On | `vm power-on <name>` | — | ✅ | ✅ |
157| Graceful Shutdown | `vm power-off <name>` | Double | ✅ | ✅ |
158| Force Power Off | `vm power-off <name> --force` | Double | ✅ | ✅ |
159| Reset | `vm reset <name>` | — | ✅ | ✅ |
160| Suspend | `vm suspend <name>` | — | ✅ | ✅ |
161| VM Info | `vm info <name>` | — | ✅ | ✅ |
162| Create VM | `vm create <name> --cpu --memory --disk` | — | ✅ | ✅ |
163| Delete VM | `vm delete <name>` | Double | ✅ | ✅ |
164| Reconfigure | `vm reconfigure <name> --cpu --memory` | Double | ✅ | ✅ |
165| Create Snapshot | `vm snapshot-create <name> --name <snap>` | — | ✅ | ✅ |
166| List Snapshots | `vm snapshot-list <name>` | — | ✅ | ✅ |
167| Revert Snapshot | `vm snapshot-revert <name> --name <snap>` | — | ✅ | ✅ |
168| Delete Snapshot | `vm snapshot-delete <name> --name <snap>` | — | ✅ | ✅ |
169| Clone VM | `vm clone <name> --new-name <new>` | — | ✅ | ✅ |
170| vMotion | `vm migrate <name> --to-host <host>` | — | ✅ | ❌ |
171
172### 4. vSAN Management
173
174| Feature | Details |
175|---------|---------|
176| Health Check | Cluster-wide health summary, per-group test results |
177| Capacity | Total/free/used capacity with projections |
178| Disk Groups | Cache SSD + capacity disks per host |
179| Performance | IOPS, latency, throughput per cluster/host/VM |
180
181> Requires pyVmomi 8.0.3+ (vSAN SDK merged). For older versions, install the standalone vSAN Management SDK.
182
183### 5. Aria Operations (VCF Operations)
184
185| Feature | Details |
186|---------|---------|
187| Historical Metrics | Time-series CPU, memory, disk, network with months of history |
188| Anomaly Detection | ML-based dynamic baselines and anomaly alerts |
189| Capacity Planning | What-if analysis, time-to-exhaustion, forecasting |
190| Right-sizing | CPU/memory recommendations per VM |
191| Intelligent Alerts | Root cause analysis, remediation recommendations |
192
193> REST API at `/suite-api/`. Auth: `vRealizeOpsToken`. Rebranded as VCF Operations in VCF 9.0.
194
195### 6. vSphere Kubernetes Service (VKS)
196
197| Feature | Details |
198|---------|---------|
199| List Clusters | Tanzu Kubernetes clusters with phase status |
200| Cluster Health | InfrastructureReady, ControlPlaneAvailable, WorkersAvailable |
201| Scale Workers | Adjust MachineDeployment replicas |
202| Node Status | Machine status, ready/unhealthy counts |
203
204> Kubernetes-native API via kubectl/kubeconfig. VKS 3.6+ uses Cluster API specification.
205
206### 7. Scheduled Scanning & Notifications
207
208| Feature | Details |
209|---------|---------|
210| Daemon | APScheduler-based, configurable interval (default 15 min) |
211| Multi-target Scan | Sequentially scan all configured vCenter/ESXi targets |
212| Scan Content | Alarms + Events + Host logs (hostd, vmkernel, vpxd) |
213| Log Analysis | Regex pattern matching: error, fail, critical, panic, timeout |
214| Webhook | Slack, Discord, or any HTTP endpoint |
215
216## Safety Features
217
218| Feature | Details |
219|---------|---------|
220| Plan → Confirm → Execute → Log | Structured workflow: show current state, confirm changes, execute, audit log |
221| Double Confirmation | All destructive ops (power-off, delete, reconfigure, snapshot-revert/delete, clone, migrate) require 2 sequential confirmations — no bypass flags |
222| Rejection Logging | Declined confirmations are recorded in the audit trail for security review |
223| Audit Trail | All operations logged to `~/.vmware-aiops/audit.log` (JSONL) with before/after state |
224| Input Validation | VM name length/format, CPU (1-128), memory (128-1048576 MB), disk (1-65536 GB) validated before execution |
225| Password Protection | `.env` file loading, never in command line or shell history; file permission check at startup |
226| SSL Self-signed Support | `disableSslCertValidation` for ESXi 8.0 self-signed certs |
227| Task Waiting | All async operations wait for completion and report result |
228| State Validation | Pre-operation checks (VM exists, power state correct) |
229
230## Version Compatibility
231
232| vSphere Version | Support | Notes |
233|----------------|---------|-------|
234| 8.0 / 8.0U1-U3 | ✅ Full | `CreateSnapshot_Task` deprecated → use `CreateSnapshotEx_Task` |
235| 7.0 / 7.0U1-U3 | ✅ Full | All APIs supported |
236| 6.7 | ✅ Compatible | Backward-compatible, tested |
237| 6.5 | ✅ Compatible | Backward-compatible, tested |
238
239> pyVmomi auto-negotiates the API version during SOAP handshake — no manual configuration needed.
240
241## Supported AI Platforms
242
243| Platform | Status | Config File |
244|----------|--------|-------------|
245| Claude Code | ✅ Native Skill | `plugins/.../SKILL.md` |
246| Gemini CLI | ✅ Extension | `gemini-extension/GEMINI.md` |
247| OpenAI Codex CLI | ✅ Skill + AGENTS.md | `codex-skill/AGENTS.md` |
248| Aider | ✅ Conventions | `codex-skill/AGENTS.md` |
249| Continue CLI | ✅ Rules | `codex-skill/AGENTS.md` |
250| Trae IDE | ✅ Rules | `trae-rules/project_rules.md` |
251| Kimi Code CLI | ✅ Skill | `kimi-skill/SKILL.md` |
252| MCP Server | ✅ MCP Protocol | `mcp_server/` |
253| Python CLI | ✅ Standalone | N/A |
254
255## CLI Reference
256
257```bash
258# Inventory
259vmware-aiops inventory vms [--target <name>]
260vmware-aiops inventory hosts [--target <name>]
261vmware-aiops inventory datastores [--target <name>]
262vmware-aiops inventory clusters [--target <name>]
263
264# Health
265vmware-aiops health alarms [--target <name>]
266vmware-aiops health events [--hours 24] [--severity warning]
267
268# VM Operations
269vmware-aiops vm info <vm-name>
270vmware-aiops vm power-on <vm-name>
271vmware-aiops vm power-off <vm-name> [--force]
272vmware-aiops vm create <name> [--cpu <n>] [--memory <mb>] [--disk <gb>]
273vmware-aiops vm delete <vm-name> [--confirm]
274vmware-aiops vm reconfigure <vm-name> [--cpu <n>] [--memory <mb>]
275vmware-aiops vm snapshot-create <vm-name> --name <snap-name>
276vmware-aiops vm snapshot-list <vm-name>
277vmware-aiops vm snapshot-revert <vm-name> --name <snap-name>
278vmware-aiops vm snapshot-delete <vm-name> --name <snap-name>
279vmware-aiops vm clone <vm-name> --new-name <name>
280vmware-aiops vm migrate <vm-name> --to-host <host>
281
282# vSAN
283vmware-aiops vsan health [--target <name>]
284vmware-aiops vsan capacity [--target <name>]
285vmware-aiops vsan disks [--target <name>]
286vmware-aiops vsan performance [--hours 1]
287
288# Aria Operations
289vmware-aiops ops alerts [--severity critical]
290vmware-aiops ops metrics <resource-name> [--hours 24]
291vmware-aiops ops recommendations [--target <name>]
292vmware-aiops ops capacity <cluster-name>
293
294# VKS (Kubernetes)
295vmware-aiops vks clusters [--namespace default]
296vmware-aiops vks health <cluster-name>
297vmware-aiops vks scale <machine-deployment> --replicas <n>
298vmware-aiops vks nodes <cluster-name>
299
300# Scanning & Daemon
301vmware-aiops scan now [--target <name>]
302vmware-aiops daemon start
303vmware-aiops daemon stop
304vmware-aiops daemon status
305```
306
307## Setup
308
309```bash
310# 1. Install via uv (recommended) or pip
311uv tool install vmware-aiops
312# Or: pip install vmware-aiops
313
314# 2. Configure
315mkdir -p ~/.vmware-aiops
316vmware-aiops init # generates config.yaml and .env templates
317chmod 600 ~/.vmware-aiops/.env
318# Edit ~/.vmware-aiops/config.yaml and .env with your target details
319```
320
321### Development Install
322
323```bash
324git clone https://github.com/zw008/VMware-AIops.git
325cd VMware-AIops
326uv venv && source .venv/bin/activate
327uv pip install -e .
328```
329
330## License
331
332MIT