rusty-fez 0.1.0

Agent-native management CLI for Fedora/RHEL (drives cockpit-bridge)
Documentation

fez

An agent-native management CLI for Fedora/RHEL. fez gives LLM-driven agents a uniform, structured, discoverable way to operate a host (and, over SSH, a fleet) by reusing Cockpit's existing system plumbing instead of scraping dozens of human-oriented CLIs.

fez drives cockpit-bridge over its framed JSON protocol: it spawns the bridge, opens channels (dbus-json3, stream, privileged superuser), and delegates privilege escalation to the bridge. Remote hosts are reached by shelling out to the system OpenSSH client.

Install

sudo dnf install fez

Requires cockpit-bridge (the substrate) and openssh-clients (remote transport); both are pulled in automatically.

Usage

# Discover capabilities on demand (the git model: nothing preloaded).
fez capabilities
fez describe services.status --json

# Read-only (no elevation).
fez services list --state failed
fez services status sshd.service --json
fez services logs sshd.service --lines 100 --json

# Mutations (privileged, guarded by the safety layer).
fez services restart chronyd.service --dry-run
fez services restart chronyd.service

# Target a remote host (ssh_config aliases work).
fez --host web1 services status nginx.service --json

# Run as an MCP server (JSON-RPC 2.0 over stdio) for MCP-aware agents.
fez mcp

Every command supports --json (the fez/v1 envelope), --host (localhost by default), and layered --help.

License

Apache-2.0