Ceph-AIops is a governed AI operations tool for Ceph storage clusters, released as open source under the MIT license. It connects to the standard ceph-mgr Dashboard REST API (HTTPS :8443, exchanging username and password for a short-lived JWT via POST /api/auth), and is suitable for deployments such as cephadm, Ceph built into virtualization platforms, or MicroCeph, without depending on croit or Kubernetes.
Main capabilities
The core analysis capability is cluster_health: root cause analysis for HEALTH_WARN/ERR states. Rather than merely echoing raw check codes such as PG_DEGRADED, OSD_NEARFULL, SLOW_OPS, MON_DOWN, and LARGE_OMAP_OBJECTS, it translates each active check into plain language, explaining what it means, possible causes, and suggested next steps.
Tools cover objects such as OSD, PG, pool, RBD, CephFS, and RGW. The MCP server provides 37 tools in total: 17 read, 18 write, and 2 undo. The command-line tool is a convenience subset, including commands such as init, overview, health detail/health status, osd tree/df/reweight/out/purge, secret set/list/rm/migrate/rotate-password, doctor, and mcp.
Governance mechanisms
Every call (whether via MCP or CLI) is written to the ~/.ceph-aiops/audit.db audit database, recording parameters, result summary, status, duration, risk level, and the approver/reason provided by the operator. The audit database location can be adjusted via CEPH_AIOPS_HOME. Reversible writes capture the pre-change state and record a reverse undo descriptor, for example osd_reweight records the original weight, set_pool_quota records the original quota, and throttle_recovery records the original backfill/recovery settings. Destructive operations (osd_purge, osd_mark_out, pool_delete, set_pool_size, rbd_image_delete, rbd_snapshot_delete) is high-risk and requires both a dry-run and CLI double confirmation. Each tool declares a risk_level, and tests keep it consistent with the [READ]/[WRITE] labels in the documentation; the risk level is written into the audit line as a descriptive label, but it is only a label, not a gate.
There is also a runaway protection: repeated triggering of the same call in a tight loop trips a circuit breaker to prevent a stuck agent from consuming unlimited calls and time; this can be disabled with CEPH_RUNAWAY_MAX=0, or hard limits can be set with CEPH_MAX_TOOL_CALLS / CEPH_MAX_TOOL_SECONDS.
Credentials and installation
The Dashboard password is stored in encrypted storage at ~/.ceph-aiops/secrets.enc (Fernet + scrypt) and is never written to disk in plaintext. The master password for unlocking can come from the CEPH_AIOPS_MASTER_PASSWORD environment variable (MCP/CI) or an interactive prompt (CLI).
It can be installed as a Claude Code plugin, with a single installation providing both skills and the MCP server; it can also be installed as an OpenClaw plugin from ClawHub, and the OpenClaw gateway must be restarted after installation. The MCP server is fetched via uv and pinned to the package version declared by the plugin, so uvx must be in PATH. It can also be run directly as a CLI or as a standalone MCP server (stdio). Credentials are configured via ceph-aiops init.
Permissions and limitations
The tools themselves do not decide whether writes are allowed; this is determined by the agent's judgment or the permissions of the connected account: if connected to a ceph-mgr Dashboard account with a read-only role, writes will fail at the mgr layer. Therefore there is no read-only switch, policy file, or approval gate that can be configured; the only guarantee the tools provide is that there are no silent operations.
The Ceph Dashboard API has no ETag and no pagination, so this tool does not provide these either. Regarding validation status, the test suite uses simulated Dashboard responses for validation; multi-node rebalancing and write operations have not yet been run on a real cluster. The cheapest real-machine check is a single-node MicroCeph (snap install microceph → bootstrap → loop-file OSD) running ceph-aiops doctor; a three-node Vagrant cluster can validate real rebalancing behavior. Features such as RGW multi-site, per-daemon configuration management, NFS-Ganesha exports, and orchestrator (cephadm) host management are not yet available.